LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.win.swing
Class LySwingTip

java.lang.Object
  extended by leon.view.graphic.LyGraphicalObject
      extended by leon.view.win.swing.LySwingObject
          extended by 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

Field Summary
static java.lang.String __VERSION
           
static int TIP_HEIGHT
          Default tip height.
static int TIP_WIDTH
          Default tip width.
 
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.win.swing.LySwingObject
getBounds, getChildrenBounds, getDefaultFrame
 
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
 
Methods inherited from interface leon.view.graphic.LyGraphicalComponent
free, getViewComponent
 

Field Detail

__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.

Constructor Detail

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.
Method Detail

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()

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com