|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.Component visad.browser.Divider
public class Divider
A small divider for visually separating components.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.awt.Component |
---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
Field Summary | |
---|---|
static int |
HORIZONTAL
Constant for horizontal divider alignment. |
static int |
VERTICAL
Constant for vertical divider alignment. |
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 |
Constructor Summary | |
---|---|
Divider()
Constructor for horizontal divider. |
|
Divider(int orientation)
Constructor for divider in the given orientation. |
Method Summary | |
---|---|
Dimension |
getMaximumSize()
Gets the divider's maximum size. |
Dimension |
getMinimumSize()
Gets the divider's minimum size. |
Dimension |
getPreferredSize()
Gets the divider's preferred size. |
void |
paint(Graphics g)
Paints the divider. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int HORIZONTAL
public static final int VERTICAL
Constructor Detail |
---|
public Divider()
public Divider(int orientation)
orientation
- Divider.HORIZONTAL or Divider.VERTICALMethod Detail |
---|
public void paint(Graphics g)
paint
in class Component
public Dimension getMinimumSize()
getMinimumSize
in class Component
public Dimension getPreferredSize()
getPreferredSize
in class Component
public Dimension getMaximumSize()
getMaximumSize
in class Component
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |