Package | Description |
---|---|
org.netbeans.api.visual.action |
This package contains
ActionFactory class which is factory of all built-in widget-actions provided by the library. |
Modifier and Type | Method and Description |
---|---|
static MoveStrategy |
ActionFactory.createFreeMoveStrategy()
Creates a free (without any restriction) move strategy
|
static MoveStrategy |
ActionFactory.createSnapToGridMoveStrategy(int horizontalGridSize,
int verticalGridSize)
Creates a snap-to-grid move strategy.
|
Modifier and Type | Method and Description |
---|---|
static WidgetAction |
ActionFactory.createMoveAction(MoveStrategy strategy,
MoveProvider provider)
Creates a move action with a specified strategy and provider.
|