gishur.awt
Interface ToolTip
- All Known Implementing Classes:
- Symbolbar, DisplayManager, DisplayManager
- public interface ToolTip
Interface that must be implemented by components that like to
show ToolTips or a StatusTips.
Because ToolTipper
can only browse through
Component
s, ToolTip makes only sense implementing
by Component
s.
- Version:
- 1.0
- Author:
- Thomas Wolf
- See Also:
ToolTipper
Method Summary |
java.lang.String |
getStatusTip(int x,
int y)
Returns the StatusTip-text. |
java.lang.String |
getToolTip(int x,
int y)
Returns the ToolTip-text for this component. |
getToolTip
public java.lang.String getToolTip(int x,
int y)
- Returns the ToolTip-text for this component. The ToolTip-text
will be shown (using a
ToolTipper
) if the mouse rests
over the object.
- Parameters:
x,y
- the position of the mouse in component coordinates- Returns:
- ToolTip
getStatusTip
public java.lang.String getStatusTip(int x,
int y)
- Returns the StatusTip-text. This text will be shown in the
applets (or browsers) statusbar.
- Parameters:
x,y
- the position of the mouse in component coordinates- Returns:
- StatusTip