public class VectorialLayerEdited extends DefaultLayerEdited implements LayerDrawingListener, Observer
| Constructor and Description |
|---|
VectorialLayerEdited(FLayer lyr,
MapControl mapControl) |
getLayerpublic VectorialLayerEdited(FLayer lyr, MapControl mapControl)
public ArrayList getSelectedHandler()
public void clearSelection()
throws DataException
DataExceptionpublic void selectWithPoint(double x,
double y,
boolean multipleSelection)
public void selectWithSecondPoint(double x,
double y)
public void selectContainsSurface(Geometry polygon)
public void selectIntersectsSurface(Geometry polygon)
public void selectOutPolygon(Geometry polygon)
public void selectAll()
public Image getSelectionImage()
public void setSelectionImage(Image image)
public Image getHandlersImage()
public void setHandlersImage(Image image)
public void beforeLayerDraw(LayerDrawEvent e) throws CancelationException
LayerDrawingListenerbeforeLayerDraw in interface LayerDrawingListenere - a layer event objectCancelationException - if cancels the operation, this exception will have the message
that user will see.LayerDrawEventpublic void afterLayerDraw(LayerDrawEvent e) throws CancelationException
LayerDrawingListenerProcess to execute after a layer had been drawn.
afterLayerDraw in interface LayerDrawingListenere - a layer event objectCancelationException - if cancels the operation, this exception will have the message
that user will see.LayerDrawEventpublic void beforeGraphicLayerDraw(LayerDrawEvent e) throws CancelationException
LayerDrawingListenerProcess to execute before a GraphicLayer had been drawn.
beforeGraphicLayerDraw in interface LayerDrawingListenere - a layer event objectCancelationException - if cancels the operation, this exception will have the message
that user will see.LayerDrawEventpublic void afterLayerGraphicDraw(LayerDrawEvent e) throws CancelationException
LayerDrawingListenerProcess to execute after a GraphicLayer had been drawn.
afterLayerGraphicDraw in interface LayerDrawingListenere - a layer event objectCancelationException - if cancels the operation, this exception will have the message
that user will see.LayerDrawEventpublic void activationGained(LayerEvent e)
public void activationLost(LayerEvent e)
public void setLegend(ILegend legend)
public ILegend getLegend()
public FeatureStore getFeatureStore() throws ReadException
ReadExceptionpublic void update(Observable observable, Object notification)
ObserverObservable object is changed and this
Observer has registered on it to receive notifications.
Implementations of this method will be called for each simple notification or, if a complex notification is created, for each of the child notifications.
In the latter case, don't assume any ordering in the notification between
this Observer and other Observers listening to the same
Observable.
In a complex notification scenario, if you want to receive only the
complex notification and not each of the child notifications, just
implement the ComplexObserver and prepare this method
implementation to handle receiving DefaultComplexNotification instances
as well as direct notification objects.
public EditionChangeManager getEditionChangeManager()
public void setEditionChangeManager(EditionChangeManager echm)