protected class BasicToolBarUI.DragWindow extends Window
Window.AccessibleAWTWindow, Window.Type
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
public int getOrientation()
Returns the orientation of the toolbar window when the toolbar is floating. The orientation is either one of JToolBar.HORIZONTAL
or JToolBar.VERTICAL
.
public void setOrientation(int o)
public Point getOffset()
public void setOffset(Point p)
public void setBorderColor(Color c)
public Color getBorderColor()
public void paint(Graphics g)
Description copied from class: Window
Paints the container. This forwards the paint to any lightweight components that are children of this container. If this method is reimplemented, super.paint(g) should be called so that lightweight components are properly rendered. If a child component is entirely clipped by the current clipping setting in g, paint() will not be forwarded to that child.
paint
in class Window
g
- the specified Graphics windowComponent.update(Graphics)
public Insets getInsets()
Description copied from class: Container
Determines the insets of this container, which indicate the size of the container's border.
A Frame
object, for example, has a top inset that corresponds to the height of the frame's title bar.
getInsets
in class Container
Insets
, LayoutManager
© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.