com.vividsolutions.jump.workbench.ui.renderer.style
Interface Style

All Superinterfaces:
java.lang.Cloneable
All Known Subinterfaces:
ChoosableStyle
All Known Implementing Classes:
AbstractSelectionRenderer, ArrowLineStringEndpointStyle, ArrowLineStringEndpointStyle.Feathers, ArrowLineStringEndpointStyle.FeathersEnd, ArrowLineStringEndpointStyle.FeathersStart, ArrowLineStringEndpointStyle.NarrowSolidEnd, ArrowLineStringEndpointStyle.NarrowSolidStart, ArrowLineStringEndpointStyle.OpenEnd, ArrowLineStringEndpointStyle.OpenStart, ArrowLineStringEndpointStyle.SolidEnd, ArrowLineStringEndpointStyle.SolidStart, ArrowLineStringSegmentStyle, ArrowLineStringSegmentStyle.NarrowSolid, ArrowLineStringSegmentStyle.Open, ArrowLineStringSegmentStyle.Solid, BasicStyle, CircleLineStringEndpointStyle, CircleLineStringEndpointStyle.End, CircleLineStringEndpointStyle.Start, ColorThemingStyle, DelegatingStyle, DelineationVertexStyle, DummyStyle, FeatureSelectionRenderer, LabelStyle, LineStringEndpointStyle, LineStringSegmentStyle, LineStringSelectionRenderer, LineStringStyle, LineStringVertexStyle, MetricsLineStringSegmentStyle, MetricsLineStringSegmentStyle.LengthAngle, NoteTool.NoteStyle, PartSelectionRenderer, PinEqualCoordinatesStyle, ReferencedImageStyle, RingVertexStyle, SelectionBackgroundRenderer, SquareVertexStyle, VertexIndexLineSegmentStyle, VertexIndexLineSegmentStyle.VertexIndex, VertexStyle, VertexXYLineSegmentStyle, VertexXYLineSegmentStyle.VertexXY

public interface Style
extends java.lang.Cloneable

Must have a parameterless constructor so it can be created by Java2XML.


Method Summary
 java.lang.Object clone()
           
 void initialize(Layer layer)
          Called before #paint is applied to each Feature.
 boolean isEnabled()
           
 void paint(Feature f, java.awt.Graphics2D g, Viewport viewport)
           
 void setEnabled(boolean enabled)
           
 

Method Detail

paint

void paint(Feature f,
           java.awt.Graphics2D g,
           Viewport viewport)
           throws java.lang.Exception
Throws:
java.lang.Exception

initialize

void initialize(Layer layer)
Called before #paint is applied to each Feature.


clone

java.lang.Object clone()

setEnabled

void setEnabled(boolean enabled)

isEnabled

boolean isEnabled()