LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view
Class LyFrameBase

java.lang.Object
  extended by leon.view.LyComponent
      extended by leon.view.LyView
          extended by leon.view.LyFrameBase
All Implemented Interfaces:
LyGetBoundsInterface, LyGetControllerInterface, LyGetIdInterface, LyGetLabelInterface, LySetBoundsInterface, LySetControllerInterface, LySetLabelInterface, LySetVisibleInterface, LySetWaitingInterface
Direct Known Subclasses:
LyFrame

public abstract class LyFrameBase
extends LyView
implements LyGetIdInterface, LyGetLabelInterface, LySetLabelInterface, LyGetControllerInterface, LySetControllerInterface

The LyFrameBase class is a generated Java implementation that corresponds to the element FRAME of the descriptive grammar of the views (views.dtd). <FRAME> : Main Window The root of an XML file describing a complete Application Engine view is an element of main window or dialog window type (see the next chapter).

See Also:
LyView, See also tag FRAME of grammar leon_views.dtd.

Nested Class Summary
 
Nested classes/interfaces inherited from class leon.view.LyComponent
LyComponent.EventType
 
Field Summary
static java.lang.String __VERSION
           
 
Fields inherited from class leon.view.LyView
_nbViews
 
Fields inherited from class leon.view.LyComponent
_nbComponents, INIT_RESOURCE_ID, INTERNAL_ID_SEP, REWRITING_MODE, SEP_ID
 
Constructor Summary
LyFrameBase(java.lang.String id)
          Constructor with all required attributes.
 
Method Summary
 LyComponent cloneComponent()
          Method for cloning a component.
 LyArea getArea()
          Get sub-component Area.
 java.lang.String getController()
          Gets value of controller.
 int getHeight()
          Gets value of height.
 LyIcon getIcon()
          Get sub-component Icon.
 java.lang.String getId()
          Gets value of id.
 java.lang.String getLabel()
          Gets value of label.
 LyMenuBar getMenuBar()
          Get sub-component MenuBar.
 LyMessages getMessages()
          Get sub-component Messages.
 int getMinHeight()
          Gets value of minHeight.
 int getMinWidth()
          Gets value of minWidth.
 java.lang.String getParentId()
          Gets value of parentId.
 java.lang.String getTarget()
          Gets value of target.
 LyFrame getTemplate()
          Gets value of template.
 int getWidth()
          Gets value of width.
 int getX()
          Gets value of x.
 int getY()
          Gets value of y.
 boolean isDecorated()
          Checks if value of attribute decorated is set.
 boolean isResizable()
          Checks if value of attribute resizable is set.
 void setArea(LyArea area)
          Sets sub-component area.
 void setController(java.lang.String controller)
          Initializes attribute controller to the given value.
 void setDecorated(boolean decorated)
          Initializes attribute decorated to the given value.
 void setHeight(int height)
          Initializes attribute height to the given value.
 void setIcon(LyIcon icon)
          Sets sub-component icon.
 void setLabel(java.lang.String label)
          Sets attribute label to the given value.
 void setMenuBar(LyMenuBar menuBar)
          Sets sub-component menuBar.
 void setMessages(LyMessages messages)
          Sets sub-component messages.
 void setMinHeight(int minHeight)
          Initializes attribute minHeight to the given value.
 void setMinWidth(int minWidth)
          Initializes attribute minWidth to the given value.
 void setParentId(java.lang.String parentId)
          Initializes attribute parentId to the given value.
 void setResizable(boolean resizable)
          Initializes attribute resizable to the given value.
 void setTarget(java.lang.String target)
          Initializes attribute target to the given value.
 void setTemplate(LyFrame template)
          Initializes attribute template to the given value.
 void setWidth(int width)
          Initializes attribute width to the given value.
 void setX(int x)
          Initializes attribute x to the given value.
 void setY(int y)
          Initializes attribute y to the given value.
 void writeXml(java.io.PrintWriter pw, boolean debug)
          Method to rewrite XML corresponding to this component.
 
Methods inherited from class leon.view.LyView
free, getEnvironment, getLocation, getSize, isVisible, setEnvironment, setLocation, setSize, setVisible, setWaiting, writeXml
 
Methods inherited from class leon.view.LyComponent
addComponent, addData, addEventFunction, clearChildrenBounds, freeze, getBounds, getChild, getChildCount, getChildFromCache, getChildrenBounds, getComponent, getComponent, getComponent, getComponent, getComponent, getComponentAt, getComponentAt, getComponentByInternalId, getComponentByLabel, getComponents, getComponentWithModel, getData, getDatas, getEventFunctions, getIdCode, getInternalId, getInternalView, getInternalView, getLock, getModel, getParent, getParentArea, getParentForm, getParentFormFieldId, getParentSplitter, getParentSplitter, getParentTab, getParentTab, getParentTabs, getParentTabs, getParentView, getRootController, getSetVisibleParent, getTag, getViewManager, isFreed, isFreeing, registerChildrenBounds, removeComponent, reset, resetChildrenCache, resetEventFunctions, setDatas, setInternalView, useEventDefaultFunction, writeXml
 
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

LyFrameBase

