|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.refractions.udig.project.command.SelectionCommandFactory
public class SelectionCommandFactory
A factory which can be used to create all the standard selection commands. API use
Constructor Summary | |
---|---|
protected |
SelectionCommandFactory()
Deprecated. |
Method Summary | |
---|---|
MapCommand |
createBBoxSelectionCommand(Envelope boundingBox)
Deprecated. Creates a new BBoxSelectionCommand. |
MapCommand |
createBBoxSelectionCommand(Envelope bbox,
int modifiers)
Deprecated. Creates a new BBoxSelectionCommand |
MapCommand |
createCompositeCommand(java.util.List<? extends MapCommand> commands)
Deprecated. Create a CompositeCommand |
MapCommand |
createFIDSelectCommand(ILayer layer,
java.lang.String fid)
Deprecated. Create a MapCommand that sets the layer selection to be a fidfilter. |
MapCommand |
createNoSelectCommand()
Deprecated. Creates a NoSelectCommand |
MapCommand |
createSelectCommand(ILayer layer,
Filter filter)
Deprecated. Create a MapCommand that sets the layer selection to be the filter. |
MapCommand |
createUndoableCompositeCommand(java.util.List<? extends UndoableMapCommand> commands)
Deprecated. Create a CompositeCommand |
static SelectionCommandFactory |
getInstance()
Deprecated. 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 MapCommand createBBoxSelectionCommand(Envelope bbox, int modifiers)
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 MapCommand createBBoxSelectionCommand(Envelope boundingBox)
bbox
- A bounding used as the filter, all features intersecting the bbox will be
considered selected
Envelope
,
MapCommand
public MapCommand createNoSelectCommand()
MapCommand
public MapCommand createFIDSelectCommand(ILayer layer, java.lang.String fid)
MapCommand
public MapCommand createSelectCommand(ILayer layer, Filter filter)
MapCommand
public MapCommand createCompositeCommand(java.util.List<? extends MapCommand> commands)
commands
- the commands to be executed as a single command
MapCommand
public MapCommand createUndoableCompositeCommand(java.util.List<? extends UndoableMapCommand> commands)
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 |