|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.project.command.SelectionCommandFactory
net.refractions.udig.project.command.factory.SelectionCommandFactory
public class SelectionCommandFactory
A factory which can be used to create all the standard selection commands. API use
Constructor Summary | |
---|---|
protected |
SelectionCommandFactory()
|
Method Summary | |
---|---|
UndoableMapCommand |
createBBoxSelectionCommand(Envelope boundingBox)
Creates a new BBoxSelectionCommand. |
UndoableMapCommand |
createBBoxSelectionCommand(Envelope bbox,
int modifiers)
Creates a new BBoxSelectionCommand |
MapCommand |
createCompositeCommand(java.util.List<? extends MapCommand> commands)
Create a CompositeCommand |
UndoableMapCommand |
createFIDSelectCommand(ILayer layer,
java.lang.String fid)
Create a MapCommand that sets the layer selection to be a fidfilter. |
UndoableMapCommand |
createNoSelectCommand()
Creates a NoSelectCommand |
UndoableMapCommand |
createSelectCommand(ILayer layer,
Filter filter)
Create a MapCommand that sets the layer selection to be the filter. |
UndoableMapCommand |
createUndoableCompositeCommand(java.util.List<? extends UndoableMapCommand> commands)
Create a CompositeCommand |
static SelectionCommandFactory |
getInstance()
Creates a new SelectionCommandFactory object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected SelectionCommandFactory()
Method Detail |
---|
public static SelectionCommandFactory getInstance()
public UndoableMapCommand createBBoxSelectionCommand(Envelope bbox, int modifiers)
createBBoxSelectionCommand
in class SelectionCommandFactory
bbox
- A bounding used as the filter, all features intersecting the bbox will be
considered selectedmodifiers
- Options include: BBoxSelectionCommand.ADD, BBoxSelectionCommand.NONE,
BBoxSelectionCommand.SUBTRACT
Envelope
,
MapCommand
public UndoableMapCommand createBBoxSelectionCommand(Envelope boundingBox)
createBBoxSelectionCommand
in class SelectionCommandFactory
bbox
- A bounding used as the filter, all features intersecting the bbox will be
considered selected
Envelope
,
MapCommand
public UndoableMapCommand createNoSelectCommand()
createNoSelectCommand
in class SelectionCommandFactory
MapCommand
public UndoableMapCommand createFIDSelectCommand(ILayer layer, java.lang.String fid)
createFIDSelectCommand
in class SelectionCommandFactory
MapCommand
public UndoableMapCommand createSelectCommand(ILayer layer, Filter filter)
createSelectCommand
in class SelectionCommandFactory
MapCommand
public MapCommand createCompositeCommand(java.util.List<? extends MapCommand> commands)
createCompositeCommand
in class SelectionCommandFactory
commands
- the commands to be executed as a single command
MapCommand
public UndoableMapCommand createUndoableCompositeCommand(java.util.List<? extends UndoableMapCommand> commands)
createUndoableCompositeCommand
in class SelectionCommandFactory
commands
- the commands to be executed as a single command
MapCommand
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |