|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
java.awt.Window
javax.swing.plaf.basic.BasicToolBarUI.DragWindow
protected class BasicToolBarUI.DragWindow
This is the window that appears when the JToolBar is being dragged around.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.awt.Window |
|---|
Window.AccessibleAWTWindow |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Color getBorderColor()
public Insets getInsets()
getInsets in class Containerpublic Point getOffset()
public void paint(Graphics g)
paint in class Containerg - The Graphics object to paint with.Component.update(Graphics)public void setBorderColor(Color c)
c - The new border color.public void setOffset(Point p)
p - The new mouse offset.public void setOrientation(int o)
o - - the new orientation of the toolbar and drag
window.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||