com.vividsolutions.jump.workbench.ui
Class ToolTipWriter

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

public class ToolTipWriter
extends java.lang.Object

To customize the LayerViewPanel's tooltips, call LayerViewPanel#setToolTipText. You can specify attribute names in curly brackets e.g. {fid}.


Constructor Summary
ToolTipWriter(LayerViewPanel panel)
           
 
Method Summary
 boolean isEnabled()
           
 void setEnabled(boolean enabled)
           
 java.lang.String write(java.lang.String template, java.awt.geom.Point2D mouseLocation)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolTipWriter

public ToolTipWriter(LayerViewPanel panel)
Method Detail

isEnabled

public boolean isEnabled()

setEnabled

public void setEnabled(boolean enabled)

write

public java.lang.String write(java.lang.String template,
                              java.awt.geom.Point2D mouseLocation)