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, waitgetChildrenprivate 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()
PseudoCommandgetDescriptionText in interface PseudoCommandpublic javax.swing.Icon getDescriptionIcon()
PseudoCommandgetDescriptionIcon in interface PseudoCommandpublic java.util.Collection<? extends OsmPrimitive> getParticipatingPrimitives()
PseudoCommandgetParticipatingPrimitives in interface PseudoCommand