com.vividsolutions.jump.demo.delineation
Class DelineationVertexStyle

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.renderer.style.VertexStyle
      extended by com.vividsolutions.jump.demo.delineation.DelineationVertexStyle
All Implemented Interfaces:
Style, java.lang.Cloneable

public class DelineationVertexStyle
extends VertexStyle

Paints anchored vertices green and unanchored vertices red.


Constructor Summary
DelineationVertexStyle()
           
 
Method Summary
 void paint(Feature f, java.awt.Graphics2D g, Viewport viewport)
           
 
Methods inherited from class com.vividsolutions.jump.workbench.ui.renderer.style.VertexStyle
clone, getSize, initialize, isEnabled, paint, setEnabled, setSize
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DelineationVertexStyle

public DelineationVertexStyle()
Method Detail

paint

public void paint(Feature f,
                  java.awt.Graphics2D g,
                  Viewport viewport)
           throws java.lang.Exception
Specified by:
paint in interface Style
Overrides:
paint in class VertexStyle
Throws:
java.lang.Exception