LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.win.swing
Class LySwingObject

java.lang.Object
  extended by leon.view.graphic.LyGraphicalObject
      extended by leon.view.win.swing.LySwingObject
All Implemented Interfaces:
LyGraphicalComponent, LyViewComponent, LyFreeInterface, LySwingComponent
Direct Known Subclasses:
LySwingCaption, LySwingCell, LySwingCommand, LySwingCommands, LySwingConstraint, LySwingEntry, LySwingFieldItem, LySwingFooter, LySwingFormField, LySwingGauge, LySwingHeader, LySwingInterval, LySwingItem, LySwingLayout, LySwingLine, LySwingLink, LySwingListOption, LySwingMapContent, LySwingMapObject, LySwingMenu, LySwingMenuBar, LySwingMessage, LySwingMessages, LySwingOption, LySwingPopupMenu, LySwingRow, LySwingTip, LySwingTitleBar, LySwingTool, LySwingToolBar, LySwingTreeNode, LySwingView

public abstract class LySwingObject
extends LyGraphicalObject
implements LySwingComponent

The LySwingObject class implements root object for all swing components.


Field Summary
static java.lang.String __VERSION
           
 
Constructor Summary
LySwingObject(LyComponent viewComponent)
          Constructs abstract graphical component.
 
Method Summary
 int[] getBounds(LyComponent parent)
          (non-Javadoc)
 int[] getChildrenBounds(LyComponent children)
          (non-Javadoc)
 java.awt.Component getComponent()
          (non-Javadoc).
static java.awt.Frame getDefaultFrame()
          Returns a default frame.
 
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
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LySwingObject

public LySwingObject(LyComponent viewComponent)
Constructs abstract graphical component.

Parameters:
viewComponent - current view component
Method Detail

getDefaultFrame

public static java.awt.Frame getDefaultFrame()
Returns a default frame.

Returns:
The default frame.

getComponent

public java.awt.Component getComponent()
(non-Javadoc).

Specified by:
getComponent in interface LySwingComponent
Returns:
this Swing view component
See Also:
LySwingComponent.getComponent()

getBounds

public int[] getBounds(LyComponent parent)
(non-Javadoc)

Overrides:
getBounds in class LyGraphicalObject
Returns:
an array of 4 integers (x position, y position, width, height) representing the position and size of current component.
See Also:
LyGraphicalObject.getBounds(leon.view.LyComponent)

getChildrenBounds

public int[] getChildrenBounds(LyComponent children)
(non-Javadoc)

Overrides:
getChildrenBounds in class LyGraphicalObject
Returns:
an array of 4 integers (x position, y position, width, height) representing the position and size of given sub component.
See Also:
LyGraphicalObject.getChildrenBounds(leon.view.LyComponent)

(c) January 2013 - W4 S.A.

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