|
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.LyDialogBase
public abstract class LyDialogBase
The LyDialogBase class is a generated Java implementation that corresponds to the element DIALOG of the descriptive grammar of the views (views.dtd). <DIALOG> : Dialog Window A dialog window is, generally, linked to a main window of an application. Unlike the main window, it contains neither a menu, nor a message bar. Its display can be modal (blocking) or not. This type of window is generally used to allow a user to interact with an application: input request, presentation of the results, warning messages, questions, etc.
LyView
,
See also tag DIALOG 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 | |
---|---|
LyDialogBase(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. |
java.lang.String |
getId()
Gets value of id. |
java.lang.String |
getLabel()
Gets value of label. |
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. |
LyDialog |
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 |
isModal()
Checks if value of attribute modal 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 |
setLabel(java.lang.String label)
Sets attribute label to the given value. |
void |
setMinHeight(int minHeight)
Initializes attribute minHeight to the given value. |
void |
setMinWidth(int minWidth)
Initializes attribute minWidth to the given value. |
void |
setModal(boolean modal)
Initializes attribute modal 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(LyDialog 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 LyDialogBase(java.lang.String id)
id
- Identifier of the dialog windowMethod Detail |
---|
public LyComponent cloneComponent()
cloneComponent
in class LyComponent
public java.lang.String getId()
getId
in interface LyGetIdInterface
getId
in class LyView
public LyDialog 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 int getMinWidth()
getMinWidth
in class LyView
public int getMinHeight()
getMinHeight
in class LyView
public int getX()
public int getY()
public boolean isModal()
public boolean isDecorated()
public java.lang.String getTarget()
public LyArea getArea()
getArea
in class LyView
public void setTemplate(LyDialog 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 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 setModal(boolean modal)
modal
- Boolean indicating if attribute modal is set or unset.public void setDecorated(boolean decorated)
decorated
- Boolean indicating if attribute decorated is set or unset.public void setTarget(java.lang.String target)
target
- New value of target.public void setArea(LyArea area)
setArea
in class LyView
area
- New value of areapublic 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 |