|
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.LyFieldItem
leon.view.LyPanel
leon.view.LyCanvasBase
public abstract class LyCanvasBase
The LyCanvasBase class is a generated Java implementation that corresponds to the element CANVAS of the descriptive grammar of the views (views.dtd). <CANVAS> : Canvas A canvas is a drawing area fully controlled by an external component. It allows a simple integration of external graphical libraries in a Application Engine application.
LyPanel
,
See also tag CANVAS 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.LyComponent |
---|
_nbComponents, INIT_RESOURCE_ID, INTERNAL_ID_SEP, REWRITING_MODE, SEP_ID |
Constructor Summary | |
---|---|
LyCanvasBase(java.lang.String javaName)
Constructor with all required attributes. |
Method Summary | |
---|---|
LyComponent |
cloneComponent()
Method for cloning a component. |
LyConstraint |
getConstraint()
Get sub-component Constraint. |
java.lang.String |
getController()
Gets value of controller. |
java.lang.String |
getId()
Gets value of id. |
java.lang.String |
getJavaName()
Gets value of javaName. |
LyCanvas |
getTemplate()
Gets value of template. |
java.lang.String |
getUserData()
Gets value of userData. |
void |
setConstraint(LyConstraint constraint)
Sets sub-component constraint. |
void |
setController(java.lang.String controller)
Initializes attribute controller to the given value. |
void |
setId(java.lang.String id)
Initializes attribute id to the given value. |
void |
setJavaName(java.lang.String javaName)
Initializes attribute javaName to the given value. |
void |
setTemplate(LyCanvas template)
Initializes attribute template to the given value. |
void |
setUserData(java.lang.String userData)
Initializes attribute userData 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.LyPanel |
---|
generatePdf, getLastModified, isIdle, isScrollable, print, setIdle, setLastModified, setPopupMenu, setWaiting |
Methods inherited from class leon.view.LyFieldItem |
---|
addBeanData, buildBean, free, getBean, getBeanComponent, getBeanData, getBeanDatas, getChild, getChildCount, getErrorMessage, getFieldValue, getValue, setBean, setBeanComponent, setBeanDatas, setFieldValue, setLabel, updateViewContent, validateInput |
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 LyCanvasBase(java.lang.String javaName)
javaName
- Java full name of the class that manages the drawing on the canvas and interactions of the end-user on this drawing area.Method Detail |
---|
public LyComponent cloneComponent()
cloneComponent
in class LyComponent
public java.lang.String getId()
getId
in interface LyGetIdInterface
getId
in class LyComponent
public LyCanvas getTemplate()
public java.lang.String getJavaName()
public java.lang.String getController()
getController
in interface LyGetControllerInterface
public java.lang.String getUserData()
public LyConstraint getConstraint()
getConstraint
in interface LyGetConstraintInterface
public void setId(java.lang.String id)
id
- New value of id.public void setTemplate(LyCanvas template)
template
- New value of template.public void setJavaName(java.lang.String javaName)
javaName
- New value of javaName.
java.lang.IllegalArgumentException
- if javaName is null.public void setController(java.lang.String controller)
setController
in interface LySetControllerInterface
controller
- New value of controller.LySetControllerInterface.setController(java.lang.String)
public void setUserData(java.lang.String userData)
userData
- New value of userData.public void setConstraint(LyConstraint constraint)
constraint
- New value of constraintpublic 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 |