gishur.gui
Interface ToolTipSource
- public interface ToolTipSource
Interface for classes that produces tooltip and statustip text for the
given DisplayObjects.
- Version:
- 1.0
- Author:
- Thomas Wolf
Method Summary |
java.lang.String |
getStatusTip(java.awt.event.MouseEvent e,
DisplayObject dobject,
int shapeidx)
Returns the StatusTip-text. |
java.lang.String |
getToolTip(java.awt.event.MouseEvent e,
DisplayObject dobject,
int shapeidx)
Returns the ToolTip-text for the given DisplayObject and
its shape index. |
getToolTip
public java.lang.String getToolTip(java.awt.event.MouseEvent e,
DisplayObject dobject,
int shapeidx)
- Returns the ToolTip-text for the given
DisplayObject
and
its shape index.
- Parameters:
e
- MouseEventdobject
- the DisplayObject
where to set ToolTips toshapeidx
- the shapeindex for the DisplayObject
getStatusTip
public java.lang.String getStatusTip(java.awt.event.MouseEvent e,
DisplayObject dobject,
int shapeidx)
- Returns the StatusTip-text. This text will be shown in the
applets (or browsers) statusbar.
- Parameters:
e
- MouseEventdobject
- the DisplayObject
where to set StatusTips toshapeidx
- the shapeindex for the DisplayObject