LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view
Class LyDialogBase

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

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

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.

See Also:
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 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

LyDialogBase

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

Parameters:
id - Identifier of the dialog 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 LyDialog 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.

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.

isModal

public boolean isModal()
Checks if value of attribute modal is set.

Returns:
true if modal is set, false otherwise.

isDecorated

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

Returns:
true if decorated is set, false otherwise.

getTarget

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

Returns:
value of target.

getArea

public LyArea getArea()
Get sub-component Area.

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

setTemplate

public void setTemplate(LyDialog 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.

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.

setModal

public void setModal(boolean modal)
Initializes attribute modal to the given value.

Parameters:
modal - Boolean indicating if attribute modal 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.

setTarget

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

Parameters:
target - New value of target.

setArea

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

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

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