com.vividsolutions.jump.workbench.ui
Class AbstractFeatureTextWriter

java.lang.Object
  extended by com.vividsolutions.jump.workbench.ui.AbstractFeatureTextWriter

public abstract class AbstractFeatureTextWriter
extends java.lang.Object


Constructor Summary
AbstractFeatureTextWriter(boolean wrapping, java.lang.String shortDescription, java.lang.String description)
           
 
Method Summary
 java.lang.String getDescription()
          Returns a description to display on the tooltip.
 java.lang.String getShortDescription()
          Returns a short (2-3 letters) description to display on the button.
 boolean isWrapping()
          Returns whether to wrap the text.
abstract  java.lang.String write(Feature feature)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractFeatureTextWriter

public AbstractFeatureTextWriter(boolean wrapping,
                                 java.lang.String shortDescription,
                                 java.lang.String description)
Method Detail

write

public abstract java.lang.String write(Feature feature)

getShortDescription

public java.lang.String getShortDescription()
Returns a short (2-3 letters) description to display on the button.


getDescription

public java.lang.String getDescription()
Returns a description to display on the tooltip.


isWrapping

public boolean isWrapping()
Returns whether to wrap the text.