com.vividsolutions.jump.workbench.ui.renderer.style
Interface Style
- All Superinterfaces:
- java.lang.Cloneable
- All Known Subinterfaces:
- ChoosableStyle
- All Known Implementing Classes:
- AbstractSelectionRenderer, BasicStyle, ColorThemingStyle, DelegatingStyle, DummyStyle, LabelStyle, LineStringEndpointStyle, LineStringSegmentStyle, LineStringStyle, LineStringVertexStyle, NoteTool.NoteStyle, PinEqualCoordinatesStyle, ReferencedImageStyle, VertexStyle
- public interface Style
- extends java.lang.Cloneable
Must have a parameterless constructor so it can be created by Java2XML.
paint
public void paint(Feature f,
java.awt.Graphics2D g,
Viewport viewport)
throws java.lang.Exception
- Throws:
java.lang.Exception
initialize
public void initialize(Layer layer)
- Called before #paint is applied to each Feature.
- Returns:
- false if #paint should not be called e.g. because vertices are not
shown. Don't need to check whether the layer is visible.
clone
public java.lang.Object clone()
setEnabled
public void setEnabled(boolean enabled)
isEnabled
public boolean isEnabled()