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 LayoutFactory.ConnectionWidgetLayoutAlignment |
LayoutFactory.ConnectionWidgetLayoutAlignment.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LayoutFactory.ConnectionWidgetLayoutAlignment[] |
LayoutFactory.ConnectionWidgetLayoutAlignment.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ConnectionWidget.setConstraint(Widget childWidget,
LayoutFactory.ConnectionWidgetLayoutAlignment alignment,
float placementInPercentage)
Sets a constraint for a child widget when ConnectionWidgetLayout (by default) is used.
|
void |
ConnectionWidget.setConstraint(Widget childWidget,
LayoutFactory.ConnectionWidgetLayoutAlignment alignment,
int placementAtDistance)
Sets a constraint for a child widget when ConnectionWidgetLayout (by default) is used.
|