net.sf.jtreemap.swing
Class DefaultToolTipBuilder
java.lang.Object
net.sf.jtreemap.swing.DefaultToolTipBuilder
- All Implemented Interfaces:
- Serializable, IToolTipBuilder
public class DefaultToolTipBuilder
- extends Object
- implements IToolTipBuilder, Serializable
Default class to build the DefaultToolTip displayed by the JTreeMap.
- Author:
- Laurent DUTHEIL
- See Also:
DefaultToolTip
,
Serialized Form
Method Summary |
JToolTip |
getToolTip()
Return the instance of the JToolTip.
Override this method to build your own JToolTip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultToolTipBuilder
public DefaultToolTipBuilder(JTreeMap jTreeMap,
String weightPrefix,
String valuePrefix,
boolean showWeight)
- Constructor.
- Parameters:
jTreeMap
- the linked JTreeMap
getToolTip
public 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
Copyright © 2012. All Rights Reserved.