dsto.dfc.swing.controls
Class DfcToolTipManager

java.lang.Object
  extended by dsto.dfc.swing.controls.DfcToolTipManager

public class DfcToolTipManager
extends Object

DFC custom tool tip manager: for when TooltipManager is just not cutting it.

Version:
$Revision$
Author:
Mofeed, Matthew

Nested Class Summary
protected  class DfcToolTipManager.DurationTimeAction
           
protected  class DfcToolTipManager.InsideTimerAction
           
 
Field Summary
protected  Point absLocation
           
protected  Component component
           
protected  Timer delayTimer
           
protected  Timer popdownTimer
           
protected  JTextPane tip
           
protected  dsto.dfc.swing.controls.DfcToolTipManager.WindowPopup tipWindow
           
 
Constructor Summary
DfcToolTipManager(Component component)
           
 
Method Summary
 void dispose()
           
 Document getToolTipDoc()
           
 void hideTipWindow()
           
 void setToolTipText(String s)
           
 void setToolTipWindowLocation(Point p)
           
protected  void showTipWindow(Document doc, Point location)
           
 void showTipWindow(Document doc, Point location, int startTime, int durationTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tipWindow

protected dsto.dfc.swing.controls.DfcToolTipManager.WindowPopup tipWindow

tip

protected JTextPane tip

component

protected Component component

delayTimer

protected Timer delayTimer

popdownTimer

protected Timer popdownTimer

absLocation

protected Point absLocation
Constructor Detail

DfcToolTipManager

public DfcToolTipManager(Component component)
Method Detail

dispose

public void dispose()

showTipWindow

protected void showTipWindow(Document doc,
                             Point location)

showTipWindow

public void showTipWindow(Document doc,
                          Point location,
                          int startTime,
                          int durationTime)

hideTipWindow

public void hideTipWindow()

getToolTipDoc

public Document getToolTipDoc()

setToolTipText

public void setToolTipText(String s)

setToolTipWindowLocation

public void setToolTipWindowLocation(Point p)


Copyright © 2008 Commonwealth of Australia