|
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.web.LyWebObject
leon.view.web.jquery.component.LyJQInternalView
leon.view.web.jquery.component.form.field.LyJQFormField
public class LyJQFormField
Type : leon.view.web.web2.component.form.field.LyWeb2FormField The peer component of LyFormField for the web2 viewer.
Field Summary |
---|
Fields inherited from class leon.view.web.LyWebObject |
---|
__VERSION, WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID |
Fields inherited from interface leon.view.graphic.LyGraphicalFormField |
---|
__VERSION |
Fields inherited from interface leon.view.setinterface.LyResetContentInterface |
---|
__VERSION |
Fields inherited from interface leon.view.setinterface.LySetFocusInterface |
---|
__VERSION |
Constructor Summary | |
---|---|
LyJQFormField(LyFormField field)
Constructor |
Method Summary | |
---|---|
int |
getColSpan()
|
int |
getColWeight()
|
int |
getColWeight(LyConstraint constraint)
Get field's weight |
java.lang.String |
getHAlign()
|
java.lang.String |
getHtmlHAlignment(LyConstraintBase.HAlign alignCode)
Gets the html horizontal alignment string corresponding to the LyConstraint alignment. |
static java.lang.String |
getHtmlVAlignment(LyConstraintBase.VAlign alignCode)
Gets the html vertical alignment string corresponding to the LyConstraint alignment. |
java.lang.String |
getReloadScript()
this method is to be implemented by internal views to get the reload script for the page element |
int |
getRowSpan()
|
java.lang.String |
getVAlign()
|
java.lang.String |
getWarningColor(LyFormField field)
Gets the warning color |
short |
getWarningState(LyFormField field)
Gets the warning state short |
boolean |
isIconInstance(LyFieldItem fieldItem)
Indicates if the field item is a icon component. |
boolean |
isLyAreaInstance(LyComponent item)
Check if field is a lyArea |
boolean |
isLyBooleanInstance(LyComponent item)
|
boolean |
isLyChoiceInstance(LyComponent item)
|
boolean |
isLyDateInstance(LyComponent item)
|
boolean |
isLyDictionaryInstance(LyComponent item)
Check if the field is a LyDictionary instance. |
boolean |
isLyFileInstance(LyComponent item)
|
boolean |
isLyGaugeInstance(LyComponent item)
|
boolean |
isLyHrefInstance(LyComponent item)
|
boolean |
isLyHrefsInstance(LyComponent item)
|
boolean |
isLyLabelInstance(LyComponent item)
Check if field is a LyText instance |
boolean |
isLyLinkInstance(LyComponent item)
Check if the field is a LyLink instance. |
boolean |
isLyListInstance(LyComponent item)
|
boolean |
isLyNumberInstance(LyComponent item)
|
boolean |
isLyRelationInstance(LyComponent item)
Check if the field is a LyRelation instance. |
boolean |
isLyTableInstance(LyComponent item)
Check if field is a lyTable |
boolean |
isLyTextInstance(LyComponent item)
Check if field is a LyText instance |
boolean |
isMakeTable()
|
boolean |
isPanelInstance(LyComponent item)
|
void |
reloadComponent()
|
void |
resetContent()
Reset the view for a new XML Structure. |
void |
resetContent(boolean full)
(non-Javadoc) |
void |
setChecked(boolean checked)
Updates attribute checked to the given value. |
void |
setColSpan(int colSpan)
|
void |
setColWeight(int colWeight)
|
void |
setEditable(boolean editable)
Updates attribute editable to the given value. |
void |
setEnabled(boolean enabled)
Updates attribute enabled to the given value. |
void |
setFocus()
Method used to set the focus. |
void |
setHAlign(java.lang.String hAlign)
|
void |
setHidden(boolean hidden)
(non-Javadoc) |
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 |
setRowSpan(int rowSpan)
|
void |
setState(short state)
Updates attribute state to the given value. |
void |
setToolBar(LyToolBar toolBar)
Sets sub-component toolBar. |
void |
setVAlign(java.lang.String vAlign)
|
void |
writeHtml(LyWebPageWriter pw)
Write HTML description corresponding to this component. |
Methods inherited from class leon.view.web.jquery.component.LyJQInternalView |
---|
getConvertedHTML, getEncoding, getId, getJavascriptStrId, getJSWithoutTranslateString, getTreatedInternalId, isIE, setProperty |
Methods inherited from class leon.view.web.LyWebObject |
---|
addFileScript, decodeUrl, displayUpPage, encodeUrl, encodeUrlXhtml, expandUrl, free, getDisabledImageUrl, getFontSize, getFontString, getFontString, getFontString, getHexColor, getHexColor, getHtmlEntitiesString, getHtmlString, getImageSize, getImageSize, getImageUrl, getJavascriptString, getLastFrameName, getLyFont, getMessage, getRootUrl, getRootURL, getScrollHeightForSplitter, getUrl, getWebViewManager, refresh, replaceUrl, replaceUrl, setUpdating, updateRefreshInfo, writeJson |
Methods inherited from class leon.view.graphic.LyGraphicalObject |
---|
expand, getBounds, getChildrenBounds, getController, getEnv, getEnvironment, getIdCode, getIntResource, 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 |
Constructor Detail |
---|
public LyJQFormField(LyFormField field)
field
- Method Detail |
---|
public boolean isMakeTable()
public short getWarningState(LyFormField field)
field
-
public java.lang.String getWarningColor(LyFormField field)
field
-
public java.lang.String getHtmlHAlignment(LyConstraintBase.HAlign alignCode)
alignCode
- the LyConstraint halign code.
public static java.lang.String getHtmlVAlignment(LyConstraintBase.VAlign alignCode)
alignCode
- the LyConstraint valign code.
public int getColWeight(LyConstraint constraint)
constraint
-
public boolean isLyTextInstance(LyComponent item)
item
-
public boolean isLyDateInstance(LyComponent item)
public boolean isLyHrefInstance(LyComponent item)
public boolean isLyHrefsInstance(LyComponent item)
public boolean isPanelInstance(LyComponent item)
public boolean isLyChoiceInstance(LyComponent item)
public boolean isLyBooleanInstance(LyComponent item)
public boolean isLyNumberInstance(LyComponent item)
public boolean isLyGaugeInstance(LyComponent item)
public boolean isLyListInstance(LyComponent item)
public boolean isLyFileInstance(LyComponent item)
public boolean isIconInstance(LyFieldItem fieldItem)
public boolean isLyRelationInstance(LyComponent item)
item
- : represent the field to be checked.
public boolean isLyDictionaryInstance(LyComponent item)
item
- : represent the field to be checked.
public boolean isLyLinkInstance(LyComponent item)
item
- : represent the field to be checked.
public boolean isLyLabelInstance(LyComponent item)
item
-
public boolean isLyAreaInstance(LyComponent item)
item
-
public boolean isLyTableInstance(LyComponent item)
item
-
public void setChecked(boolean checked)
LyGraphicalFormField
setChecked
in interface LyGraphicalFormField
checked
- Boolean indicating if attribute checked is set or unset.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 setEnabled(boolean enabled)
LyGraphicalFormField
setEnabled
in interface LyGraphicalFormField
setEnabled
in interface LySetEnabledInterface
enabled
- Boolean indicating if attribute enabled is set or unset.public void setHidden(boolean hidden)
setHidden
in interface LyGraphicalFormField
setHidden
in interface LySetHiddenInterface
hidden
- Boolean indicating if attribute hidden is set or unset.LyGraphicalFormField.setHidden(boolean)
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 setState(short state)
LyGraphicalFormField
setState
in interface LyGraphicalFormField
setState
in interface LySetStateInterface
state
- New value of state.public void setToolBar(LyToolBar toolBar)
LyGraphicalFormField
setToolBar
in interface LyGraphicalFormField
toolBar
- New value of toolBarpublic void resetContent()
LyResetContentInterface
resetContent
in interface LyResetContentInterface
public void resetContent(boolean full)
resetContent
in interface LyResetContentInterface
full
- indicates whether old components must be removed from graphical view.LyResetContentInterface.resetContent(boolean)
public void setFocus()
LySetFocusInterface
setFocus
in interface LySetFocusInterface
public void writeHtml(LyWebPageWriter pw)
LyWebComponent
writeHtml
in interface LyWebComponent
pw
- the page writerpublic void reloadComponent()
public java.lang.String getReloadScript()
LyJQInternalView
getReloadScript
in class LyJQInternalView
public int getColSpan()
public void setColSpan(int colSpan)
colSpan
- the colSpan to setpublic int getRowSpan()
public void setRowSpan(int rowSpan)
rowSpan
- the rowSpan to setpublic int getColWeight()
public void setColWeight(int colWeight)
colWeight
- the colWeight to setpublic java.lang.String getVAlign()
public void setVAlign(java.lang.String vAlign)
vAlign
- the vAlign to setpublic java.lang.String getHAlign()
public void setHAlign(java.lang.String hAlign)
hAlign
- the hAlign to setpublic void setMessage(java.lang.String message)
LyGraphicalFormField
setMessage
in interface LyGraphicalFormField
message
- New value of message.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |