protected class

BasicToolBarUI.DragWindow

extends Window
java.lang.Object
   ↳ java.awt.Component
     ↳ java.awt.Container
       ↳ java.awt.Window
         ↳ javax.swing.plaf.basic.BasicToolBarUI.DragWindow

Summary

[Expand]
Inherited Constants
From class java.awt.Component
From interface java.awt.image.ImageObserver
Public Methods
Color getBorderColor()
Insets getInsets()
Determines the insets of this container, which indicate the size of the container's border.
Point getOffset()
int getOrientation()
Returns the orientation of the toolbar window when the toolbar is floating.
void paint(Graphics g)
Paints the container.
void setBorderColor(Color c)
void setOffset(Point p)
void setOrientation(int o)
[Expand]
Inherited Methods
From class java.awt.Window
From class java.awt.Container
From class java.awt.Component
From class java.lang.Object
From interface java.awt.MenuContainer
From interface java.awt.image.ImageObserver
From interface javax.accessibility.Accessible

Public Methods

public Color getBorderColor ()

public Insets getInsets ()

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.

Returns
  • the insets of this container.

public Point getOffset ()

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.

Returns
  • the orientation of the toolbar window

public void paint (Graphics g)

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.

Parameters
g the specified Graphics window

public void setBorderColor (Color c)

public void setOffset (Point p)

public void setOrientation (int o)