public LyFrameBase(java.lang.String id)
Constructor with all required attributes.

Parameters:
id - Identifier of the main window
Method Detail

cloneComponent

public LyComponent cloneComponent()
Method for cloning a component.

Specified by:
cloneComponent in class LyComponent

getId

public java.lang.String getId()
Gets value of id.

Specified by:
getId in interface LyGetIdInterface
Specified by:
getId in class LyView
Returns:
value of id.

getTemplate

public LyFrame getTemplate()
Gets value of template.

Returns:
value of template.

getLabel

public java.lang.String getLabel()
Gets value of label.

Specified by:
getLabel in interface LyGetLabelInterface
Returns:
value of label.

getController

public java.lang.String getController()
Gets value of controller.

Specified by:
getController in interface LyGetControllerInterface
Specified by:
getController in class LyView
Returns:
value of controller.

getParentId

public java.lang.String getParentId()
Gets value of parentId.

Returns:
value of parentId.

getWidth

public int getWidth()
Gets value of width.

Returns:
value of width.

getHeight

public int getHeight()
Gets value of height.

Returns:
value of height.

isResizable

public boolean isResizable()
Checks if value of attribute resizable is set.

Specified by:
isResizable in class LyView
Returns:
true if resizable is set, false otherwise.

isDecorated

public boolean isDecorated()
Checks if value of attribute decorated is set.

Returns:
true if decorated is set, false otherwise.

getMinWidth

public int getMinWidth()
Gets value of minWidth.

Specified by:
getMinWidth in class LyView
Returns:
value of minWidth.

getMinHeight

public int getMinHeight()
Gets value of minHeight.

Specified by:
getMinHeight in class LyView
Returns:
value of minHeight.

getX

public int getX()
Gets value of x.

Returns:
value of x.

getY

public int getY()
Gets value of y.

Returns:
value of y.

getTarget

public java.lang.String getTarget()
Gets value of target.

Returns:
value of target.

getIcon

public LyIcon getIcon()
Get sub-component Icon.

Returns:
sub-component Icon.

getMenuBar

public LyMenuBar getMenuBar()
Get sub-component MenuBar.

Returns:
sub-component MenuBar.

getArea

public LyArea getArea()
Get sub-component Area.

Specified by:
getArea in class LyView
Returns:
sub-component Area.

getMessages

public LyMessages getMessages()
Get sub-component Messages.

Returns:
sub-component Messages.

setTemplate

public void setTemplate(LyFrame template)
Initializes attribute template to the given value.

Parameters:
template - New value of template.

setLabel

public void setLabel(java.lang.String label)
Sets attribute label to the given value.

Specified by:
setLabel in interface LySetLabelInterface
Specified by:
setLabel in class LyView
Parameters:
label - New value of label.

setController

public void setController(java.lang.String controller)
Initializes attribute controller to the given value.

Specified by:
setController in interface LySetControllerInterface
Parameters:
controller - New value of controller.
See Also:
LySetControllerInterface.setController(java.lang.String)

setParentId

public void setParentId(java.lang.String parentId)
Initializes attribute parentId to the given value.

Parameters:
parentId - New value of parentId.

setWidth

public void setWidth(int width)
Initializes attribute width to the given value.

Parameters:
width - New value of width.

setHeight

public void setHeight(int height)
Initializes attribute height to the given value.

Parameters:
height - New value of height.

setResizable

public void setResizable(boolean resizable)
Initializes attribute resizable to the given value.

Specified by:
setResizable in class LyView
Parameters:
resizable - Boolean indicating if attribute resizable is set or unset.

setDecorated

public void setDecorated(boolean decorated)
Initializes attribute decorated to the given value.

Parameters:
decorated - Boolean indicating if attribute decorated is set or unset.

setMinWidth

public void setMinWidth(int minWidth)
Initializes attribute minWidth to the given value.

Parameters:
minWidth - New value of minWidth.

setMinHeight

public void setMinHeight(int minHeight)
Initializes attribute minHeight to the given value.

Parameters:
minHeight - New value of minHeight.

setX

public void setX(int x)
Initializes attribute x to the given value.

Parameters:
x - New value of x.

setY

public void setY(int y)
Initializes attribute y to the given value.

Parameters:
y - New value of y.

setTarget

public void setTarget(java.lang.String target)
Initializes attribute target to the given value.

Parameters:
target - New value of target.

setIcon

public void setIcon(LyIcon icon)
Sets sub-component icon.

Parameters:
icon - New value of icon

setMenuBar

public void setMenuBar(LyMenuBar menuBar)
Sets sub-component menuBar.

Parameters:
menuBar - New value of menuBar

setArea

public void setArea(LyArea area)
Sets sub-component area.

Specified by:
setArea in class LyView
Parameters:
area - New value of area

setMessages

public void setMessages(LyMessages messages)
Sets sub-component messages.

Parameters:
messages - New value of messages

writeXml

public void writeXml(java.io.PrintWriter pw,
                     boolean debug)
Method to rewrite XML corresponding to this component.

Specified by:
writeXml in class LyComponent
Parameters:
pw - the printWriter on which the XML is written.
debug - true if debug mode (full dump).

(c) January 2013 - W4 S.A.

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