com.vividsolutions.jump.demo.delineation
Class DelineationVertexStyle

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

public class DelineationVertexStyle
extends VertexStyle

Paints anchored vertices green and unanchored vertices red.


Field Summary
 
Fields inherited from class com.vividsolutions.jump.workbench.ui.renderer.style.VertexStyle
shape, size
 
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, render, setEnabled, setSize
 
Methods inherited from class java.lang.Object
equals, finalize, 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