|
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.fieldItem.LyJQFieldItem
leon.view.web.jquery.component.panel.LyJQPanel
leon.view.web.jquery.component.form.LyJQForm
public class LyJQForm
Type : leon.view.web.web2.component.form.LyJQForm The peer component of LyForm for the web2 viewer.
Field Summary | |
---|---|
static boolean |
COMPOSITION_TABLE_WORKAROUND
Workaround for IE 5.0 and tables width within forms. |
static int |
DECO_CAPTION_PARAMETER
Constant used to generate CSS class name for caption. |
static int |
DECO_ITEM_PARAMETER
Constant used to generate CSS class name for field item. |
static int |
LABEL_LENGTH_WRAP
Maximum length for not wrapped labels. |
Fields inherited from class leon.view.web.jquery.component.fieldItem.LyJQFieldItem |
---|
__VERSION |
Fields inherited from class leon.view.web.LyWebObject |
---|
WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID |
Fields inherited from interface leon.view.graphic.LyGraphicalForm |
---|
__VERSION |
Fields inherited from interface leon.view.setinterface.LySetEnabledInterface |
---|
__VERSION |
Fields inherited from interface leon.view.setinterface.LyResetContentInterface |
---|
__VERSION |
Fields inherited from interface leon.view.setinterface.LySetPopupMenuInterface |
---|
__VERSION |
Constructor Summary | |
---|---|
LyJQForm(LyForm form)
Constructor |
Method Summary | |
---|---|
void |
computeColSpans()
Compute ColSpans of the form fields. |
java.lang.String |
getAlign(LyForm form)
Get form align |
int |
getCellHeight(LyFormField formField)
Returns the height of the HTML cell containing given field if fixed. |
int |
getCellLeftPadding(LyFormField formField)
Returns the left padding of the HTML cell containing given field. |
int |
getCellRightPadding(LyFormField formField)
Returns the right padding of the HTML cell containing given field. |
int |
getCellWidth(LyFormField formField)
Returns the width of the HTML cell containing given field if fixed. |
java.util.List<LyFormField> |
getFormFieldList()
|
boolean |
isForm()
|
void |
resetContent()
(non-Javadoc) |
void |
resetContent(boolean full)
(non-Javadoc) |
void |
setEditable(boolean editable)
(non-Javadoc) |
void |
setEnabled(boolean status)
(non-Javadoc) |
void |
setPopupMenu(LyPopupMenu popup)
(non-Javadoc) |
void |
writeHtml(LyWebPageWriter pw)
Write HTML description corresponding to this component. |
Methods inherited from class leon.view.web.jquery.component.panel.LyJQPanel |
---|
isChart, isForm, isGantt, isMap, isNotice, isPanel, isTable, isTree |
Methods inherited from class leon.view.web.jquery.component.fieldItem.LyJQFieldItem |
---|
canDisabled, getCaption, getController, getFieldItem, getForm, getFormField, getReloadScript, getTarget, isEditable, isEnabled, isLabelInstance, isMail, isNetscape, isOptional, isPrintMode, isUrl, isUrlRecurse, needCheck, setLabel |
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, 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 |
Field Detail |
---|
public static boolean COMPOSITION_TABLE_WORKAROUND
public static int DECO_CAPTION_PARAMETER
public static int LABEL_LENGTH_WRAP
public static int DECO_ITEM_PARAMETER
Constructor Detail |
---|
public LyJQForm(LyForm form)
form
- Method Detail |
---|
public void setPopupMenu(LyPopupMenu popup)
setPopupMenu
in interface LySetPopupMenuInterface
setPopupMenu
in class LyJQPanel
popup
- the new popup menuLyJQPanel.setPopupMenu(leon.view.LyPopupMenu)
public void resetContent()
resetContent
in interface LyResetContentInterface
LyResetContentInterface.resetContent()
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 setEnabled(boolean status)
setEnabled
in interface LySetEnabledInterface
LySetEnabledInterface.setEnabled(boolean)
public void setEditable(boolean editable)
setEditable
in interface LyGraphicalForm
setEditable
in interface LySetEditableInterface
editable
- Boolean indicating if attribute editable is set or unset.LyGraphicalForm.setEditable(boolean)
public java.lang.String getAlign(LyForm form)
form
-
public java.util.List<LyFormField> getFormFieldList()
public boolean isForm()
public void computeColSpans()
pw
- the page writerpublic int getCellWidth(LyFormField formField)
public int getCellHeight(LyFormField formField)
public int getCellLeftPadding(LyFormField formField)
public int getCellRightPadding(LyFormField formField)
public void writeHtml(LyWebPageWriter pw)
LyWebComponent
writeHtml
in interface LyWebComponent
writeHtml
in class LyJQFieldItem
pw
- the page writer
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |