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 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.void
fireLayerChanged(LayerEventType type)
LayerManager
getLayerManager()
String
getName()
boolean
isVisible()
void
setLayerManager(LayerManager layerManager)
Called by Java2XMLvoid
setName(String name)
void
setVisible(boolean visible)
String
toString()
-
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:Layerable
Called by Java2XML- Specified by:
setLayerManager
in interfaceLayerable
-
getLayerManager
public LayerManager getLayerManager()
- Specified by:
getLayerManager
in 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:
setVisible
in interfaceLayerable
-
-