Package | Description |
---|---|
org.netbeans.api.visual.layout |
This package contains
Layout interface which defines a widget-layout. |
org.netbeans.api.visual.widget |
This package contains
Widget class. |
Modifier and Type | Method and Description |
---|---|
static Layout |
LayoutFactory.createAbsoluteLayout()
Creates an absolute layout where widgets are located at placed defined by their preferredLocation.
|
static Layout |
LayoutFactory.createCardLayout(Widget cardLayoutWidget)
Creates a card layout where all children widgets except the active one are hidden.
|
static Layout |
LayoutFactory.createFillLayout()
Deprecated.
use createOverlayLayout method instead
|
static Layout |
LayoutFactory.createHorizontalFlowLayout()
Creates a horizontal flow layout with default style where widgets are placed horizontally one to the right from another.
|
static Layout |
LayoutFactory.createHorizontalFlowLayout(LayoutFactory.SerialAlignment alignment,
int gap)
Creates a horizontal flow layout with a specific style where widgets are placed horizontally one to the right from another.
|
static Layout |
LayoutFactory.createHorizontalLayout()
Deprecated.
use createHorizontalFlowLayout method instead
|
static Layout |
LayoutFactory.createHorizontalLayout(LayoutFactory.SerialAlignment alignment,
int gap)
Deprecated.
use createHorizontalFlowLayout (alignment, gap) method instead
|
static Layout |
LayoutFactory.createOverlayLayout()
Returns a overlay layout where all children widgets has the boundary at the biggest one of them or
they are expanded to the parent widget boundaries during justification.
|
static Layout |
LayoutFactory.createVerticalFlowLayout()
Creates a vertical flow layout with default style where widgets are placed vertically one to the bottom from another.
|
static Layout |
LayoutFactory.createVerticalFlowLayout(LayoutFactory.SerialAlignment alignment,
int gap)
Creates a vertical flow layout with a specific style where widgets are placed vertically one to the bottom from another.
|
static Layout |
LayoutFactory.createVerticalLayout()
Deprecated.
use createVerticalFlowLayout method instead
|
static Layout |
LayoutFactory.createVerticalLayout(LayoutFactory.SerialAlignment alignment,
int gap)
Deprecated.
use createVerticalFlowLayout (alignment, gap) method instead
|
Modifier and Type | Method and Description |
---|---|
static SceneLayout |
LayoutFactory.createDevolveWidgetLayout(Widget widget,
Layout devolveLayout,
boolean animate)
Returns a scene layout which performs one-time layout using specified devolve-layout.
|
Modifier and Type | Method and Description |
---|---|
Layout |
Widget.getLayout()
Returns the layout of the widget.
|
Modifier and Type | Method and Description |
---|---|
void |
Widget.setLayout(Layout layout)
Sets the layout of the widget.
|