static final class ChangePropertyKeyCommand.SinglePrimitivePseudoCommand extends java.lang.Object implements PseudoCommand
Modifier and Type | Field and Description |
---|---|
private javax.swing.Icon |
icon |
private java.lang.String |
name |
private OsmPrimitive |
osm |
Constructor and Description |
---|
SinglePrimitivePseudoCommand(java.lang.String name,
OsmPrimitive osm,
javax.swing.Icon icon) |
Modifier and Type | Method and Description |
---|---|
javax.swing.Icon |
getDescriptionIcon()
Provides a descriptive icon of this command.
|
java.lang.String |
getDescriptionText()
Provides a description text representing this command.
|
java.util.Collection<? extends OsmPrimitive> |
getParticipatingPrimitives()
Return the primitives that take part in this command.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChildren
private final java.lang.String name
private final OsmPrimitive osm
private final javax.swing.Icon icon
SinglePrimitivePseudoCommand(java.lang.String name, OsmPrimitive osm, javax.swing.Icon icon)
public java.lang.String getDescriptionText()
PseudoCommand
getDescriptionText
in interface PseudoCommand
public javax.swing.Icon getDescriptionIcon()
PseudoCommand
getDescriptionIcon
in interface PseudoCommand
public java.util.Collection<? extends OsmPrimitive> getParticipatingPrimitives()
PseudoCommand
getParticipatingPrimitives
in interface PseudoCommand