Class AbstractLayerable
- java.lang.Object
-
- org.locationtech.jts.jump.workbench.model.AbstractLayerable
-
-
Constructor Summary
Constructors Constructor Description AbstractLayerable()Called by Java2XMLAbstractLayerable(String name, LayerManager layerManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidfireAppearanceChanged()The only time #fireAppearanceChanged must be called is when a party modifies an attribute of one of the Styles, because Styles don't notify their layer when they change.voidfireLayerChanged(LayerEventType type)LayerManagergetLayerManager()StringgetName()booleanisVisible()voidsetLayerManager(LayerManager layerManager)Called by Java2XMLvoidsetName(String name)voidsetVisible(boolean visible)StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.locationtech.jts.jump.workbench.model.Layerable
getBlackboard
-
-
-
-
Constructor Detail
-
AbstractLayerable
public AbstractLayerable()
Called by Java2XML
-
AbstractLayerable
public AbstractLayerable(String name, LayerManager layerManager)
-
-
Method Detail
-
setLayerManager
public void setLayerManager(LayerManager layerManager)
Description copied from interface:LayerableCalled by Java2XML- Specified by:
setLayerManagerin interfaceLayerable
-
getLayerManager
public LayerManager getLayerManager()
- Specified by:
getLayerManagerin interfaceLayerable
-
fireLayerChanged
public void fireLayerChanged(LayerEventType type)
-
fireAppearanceChanged
public void fireAppearanceChanged()
The only time #fireAppearanceChanged must be called is when a party modifies an attribute of one of the Styles, because Styles don't notify their layer when they change. But if a party adds or removes a feature, or applies an EditTransaction to a feature, #fireAppearanceChanged will be called automatically. This event will be ignored if LayerManager#isFiringEvents is false
-
setVisible
public void setVisible(boolean visible)
- Specified by:
setVisiblein interfaceLayerable
-
-