Package org.openjump.core.ccordsys.srid
Class SRIDStyle
- java.lang.Object
-
- org.openjump.core.ccordsys.srid.SRIDStyle
-
-
Constructor Summary
Constructors Constructor Description SRIDStyle()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()intgetSRID()voidinitialize(Layer layer)Called before #paint is applied to each Feature.booleanisEnabled()voidpaint(Feature f, Graphics2D g, Viewport viewport)voidsetEnabled(boolean enabled)voidsetSRID(int srid)voidupdateSRIDs(Layer layer)
-
-
-
Method Detail
-
paint
public void paint(Feature f, Graphics2D g, Viewport viewport) throws Exception
-
initialize
public void initialize(Layer layer)
Description copied from interface:StyleCalled before #paint is applied to each Feature.- Specified by:
initializein interfaceStyle- Parameters:
layer- the layer on which to apply this style
-
updateSRIDs
public void updateSRIDs(Layer layer)
-
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabledin interfaceStyle
-
isEnabled
public boolean isEnabled()
-
getSRID
public int getSRID()
-
setSRID
public void setSRID(int srid)
-
-