com.vividsolutions.jump.demo.delineation
Class DelineationUtil

java.lang.Object
  extended by com.vividsolutions.jump.demo.delineation.DelineationUtil

public class DelineationUtil
extends java.lang.Object

Code used by both CreateDelineationTool and EditDelineationTool.


Field Summary
static java.awt.Cursor CURSOR
           
static java.lang.String DELINEATION_LAYER_NAME
           
static java.lang.String DESTINATION_SNAPPED_ATTRIBUTE_NAME
           
static javax.swing.Icon ICON
           
static java.lang.String SOURCE_SNAPPED_ATTRIBUTE_NAME
           
static java.awt.Color TOOL_COLOR
           
static int TOOL_STROKE_WIDTH
           
 
Constructor Summary
DelineationUtil()
           
 
Method Summary
static void checkDelineationCoordinates(com.vividsolutions.jts.geom.Coordinate[] coordinates)
           
static java.lang.String toString(boolean b)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DELINEATION_LAYER_NAME

public static final java.lang.String DELINEATION_LAYER_NAME
See Also:
Constant Field Values

DESTINATION_SNAPPED_ATTRIBUTE_NAME

public static final java.lang.String DESTINATION_SNAPPED_ATTRIBUTE_NAME
See Also:
Constant Field Values

SOURCE_SNAPPED_ATTRIBUTE_NAME

public static final java.lang.String SOURCE_SNAPPED_ATTRIBUTE_NAME
See Also:
Constant Field Values

TOOL_COLOR

public static final java.awt.Color TOOL_COLOR

TOOL_STROKE_WIDTH

public static final int TOOL_STROKE_WIDTH
See Also:
Constant Field Values

ICON

public static final javax.swing.Icon ICON

CURSOR

public static final java.awt.Cursor CURSOR
Constructor Detail

DelineationUtil

public DelineationUtil()
Method Detail

checkDelineationCoordinates

public static void checkDelineationCoordinates(com.vividsolutions.jts.geom.Coordinate[] coordinates)
                                        throws java.lang.Exception
Throws:
java.lang.Exception

toString

public static java.lang.String toString(boolean b)