|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.josm.actions.SplitWayAction.SplitWayResult
public static class SplitWayAction.SplitWayResult
Represents the result of a SplitWayAction
SplitWayAction.splitWay(org.openstreetmap.josm.gui.layer.OsmDataLayer, org.openstreetmap.josm.data.osm.Way, java.util.List>, java.util.Collection extends org.openstreetmap.josm.data.osm.OsmPrimitive>)
,
SplitWayAction.split(org.openstreetmap.josm.gui.layer.OsmDataLayer, org.openstreetmap.josm.data.osm.Way, java.util.List, java.util.Collection extends org.openstreetmap.josm.data.osm.OsmPrimitive>)
Field Summary | |
---|---|
private Command |
command
|
private java.util.List<? extends PrimitiveId> |
newSelection
|
private java.util.List<Way> |
newWays
|
private Way |
originalWay
|
Constructor Summary | |
---|---|
SplitWayAction.SplitWayResult(Command command,
java.util.List<? extends PrimitiveId> newSelection,
Way originalWay,
java.util.List<Way> newWays)
|
Method Summary | |
---|---|
Command |
getCommand()
Replies the command to be performed to split the way |
java.util.List<? extends PrimitiveId> |
getNewSelection()
Replies the new list of selected primitives ids |
java.util.List<Way> |
getNewWays()
Replies the resulting new ways |
Way |
getOriginalWay()
Replies the original way being split |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final Command command
private final java.util.List<? extends PrimitiveId> newSelection
private Way originalWay
private java.util.List<Way> newWays
Constructor Detail |
---|
public SplitWayAction.SplitWayResult(Command command, java.util.List<? extends PrimitiveId> newSelection, Way originalWay, java.util.List<Way> newWays)
command
- The command to be performed to split the way (which is saved for later retrieval by the getCommand()
method)newSelection
- The new list of selected primitives ids (which is saved for later retrieval by the getNewSelection()
method)originalWay
- The original way being split (which is saved for later retrieval by the getOriginalWay()
method)newWays
- The resulting new ways (which is saved for later retrieval by the getOriginalWay()
method)Method Detail |
---|
public Command getCommand()
public java.util.List<? extends PrimitiveId> getNewSelection()
public Way getOriginalWay()
public java.util.List<Way> getNewWays()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |