Interface ToolTips
- public interface ToolTips
This interface allows to give to classes implementing it ability to show short help.
-
getTip(int)
- Returns tool tip for component.
-
getTipLocation(Container)
- Returns tool tip location for component.
getTip
public abstract String getTip(int type)
- Returns tool tip for component.
- Parameters:
- type - type of tip request.
- Returns:
- tool tip.
getTipLocation
public abstract Point getTipLocation(Container painter)
- Returns tool tip location for component.
- Parameters:
- painter - container which paints the tip.
- Returns:
- desired location for tool tip.