|
org.netbeans.api.visual 2.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.netbeans.api.visual.widget.Widget
org.netbeans.api.visual.widget.SeparatorWidget
public class SeparatorWidget
This is a separator widget. Renders a rectangle that is usually expand across the width or height of the parent widget based on an orientation.
| Nested Class Summary | |
|---|---|
static class |
SeparatorWidget.Orientation
The separator orientation |
| Nested classes/interfaces inherited from class org.netbeans.api.visual.widget.Widget |
|---|
Widget.Dependency |
| Constructor Summary | |
|---|---|
SeparatorWidget(Scene scene,
SeparatorWidget.Orientation orientation)
Creates a separator widget. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SeparatorWidget(Scene scene, SeparatorWidget.Orientation orientation)
scene - the sceneorientation - the separator orientation| Method Detail |
|---|
public 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 Widgetprotected void paintWidget()
paintWidget in class Widget
|
org.netbeans.api.visual 2.2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||