|
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.form.field.relation.LyJQRelation
public class LyJQRelation
This class implements the Relation object (as described in the DTD) for web2 viewer.
RELATION: Input Field of Relation Type
An input field of Relation type allows to choose one or more values among a list of values. This list offers
generally application objects belonging to a same class and is used to establish a relation between an object and one
or more objects of this class. It is possible to specify if the relation is multiple or not.
LyRelation
Field Summary |
---|
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.LyGraphicalRelation |
---|
__VERSION |
Fields inherited from interface leon.view.getinterface.LyGetValueInterface |
---|
__VERSION |
Constructor Summary | |
---|---|
LyJQRelation(LyRelation relation)
|
Method Summary | |
---|---|
void |
addLink(LyLink link,
int pos)
(non-Javadoc) |
int |
getHeight()
|
java.lang.String |
getInitialName()
|
java.lang.String |
getLeftHeaderLabel()
|
java.util.List<LyLink> |
getLinksList()
Collect the links of the relation in a list. |
int |
getMaxWidth()
Return the maximum width of the relation in pixels. |
int |
getMinWidth()
Return the minimum width of the relation in pixels. |
java.lang.String |
getReloadScript()
(non-Javadoc) |
java.lang.String |
getRightHeaderLabel()
|
java.lang.String |
getSelectAllLabel()
|
int |
getSize()
|
java.lang.String |
getUnselectAllLabel()
|
java.lang.String |
getValue()
(non-Javadoc) |
int |
getWidth()
Return the width of the relation in pixels. |
boolean |
isAutoCompletion()
Check if relation has autoCompletion |
boolean |
isRelation()
|
void |
removeLink(LyLink link)
(non-Javadoc) |
Methods inherited from class leon.view.web.jquery.component.fieldItem.LyJQFieldItem |
---|
canDisabled, getCaption, getController, getFieldItem, getForm, getFormField, getTarget, isEditable, isEnabled, isLabelInstance, isMail, isNetscape, isOptional, isPrintMode, isUrl, isUrlRecurse, needCheck, setLabel, writeHtml |
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 |
Constructor Detail |
---|
public LyJQRelation(LyRelation relation)
Method Detail |
---|
public java.lang.String getValue()
getValue
in interface LyGetValueInterface
LyGetValueInterface.getValue()
public java.lang.String getInitialName()
public boolean isAutoCompletion()
public void addLink(LyLink link, int pos)
addLink
in interface LyGraphicalRelation
addLink
in interface LySetLinksInterface
link
- The links to add to links list.pos
- Position where the sub-component is inserted.LyGraphicalRelation.addLink(leon.view.LyLink, int)
public void removeLink(LyLink link)
removeLink
in interface LyGraphicalRelation
removeLink
in interface LySetLinksInterface
link
- The links to remove to links list.LyGraphicalRelation.removeLink(leon.view.LyLink)
public java.lang.String getReloadScript()
getReloadScript
in class LyJQFieldItem
LyJQFieldItem.getReloadScript()
public java.util.List<LyLink> getLinksList()
public int getHeight()
public int getWidth()
public int getMinWidth()
public int getMaxWidth()
public int getSize()
public java.lang.String getSelectAllLabel()
public java.lang.String getUnselectAllLabel()
public java.lang.String getLeftHeaderLabel()
public java.lang.String getRightHeaderLabel()
public boolean isRelation()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |