org.openstreetmap.josm.actions.mapmode
Class SelectAction.CycleManager
java.lang.Object
org.openstreetmap.josm.actions.mapmode.SelectAction.CycleManager
- Enclosing class:
- SelectAction
private class SelectAction.CycleManager
- extends java.lang.Object
Method Summary |
private java.util.Collection<OsmPrimitive> |
cyclePrims()
Modifies current selection state and returns the next element in a
selection cycle given by
cycleList field |
private OsmPrimitive |
cycleSetup(OsmPrimitive nearest,
java.awt.Point p)
Determine prmitive to be selected and build cycleList |
private void |
init()
read preferences |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cycleList
private java.util.Collection<OsmPrimitive> cycleList
cyclePrims
private boolean cyclePrims
cycleStart
private OsmPrimitive cycleStart
waitForMouseUpParameter
private boolean waitForMouseUpParameter
multipleMatchesParameter
private boolean multipleMatchesParameter
SelectAction.CycleManager
private SelectAction.CycleManager()
init
private void init()
- read preferences
cycleSetup
private OsmPrimitive cycleSetup(OsmPrimitive nearest,
java.awt.Point p)
- Determine prmitive to be selected and build cycleList
- Parameters:
nearest
- primitive found by simple methodp
- point where user clicked
- Returns:
- OsmPrimitive to be selected
cyclePrims
private java.util.Collection<OsmPrimitive> cyclePrims()
- Modifies current selection state and returns the next element in a
selection cycle given by
cycleList
field
- Returns:
- the next element of cycle list
JOSM