|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.view.LyComponent
leon.view.LyView
leon.view.LyFrameBase
public abstract class LyFrameBase
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).
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 java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyFrameBase(java.lang.String id)
id
- Identifier of the main windowMethod Detail |
---|
public LyComponent cloneComponent()
cloneComponent
in class LyComponent
public java.lang.String getId()
getId
in interface LyGetIdInterface
getId
in class LyView
public LyFrame getTemplate()
public java.lang.String getLabel()
getLabel
in interface LyGetLabelInterface
public java.lang.String getController()
getController
in interface LyGetControllerInterface
getController
in class LyView
public java.lang.String getParentId()
public int getWidth()
public int getHeight()
public boolean isResizable()
isResizable
in class LyView
public boolean isDecorated()
public int getMinWidth()
getMinWidth
in class LyView
public int getMinHeight()
getMinHeight
in class LyView
public int getX()
public int getY()
public java.lang.String getTarget()
public LyIcon getIcon()
public LyMenuBar getMenuBar()
public LyArea getArea()
getArea
in class LyView
public LyMessages getMessages()
public void setTemplate(LyFrame template)
template
- New value of template.public void setLabel(java.lang.String label)
setLabel
in interface LySetLabelInterface
setLabel
in class LyView
label
- New value of label.public void setController(java.lang.String controller)
setController
in interface LySetControllerInterface
controller
- New value of controller.LySetControllerInterface.setController(java.lang.String)
public void setParentId(java.lang.String parentId)
parentId
- New value of parentId.public void setWidth(int width)
width
- New value of width.public void setHeight(int height)
height
- New value of height.public void setResizable(boolean resizable)
setResizable
in class LyView
resizable
- Boolean indicating if attribute resizable is set or unset.public void setDecorated(boolean decorated)
decorated
- Boolean indicating if attribute decorated is set or unset.public void setMinWidth(int minWidth)
minWidth
- New value of minWidth.public void setMinHeight(int minHeight)
minHeight
- New value of minHeight.public void setX(int x)
x
- New value of x.public void setY(int y)
y
- New value of y.public void setTarget(java.lang.String target)
target
- New value of target.public void setIcon(LyIcon icon)
icon
- New value of iconpublic void setMenuBar(LyMenuBar menuBar)
menuBar
- New value of menuBarpublic void setArea(LyArea area)
setArea
in class LyView
area
- New value of areapublic void setMessages(LyMessages messages)
messages
- New value of messagespublic void writeXml(java.io.PrintWriter pw, boolean debug)
writeXml
in class LyComponent
pw
- the printWriter on which the XML is written.debug
- true if debug mode (full dump).
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |