public class BSeparator extends Widget implements MenuWidget
Modifier and Type | Class and Description |
---|---|
static class |
BSeparator.Orientation
This inner class represents an orientation for the separator.
|
Modifier and Type | Field and Description |
---|---|
static BSeparator.Orientation |
HORIZONTAL |
static BSeparator.Orientation |
VERTICAL |
Constructor and Description |
---|
BSeparator()
Create a new BSeparator whose orientation is set to HORIZONTAL.
|
BSeparator(BSeparator.Orientation orientation)
Create a new BSeparator.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addEventLink, dispatchEvent, getBackground, getBounds, getCursor, getFont, getMaximumSize, getMinimumSize, getName, getParent, getPreferredSize, hasFocus, isEnabled, isFocusable, isVisible, repaint, requestFocus, setBackground, setCursor, setEnabled, setFocusable, setFont, setName, setVisible
addEventLink, addEventLink, removeEventLink
public static final BSeparator.Orientation HORIZONTAL
public static final BSeparator.Orientation VERTICAL
public BSeparator()
public BSeparator(BSeparator.Orientation orientation)
public javax.swing.JSeparator getComponent()
Widget
getComponent
in class Widget
public BSeparator.Orientation getOrientation()
public void setOrientation(BSeparator.Orientation orientation)
Written by Peter Eastman.