public class FeatureMoveAction extends Object implements CustomAction
| Constructor and Description |
|---|
FeatureMoveAction(MappingComponent mc,
List<PFeature> features,
edu.umd.cs.piccolo.util.PDimension dim,
boolean dimensionInPixel)
Erzeugt eine FeatureMoveAction-Instanz.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doAction()
Bewegt das Feature.
|
boolean |
featureConcerned(Feature feature)
Checks, if the given feature is concerned from this action.
|
CustomAction |
getInverse()
Liefert die gegenteilige Bewegungsaktion.
|
String |
info()
Liefert eine Beschreibung der Aktion als String.
|
public FeatureMoveAction(MappingComponent mc, List<PFeature> features, edu.umd.cs.piccolo.util.PDimension dim, boolean dimensionInPixel)
mc - MappingComponent auf dem die PFeatures bewegt werdenfeatures - Vektor mit allen bewegten Featuresdim - PDimension-Objekt das die Bewegung darstelltdimensionInPixel - DOCUMENT ME!public void doAction()
doAction in interface CustomActionpublic String info()
info in interface CustomActionpublic CustomAction getInverse()
getInverse in interface CustomActionpublic boolean featureConcerned(Feature feature)
CustomActionfeatureConcerned in interface CustomActionfeature - the feature that should be checkedCopyright © 2012–2026 cismet GmbH. All rights reserved.