Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component java.awt.Container java.awt.Window javax.swing.plaf.basic.BasicToolBarUI.DragWindow
protected class BasicToolBarUI.DragWindow extends Window
Modifier and Type | Class and Description |
---|
Nested classes/interfaces inherited from class java.awt.Window |
---|
Window.AccessibleAWTWindow, Window.Type |
Nested classes/interfaces inherited from class java.awt.Container |
---|
Container.AccessibleAWTContainer |
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Modifier and Type | Field and Description |
---|
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 |
Modifier and Type | Method and Description |
---|---|
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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int getOrientation()
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)
Window
paint
in class Window
g
- the specified Graphics windowComponent.update(Graphics)
public Insets getInsets()
Container
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
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.