net.sf.jtreemap.swing
Class DefaultToolTipBuilder

java.lang.Object
  extended by net.sf.jtreemap.swing.DefaultToolTipBuilder
All Implemented Interfaces:
java.io.Serializable, IToolTipBuilder

public class DefaultToolTipBuilder
extends java.lang.Object
implements IToolTipBuilder, java.io.Serializable

Default class to build the DefaultToolTip displayed by the JTreeMap.

See Also:
DefaultToolTip, Serialized Form
 

Constructor Summary
DefaultToolTipBuilder(JTreeMap jTreeMap, java.lang.String weightPrefix, java.lang.String valuePrefix, boolean showWeight)
          Constructor.
 
Method Summary
 javax.swing.JToolTip getToolTip()
          Return the instance of the JToolTip.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultToolTipBuilder

public DefaultToolTipBuilder(JTreeMap jTreeMap,
                             java.lang.String weightPrefix,
                             java.lang.String valuePrefix,
                             boolean showWeight)
Constructor.

Parameters:
jTreeMap - the linked JTreeMap
Method Detail

getToolTip

public javax.swing.JToolTip getToolTip()
Description copied from interface: IToolTipBuilder
Return the instance of the JToolTip.
Override this method to build your own JToolTip

Specified by:
getToolTip in interface IToolTipBuilder
Returns:
the instance of the JToolTip