Class SelectAction.CycleManager
java.lang.Object
org.openstreetmap.josm.actions.mapmode.SelectAction.CycleManager
- Enclosing class:
- SelectAction
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Collection<OsmPrimitive>private booleanprivate OsmPrimitiveprivate booleanprivate boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate Collection<OsmPrimitive>Modifies current selection state and returns the next element in a selection cycle given bycycleListfieldprivate OsmPrimitivecycleSetup(OsmPrimitive nearest, Point p) Determine primitive to be selected and build cycleListprivate voidinit()read preferences
-
Field Details
-
cycleList
-
cyclePrims
-
cycleStart
-
waitForMouseUpParameter
-
multipleMatchesParameter
-
-
Constructor Details
-
CycleManager
private CycleManager()
-
-
Method Details
-
init
read preferences -
cycleSetup
Determine primitive to be selected and build cycleList- Parameters:
nearest- primitive found by simple methodp- point where user clicked- Returns:
- OsmPrimitive to be selected
-
cyclePrims
Modifies current selection state and returns the next element in a selection cycle given bycycleListfield- Returns:
- the next element of cycle list
-