public class DeleteFeatureListener extends edu.umd.cs.piccolo.event.PBasicInputEventHandler implements DeregistrationListener
| Modifier and Type | Field and Description |
|---|---|
static String |
FEATURE_DELETE_REQUEST_NOTIFICATION |
| Constructor and Description |
|---|
DeleteFeatureListener(MappingComponent mc)
Creates a new DeleteFeatureListener object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deregistration()
Can be used to cleanup.
|
Class[] |
getAllowedFeatureClassesToDelete()
DOCUMENT ME!
|
PFeature |
getFeatureRequestedForDeletion()
DOCUMENT ME!
|
void |
mouseClicked(edu.umd.cs.piccolo.event.PInputEvent pInputEvent) |
void |
mouseMoved(edu.umd.cs.piccolo.event.PInputEvent pInputEvent) |
void |
setAllowedFeatureClassesToDelete(Class[] allowedFeatureClassesToDelete)
Set the feature types, which are allowed to remove.
|
acceptsEvent, getEventFilter, keyboardFocusGained, keyboardFocusLost, keyPressed, keyReleased, keyTyped, mouseDragged, mouseEntered, mouseExited, mousePressed, mouseReleased, mouseWheelRotated, mouseWheelRotatedByBlock, paramString, processEvent, setEventFilter, toStringpublic static final String FEATURE_DELETE_REQUEST_NOTIFICATION
public DeleteFeatureListener(MappingComponent mc)
mc - DOCUMENT ME!public void mouseMoved(edu.umd.cs.piccolo.event.PInputEvent pInputEvent)
mouseMoved in class edu.umd.cs.piccolo.event.PBasicInputEventHandlerpublic void mouseClicked(edu.umd.cs.piccolo.event.PInputEvent pInputEvent)
mouseClicked in class edu.umd.cs.piccolo.event.PBasicInputEventHandlerpublic PFeature getFeatureRequestedForDeletion()
public Class[] getAllowedFeatureClassesToDelete()
public void setAllowedFeatureClassesToDelete(Class[] allowedFeatureClassesToDelete)
allowedFeatureClassesToDelete - the allowedFeatrueClassesToDelete to setpublic void deregistration()
DeregistrationListenerderegistration in interface DeregistrationListenerCopyright © 2012–2026 cismet GmbH. All rights reserved.