com.steema.teechart
Class ToolTip

java.lang.Object
  extended by com.steema.teechart.ToolTip

public class ToolTip
extends java.lang.Object

Title: ToolTip class

Description:

Copyright (c) 2005-2013 by Steema Software SL. All Rights Reserved.

Company: Steema Software SL


Constructor Summary
ToolTip(IBaseChart value)
           
 
Method Summary
 void activate()
           
 void deactivate()
           
 boolean getActive()
          Enables/Disables tooltip.
 int getDismissDelay()
          Returns the period of time the ToolTip remains visible if the pointer is stationary on a control with specified ToolTip text.
 int getInitialDelay()
          Returns the time lag before the Tool Tip appears.
 java.lang.String getText()
          Returns the text to be displayed at the ToolTip.
 void hide()
          Disables tooltip
 void prepareMarks(SeriesMarks marks)
           
 void setActive(boolean value)
          Enables/Disables tooltip.
 void setDismissDelay(int value)
          Sets the period of time the ToolTip remains visible if the pointer is stationary on a control with specified ToolTip text.
 void setInitialDelay(int value)
          Sets the time lag before the Tool Tip appears.
 void setText(java.lang.String value)
          Sets the text to be displayed at the ToolTip.
 void setToolTip(javax.swing.JComponent component, java.lang.String text)
           
 void show()
          Enables tooltip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToolTip

public ToolTip(IBaseChart value)
Method Detail

setToolTip

public void setToolTip(javax.swing.JComponent component,
                       java.lang.String text)

hide

public void hide()
Disables tooltip


show

public void show()
Enables tooltip


getText

public java.lang.String getText()
Returns the text to be displayed at the ToolTip.

Returns:

setText

public void setText(java.lang.String value)
Sets the text to be displayed at the ToolTip.

Parameters:
value -

getActive

public boolean getActive()
Enables/Disables tooltip.

Returns:

setActive

public void setActive(boolean value)
Enables/Disables tooltip.

Parameters:
value -

getInitialDelay

public int getInitialDelay()
Returns the time lag before the Tool Tip appears.

Returns:

setInitialDelay

public void setInitialDelay(int value)
Sets the time lag before the Tool Tip appears.

Parameters:
value -

getDismissDelay

public int getDismissDelay()
Returns the period of time the ToolTip remains visible if the pointer is stationary on a control with specified ToolTip text.

Returns:

setDismissDelay

public void setDismissDelay(int value)
Sets the period of time the ToolTip remains visible if the pointer is stationary on a control with specified ToolTip text.

Parameters:
value -

deactivate

public void deactivate()

activate

public void activate()

prepareMarks

public void prepareMarks(SeriesMarks marks)