public class SeparatorWidget extends Widget
Modifier and Type | Class and Description |
---|---|
static class |
SeparatorWidget.Orientation
The separator orientation
|
Widget.Dependency
Constructor and Description |
---|
SeparatorWidget(Scene scene,
SeparatorWidget.Orientation orientation)
Creates a separator widget.
|
Modifier and Type | Method and Description |
---|---|
protected Rectangle |
calculateClientArea()
Calculates a client area of the separator widget.
|
SeparatorWidget.Orientation |
getOrientation()
Returns a separator orientation
|
int |
getThickness()
Returns a thickness of the separator.
|
protected void |
paintWidget()
Paints the separator widget.
|
void |
setOrientation(SeparatorWidget.Orientation orientation)
Sets a separator orientation
|
void |
setThickness(int thickness)
Sets a thickness of the seperator.
|
addChild, addChild, addChild, addChild, addChildren, addDependency, bringToBack, bringToFront, convertLocalToScene, convertLocalToScene, convertSceneToLocal, convertSceneToLocal, createActions, equals, getAccessibleContext, getActions, getActions, getBackground, getBorder, getBounds, getChildConstraint, getChildren, getClientArea, getCursor, getCursorAt, getDependencies, getFont, getForeground, getGraphics, getLayout, getLocation, getLookup, getMaximumSize, getMinimumSize, getParentWidget, getPreferredBounds, getPreferredLocation, getPreferredSize, getResourceTable, getScene, getState, getToolTipText, hashCode, isCheckClipping, isEnabled, isHitAt, isOpaque, isPreferredBoundsSet, isRepaintRequiredForRevalidating, isValidated, isVisible, notifyAdded, notifyBackgroundChanged, notifyFontChanged, notifyForegroundChanged, notifyRemoved, notifyStateChanged, paint, paintBackground, paintBorder, paintChildren, removeChild, removeChildren, removeChildren, removeDependency, removeFromParent, repaint, resolveBounds, revalidate, revalidate, setAccessibleContext, setBackground, setBackgroundFromResource, setBorder, setBorder, setCheckClipping, setChildConstraint, setCursor, setEnabled, setFont, setFontFromResource, setForeground, setForegroundFromResource, setLayout, setMaximumSize, setMinimumSize, setOpaque, setPreferredBounds, setPreferredLocation, setPreferredSize, setResourceTable, setState, setToolTipText, setVisible, updateResources
public SeparatorWidget(Scene scene, SeparatorWidget.Orientation orientation)
scene
- the sceneorientation
- the separator orientationpublic SeparatorWidget.Orientation getOrientation()
public void setOrientation(SeparatorWidget.Orientation orientation)
orientation
- the separator orientationpublic int getThickness()
public void setThickness(int thickness)
thickness
- the thicknessprotected Rectangle calculateClientArea()
calculateClientArea
in class Widget
protected void paintWidget()
paintWidget
in class Widget