com.vividsolutions.jump.workbench.ui.cursortool
Class NoteStyle

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.cursortool.NoteStyle
All Implemented Interfaces:
Style, java.lang.Cloneable

public class NoteStyle
extends java.lang.Object
implements Style


Field Summary
static java.lang.String CREATED
           
static java.lang.String GEOMETRY
           
static int HEIGHT
           
static java.lang.String MODIFIED
           
static java.lang.String NAME
           
static java.lang.String TEXT
           
static int WIDTH
           
 
Constructor Summary
NoteStyle()
           
 
Method Summary
 java.lang.Object clone()
           
static FeatureSchema createFeatureSchema()
           
static javax.swing.JTextArea createTextArea()
           
 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)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WIDTH

public static final int WIDTH
See Also:
Constant Field Values

HEIGHT

public static final int HEIGHT
See Also:
Constant Field Values

NAME

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

CREATED

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

MODIFIED

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

TEXT

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

GEOMETRY

public static final java.lang.String GEOMETRY
See Also:
Constant Field Values
Constructor Detail

NoteStyle

public NoteStyle()
Method Detail

createFeatureSchema

public static FeatureSchema createFeatureSchema()

createTextArea

public static javax.swing.JTextArea createTextArea()

paint

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

initialize

public void initialize(Layer layer)
Description copied from interface: Style
Called before #paint is applied to each Feature.

Specified by:
initialize in interface Style

clone

public java.lang.Object clone()
Specified by:
clone in interface Style
Overrides:
clone in class java.lang.Object

setEnabled

public void setEnabled(boolean enabled)
Specified by:
setEnabled in interface Style

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface Style