javax.swing.plaf.basic
protected class BasicToolBarUI.DragWindow extends Window
Method Summary | |
---|---|
Color | getBorderColor()
The color that the border should be.
|
Insets | getInsets()
This method returns the insets for the DragWindow.
|
Point | getOffset()
This method returns the mouse offset from the top left corner of the
DragWindow.
|
void | paint(Graphics g)
This method paints the DragWindow.
|
void | setBorderColor(Color c)
This method changes the border color.
|
void | setOffset(Point p)
This method changes the mouse offset.
|
void | setOrientation(int o)
Sets the orientation of the toolbar and the
drag window.
|
Returns: The border color.
Returns: The insets for the DragWindow.
Returns: The mouse offset.
Parameters: g The Graphics object to paint with.
Parameters: c The new border color.
Parameters: p The new mouse offset.
Parameters: o - the new orientation of the toolbar and drag window.