public class CreateNewGeometryListener extends CreateGeometryListener implements DeregistrationListener
DEFAULT_NUMOF_ELLIPSE_EDGES, finishingEvent, GEOMETRY_CREATED_NOTIFICATION, mappingComponent, mode, points, snappedCoordinatesELLIPSE, LINESTRING, POINT, POLYGON, RECTANGLE, RECTANGLE_FROM_LINE, TEXT| Constructor and Description |
|---|
CreateNewGeometryListener(MappingComponent mc)
Creates a new CreateNewGeometryListener object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deregistration()
Can be used to cleanup.
|
protected void |
finishGeometry(AbstractNewFeature newFeature)
DOCUMENT ME!
|
protected Color |
getFillingColor()
DOCUMENT ME!
|
void |
mouseMoved(edu.umd.cs.piccolo.event.PInputEvent pInputEvent) |
void |
mousePressed(edu.umd.cs.piccolo.event.PInputEvent pInputEvent) |
void |
mouseWheelRotated(edu.umd.cs.piccolo.event.PInputEvent pie) |
protected void |
reset()
DOCUMENT ME!
|
createCurrentNewFeature, createNewTempFeature, getCurrentNewFeature, getGeometryFeatureClass, getMappingComponent, getMode, getNumOfEllipseEdges, getPoints, isInMode, isInProgress, isShowCurrentLength, keyPressed, modeEquals, mouseDragged, mouseReleased, setGeometryFeatureClass, setMappingComponent, setMode, setNumOfEllipseEdges, setShowCurrentLength, updatePolygonpublic CreateNewGeometryListener(MappingComponent mc)
mc - DOCUMENT ME!protected Color getFillingColor()
CreateGeometryListenergetFillingColor in class CreateGeometryListenerpublic void mousePressed(edu.umd.cs.piccolo.event.PInputEvent pInputEvent)
mousePressed in class CreateGeometryListenerprotected void reset()
CreateGeometryListenerreset in class CreateGeometryListenerpublic void mouseMoved(edu.umd.cs.piccolo.event.PInputEvent pInputEvent)
mouseMoved in class CreateGeometryListenerprotected void finishGeometry(AbstractNewFeature newFeature)
CreateGeometryListenerfinishGeometry in class CreateGeometryListenernewFeature - DOCUMENT ME!public void mouseWheelRotated(edu.umd.cs.piccolo.event.PInputEvent pie)
mouseWheelRotated in class edu.umd.cs.piccolo.event.PBasicInputEventHandlerpublic void deregistration()
DeregistrationListenerderegistration in interface DeregistrationListenerCopyright © 2012–2026 cismet GmbH. All rights reserved.