|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object buoy.event.EventSource buoy.widget.Widget buoy.widget.BSeparator
public class BSeparator
A BSeparator is a Widget corresponding to a divider line between parts of a container. They are most often used in BMenus and BToolBars to divide menu items or toolbar icons into related groups. They can also be used anywhere you want to create a horizontal or vertical divider between Widgets.
Nested Class Summary | |
---|---|
static class |
BSeparator.Orientation
This inner class represents an orientation for the separator. |
Field Summary | |
---|---|
static BSeparator.Orientation |
HORIZONTAL
|
static BSeparator.Orientation |
VERTICAL
|
Constructor Summary | |
---|---|
BSeparator()
Create a new BSeparator whose orientation is set to HORIZONTAL. |
|
BSeparator(BSeparator.Orientation orientation)
Create a new BSeparator. |
Method Summary | |
---|---|
javax.swing.JSeparator |
getComponent()
Get the java.awt.Component corresponding to this Widget. |
BSeparator.Orientation |
getOrientation()
Get the orientation of this separator. |
void |
setOrientation(BSeparator.Orientation orientation)
Set the orientation of this separator. |
Methods inherited from class buoy.widget.Widget |
---|
addEventLink, dispatchEvent, getBackground, getBounds, getCursor, getFont, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, hasFocus, isEnabled, isFocusable, isVisible, repaint, requestFocus, setBackground, setCursor, setEnabled, setFocusable, setFont, setName, setVisible |
Methods inherited from class buoy.event.EventSource |
---|
addEventLink, addEventLink, removeEventLink |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final BSeparator.Orientation HORIZONTAL
public static final BSeparator.Orientation VERTICAL
Constructor Detail |
---|
public BSeparator()
public BSeparator(BSeparator.Orientation orientation)
Method Detail |
---|
public javax.swing.JSeparator getComponent()
Widget
getComponent
in class Widget
public BSeparator.Orientation getOrientation()
public void setOrientation(BSeparator.Orientation orientation)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |