|
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.graphic.LyGraphicalObject
leon.view.mobile.LyMobileObject
leon.view.mobile.LyMobileTableObject
leon.view.mobile.LyMobileFormField
public class LyMobileFormField
Field Summary | |
---|---|
static short |
STATE_ERROR
|
static short |
STATE_NORMAL
Possible values for attribute 'state'. |
static short |
STATE_WARNING
|
Fields inherited from class leon.view.mobile.LyMobileObject |
---|
REWRITING_MODE, SEP_ID, WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID |
Fields inherited from class leon.view.graphic.LyGraphicalObject |
---|
__VERSION |
Fields inherited from interface leon.view.graphic.LyGraphicalFormField |
---|
__VERSION |
Constructor Summary | |
---|---|
LyMobileFormField(LyFormField field)
|
Method Summary | |
---|---|
void |
init()
|
void |
setChecked(boolean checked)
Updates attribute checked to the given value. |
void |
setEditable(boolean editable)
Updates attribute editable to the given value. |
void |
setEnabled(boolean enabled)
Updates attribute enabled to the given value. |
void |
setHidden(boolean hidden)
Updates attribute hidden to the given value. |
void |
setMessage(java.lang.String message)
Updates attribute message to the given value. |
void |
setOptional(boolean optional)
Updates attribute optional to the given value. |
void |
setState(short state)
Updates attribute state to the given value. |
void |
setToolBar(LyToolBar toolBar)
Sets sub-component toolBar. |
void |
writeJson(java.io.PrintWriter pw,
java.lang.String sessionId)
|
void |
writeXml(java.io.PrintWriter pw)
Write XML description corresponding to this component. |
int |
writeXml(java.io.PrintWriter pw,
int nb)
|
Methods inherited from class leon.view.mobile.LyMobileObject |
---|
createWebview, expandUrl, getDirForDownloadImage, getImageUrl, getUrl, printJsonAttributeSeparator |
Methods inherited from class leon.view.graphic.LyGraphicalObject |
---|
expand, free, getBounds, getChildrenBounds, getController, getEnv, getEnvironment, getIdCode, getIntResource, getMessage, getMessage, getResource, getString, getString, getString, getViewComponent, getViewManager, isFreed, isFreeing, isImageAnimated, processDemand, processDemand, testResource, translate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface leon.view.graphic.LyGraphicalComponent |
---|
free, getViewComponent |
Field Detail |
---|
public static final short STATE_NORMAL
public static final short STATE_ERROR
public static final short STATE_WARNING
Constructor Detail |
---|
public LyMobileFormField(LyFormField field)
Method Detail |
---|
public void writeXml(java.io.PrintWriter pw)
LyMobileComponent
writeXml
in interface LyMobileComponent
writeXml
in class LyMobileTableObject
pw
- the print writerpublic void writeJson(java.io.PrintWriter pw, java.lang.String sessionId)
writeJson
in interface LyMobileComponent
public void init()
init
in interface LyMobileComponent
init
in class LyMobileTableObject
public void setEditable(boolean editable)
LyGraphicalFormField
setEditable
in interface LyGraphicalFormField
setEditable
in interface LySetEditableInterface
editable
- Boolean indicating if attribute editable is set or unset.public void setOptional(boolean optional)
LyGraphicalFormField
setOptional
in interface LyGraphicalFormField
setOptional
in interface LySetOptionalInterface
optional
- Boolean indicating if attribute optional is set or unset.public void setEnabled(boolean enabled)
LyGraphicalFormField
setEnabled
in interface LyGraphicalFormField
setEnabled
in interface LySetEnabledInterface
enabled
- Boolean indicating if attribute enabled is set or unset.public void setChecked(boolean checked)
LyGraphicalFormField
setChecked
in interface LyGraphicalFormField
checked
- Boolean indicating if attribute checked is set or unset.public void setState(short state)
LyGraphicalFormField
setState
in interface LyGraphicalFormField
setState
in interface LySetStateInterface
state
- New value of state.public void setMessage(java.lang.String message)
LyGraphicalFormField
setMessage
in interface LyGraphicalFormField
message
- New value of message.public void setHidden(boolean hidden)
LyGraphicalFormField
setHidden
in interface LyGraphicalFormField
setHidden
in interface LySetHiddenInterface
hidden
- Boolean indicating if attribute hidden is set or unset.public void setToolBar(LyToolBar toolBar)
LyGraphicalFormField
setToolBar
in interface LyGraphicalFormField
toolBar
- New value of toolBarpublic int writeXml(java.io.PrintWriter pw, int nb)
writeXml
in class LyMobileTableObject
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |