leon.view.win.swing
Class LySwingTip
java.lang.Object
leon.view.graphic.LyGraphicalObject
leon.view.win.swing.LySwingObject
leon.view.win.swing.LySwingTip
- All Implemented Interfaces:
- LyGraphicalComponent, LyGraphicalTip, LyViewComponent, LyFreeInterface, LySwingComponent
public class LySwingTip
- extends LySwingObject
- implements LySwingComponent, LyGraphicalTip
This class implements the Tip object (as described in the dtd) for swing viewer.
A tooltip allows to associate an help text to a field. The text is displayed under the form of
a screen tip associated to the graphical component of the field.
- See Also:
LyTip
Constructor Summary |
LySwingTip(LyTip tip)
Class constructor of a Tip object for the Swing target. |
Method Summary |
java.awt.Component |
getComponent()
(non-Javadoc). |
Methods inherited from class leon.view.graphic.LyGraphicalObject |
expand, free, getController, getEnv, getEnvironment, getIdCode, getIntResource, getMessage, getMessage, getResource, getString, getString, getString, getViewComponent, getViewManager, isFreed, isFreeing, isImageAnimated, processDemand, processDemand, testResource, translate |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
__VERSION
public static final java.lang.String __VERSION
- See Also:
- Constant Field Values
TIP_WIDTH
public static int TIP_WIDTH
- Default tip width.
TIP_HEIGHT
public static int TIP_HEIGHT
- Default tip height.
LySwingTip
public LySwingTip(LyTip tip)
- Class constructor of a Tip object for the Swing target.
- Parameters:
tip
- a TIP component defined for every type of view targets. This help tip component is
initialized specificaly for the Swing view.
getComponent
public java.awt.Component getComponent()
- (non-Javadoc).
- Specified by:
getComponent
in interface LySwingComponent
- Overrides:
getComponent
in class LySwingObject
- Returns:
- this Swing view component
- See Also:
LySwingComponent.getComponent()
Website: W4 S.A., contact us: support@w4global.com