|
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.LyRelationBase
public abstract class LyRelationBase
The LyRelationBase class is a generated Java implementation that corresponds to the element RELATION of the descriptive grammar of the views (views.dtd). <RELATION> : Input Field of Relation Type An input field of Relation type allows choosing 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 whether the relation is multiple or not.
LyFieldItem
,
See also tag RELATION 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 | |
---|---|
LyRelationBase()
Default constructor. |
Method Summary | |
---|---|
void |
addLink(LyLink link)
Adds a sub-component link. |
LyComponent |
cloneComponent()
Method for cloning a component. |
java.lang.String |
getArrowDownBig()
Gets value of arrowDownBig. |
int |
getAutoCompletionMax()
Gets value of autoCompletionMax. |
java.lang.String |
getBean()
Gets value of bean. |
java.lang.String |
getDeselectAllImage()
Gets value of deselectAllImage. |
java.lang.String |
getDeselectImage()
Gets value of deselectImage. |
java.lang.String |
getDisabledColor()
Gets value of disabledColor. |
java.lang.String |
getEnabledColor()
Gets value of enabledColor. |
java.lang.String |
getFont()
Gets value of font. |
java.lang.String |
getFontColor()
Gets value of fontColor. |
java.lang.String |
getId()
Gets value of id. |
java.lang.String |
getInactiveSelectedColor()
Gets value of inactiveSelectedColor. |
LyLink |
getLink(int i)
Get sub-component Link of index i. |
int |
getLinkCount()
Get sub-component Link count. |
java.lang.String |
getMoveDownImage()
Gets value of moveDownImage. |
java.lang.String |
getMoveUpImage()
Gets value of moveUpImage. |
java.lang.String |
getMultiSelectorSelectImage()
Gets value of multiSelectorSelectImage. |
java.lang.String |
getMultiSelectorUnselectImage()
Gets value of multiSelectorUnselectImage. |
int |
getNCols()
Gets value of nCols. |
int |
getNRows()
Gets value of nRows. |
java.lang.String |
getSelectAllImage()
Gets value of selectAllImage. |
java.lang.String |
getSelectedColor()
Gets value of selectedColor. |
java.lang.String |
getSelectedFontColor()
Gets value of selectedFontColor. |
java.lang.String |
getSelectImage()
Gets value of selectImage. |
LyRelation |
getTemplate()
Gets value of template. |
void |
insertLink(LyLink link,
int pos)
Inserts a sub-component link at given position. |
boolean |
isDefaultArrowDownBig()
Checks whether the arrowDownBig attribute is valuated to the default value. |
boolean |
isDefaultDeselectAllImage()
Checks whether the deselectAllImage attribute is valuated to the default value. |
boolean |
isDefaultDeselectImage()
Checks whether the deselectImage attribute is valuated to the default value. |
boolean |
isDefaultDisabledColor()
Checks whether the disabledColor attribute is valuated to the default value. |
boolean |
isDefaultEnabledColor()
Checks whether the enabledColor attribute is valuated to the default value. |
boolean |
isDefaultFont()
Checks whether the font attribute is valuated to the default value. |
boolean |
isDefaultFontColor()
Checks whether the fontColor attribute is valuated to the default value. |
boolean |
isDefaultInactiveSelectedColor()
Checks whether the inactiveSelectedColor attribute is valuated to the default value. |
boolean |
isDefaultMoveDownImage()
Checks whether the moveDownImage attribute is valuated to the default value. |
boolean |
isDefaultMoveUpImage()
Checks whether the moveUpImage attribute is valuated to the default value. |
boolean |
isDefaultMultiSelectorSelectImage()
Checks whether the multiSelectorSelectImage attribute is valuated to the default value. |
boolean |
isDefaultMultiSelectorUnselectImage()
Checks whether the multiSelectorUnselectImage attribute is valuated to the default value. |
boolean |
isDefaultSelectAllImage()
Checks whether the selectAllImage attribute is valuated to the default value. |
boolean |
isDefaultSelectedColor()
Checks whether the selectedColor attribute is valuated to the default value. |
boolean |
isDefaultSelectedFontColor()
Checks whether the selectedFontColor attribute is valuated to the default value. |
boolean |
isDefaultSelectImage()
Checks whether the selectImage attribute is valuated to the default value. |
boolean |
isMultiple()
Checks if value of attribute multiple is set. |
boolean |
isOrdered()
Checks if value of attribute ordered is set. |
void |
removeLink(LyLink link)
Removes a sub-component link. |
void |
setArrowDownBig(java.lang.String arrowDownBig)
Initializes attribute arrowDownBig to the given value. |
void |
setAutoCompletionMax(int autoCompletionMax)
Initializes attribute autoCompletionMax to the given value. |
void |
setBean(java.lang.String bean)
Initializes attribute bean to the given value. |
void |
setDeselectAllImage(java.lang.String deselectAllImage)
Initializes attribute deselectAllImage to the given value. |
void |
setDeselectImage(java.lang.String deselectImage)
Initializes attribute deselectImage to the given value. |
void |
setDisabledColor(java.lang.String disabledColor)
Initializes attribute disabledColor to the given value. |
void |
setEnabledColor(java.lang.String enabledColor)
Initializes attribute enabledColor to the given value. |
void |
setFont(java.lang.String font)
Initializes attribute font to the given value. |
void |
setFontColor(java.lang.String fontColor)
Initializes attribute fontColor to the given value. |
void |
setId(java.lang.String id)
Initializes attribute id to the given value. |
void |
setInactiveSelectedColor(java.lang.String inactiveSelectedColor)
Initializes attribute inactiveSelectedColor to the given value. |
void |
setMoveDownImage(java.lang.String moveDownImage)
Initializes attribute moveDownImage to the given value. |
void |
setMoveUpImage(java.lang.String moveUpImage)
Initializes attribute moveUpImage to the given value. |
void |
setMultiple(boolean multiple)
Initializes attribute multiple to the given value. |
void |
setMultiSelectorSelectImage(java.lang.String multiSelectorSelectImage)
Initializes attribute multiSelectorSelectImage to the given value. |
void |
setMultiSelectorUnselectImage(java.lang.String multiSelectorUnselectImage)
Initializes attribute multiSelectorUnselectImage to the given value. |
void |
setNCols(int nCols)
Initializes attribute nCols to the given value. |
void |
setNRows(int nRows)
Initializes attribute nRows to the given value. |
void |
setOrdered(boolean ordered)
Initializes attribute ordered to the given value. |
void |
setSelectAllImage(java.lang.String selectAllImage)
Initializes attribute selectAllImage to the given value. |
void |
setSelectedColor(java.lang.String selectedColor)
Initializes attribute selectedColor to the given value. |
void |
setSelectedFontColor(java.lang.String selectedFontColor)
Initializes attribute selectedFontColor to the given value. |
void |
setSelectImage(java.lang.String selectImage)
Initializes attribute selectImage to the given value. |
void |
setTemplate(LyRelation template)
Initializes attribute template 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.LyFieldItem |
---|
addBeanData, buildBean, free, getBeanComponent, getBeanData, getBeanDatas, getChild, getChildCount, getErrorMessage, getFieldValue, getValue, 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 LyRelationBase()
Method Detail |
---|
public LyComponent cloneComponent()
cloneComponent
in class LyComponent
public java.lang.String getId()
getId
in interface LyGetIdInterface
getId
in class LyComponent
public LyRelation getTemplate()
public boolean isMultiple()
public boolean isOrdered()
public java.lang.String getBean()
getBean
in class LyFieldItem
public int getNCols()
public int getNRows()
public int getAutoCompletionMax()
public java.lang.String getFont()
public boolean isDefaultFont()
public java.lang.String getEnabledColor()
public boolean isDefaultEnabledColor()
public java.lang.String getDisabledColor()
public boolean isDefaultDisabledColor()
public java.lang.String getFontColor()
public boolean isDefaultFontColor()
public java.lang.String getSelectImage()
public boolean isDefaultSelectImage()
public java.lang.String getDeselectImage()
public boolean isDefaultDeselectImage()
public java.lang.String getSelectAllImage()
public boolean isDefaultSelectAllImage()
public java.lang.String getDeselectAllImage()
public boolean isDefaultDeselectAllImage()
public java.lang.String getMoveDownImage()
public boolean isDefaultMoveDownImage()
public java.lang.String getMoveUpImage()
public boolean isDefaultMoveUpImage()
public java.lang.String getArrowDownBig()
public boolean isDefaultArrowDownBig()
public java.lang.String getSelectedColor()
public boolean isDefaultSelectedColor()
public java.lang.String getInactiveSelectedColor()
public boolean isDefaultInactiveSelectedColor()
public java.lang.String getSelectedFontColor()
public boolean isDefaultSelectedFontColor()
public java.lang.String getMultiSelectorSelectImage()
public boolean isDefaultMultiSelectorSelectImage()
public java.lang.String getMultiSelectorUnselectImage()
public boolean isDefaultMultiSelectorUnselectImage()
public LyLink getLink(int i)
i
- the index of the Link to get.
public int getLinkCount()
public void setId(java.lang.String id)
id
- New value of id.public void setTemplate(LyRelation template)
template
- New value of template.public void setMultiple(boolean multiple)
multiple
- Boolean indicating if attribute multiple is set or unset.public void setOrdered(boolean ordered)
ordered
- Boolean indicating if attribute ordered is set or unset.public void setBean(java.lang.String bean)
setBean
in class LyFieldItem
bean
- New value of bean.public void setNCols(int nCols)
nCols
- New value of nCols.public void setNRows(int nRows)
nRows
- New value of nRows.public void setAutoCompletionMax(int autoCompletionMax)
autoCompletionMax
- New value of autoCompletionMax.public void setFont(java.lang.String font)
font
- New value of font.public void setEnabledColor(java.lang.String enabledColor)
enabledColor
- New value of enabledColor.public void setDisabledColor(java.lang.String disabledColor)
disabledColor
- New value of disabledColor.public void setFontColor(java.lang.String fontColor)
fontColor
- New value of fontColor.public void setSelectImage(java.lang.String selectImage)
selectImage
- New value of selectImage.public void setDeselectImage(java.lang.String deselectImage)
deselectImage
- New value of deselectImage.public void setSelectAllImage(java.lang.String selectAllImage)
selectAllImage
- New value of selectAllImage.public void setDeselectAllImage(java.lang.String deselectAllImage)
deselectAllImage
- New value of deselectAllImage.public void setMoveDownImage(java.lang.String moveDownImage)
moveDownImage
- New value of moveDownImage.public void setMoveUpImage(java.lang.String moveUpImage)
moveUpImage
- New value of moveUpImage.public void setArrowDownBig(java.lang.String arrowDownBig)
arrowDownBig
- New value of arrowDownBig.public void setSelectedColor(java.lang.String selectedColor)
selectedColor
- New value of selectedColor.public void setInactiveSelectedColor(java.lang.String inactiveSelectedColor)
inactiveSelectedColor
- New value of inactiveSelectedColor.public void setSelectedFontColor(java.lang.String selectedFontColor)
selectedFontColor
- New value of selectedFontColor.public void setMultiSelectorSelectImage(java.lang.String multiSelectorSelectImage)
multiSelectorSelectImage
- New value of multiSelectorSelectImage.public void setMultiSelectorUnselectImage(java.lang.String multiSelectorUnselectImage)
multiSelectorUnselectImage
- New value of multiSelectorUnselectImage.public void addLink(LyLink link)
link
- The link to add to links list.public void insertLink(LyLink link, int pos)
link
- The link to add to links list.pos
- Position where the sub-component is inserted.public void removeLink(LyLink link)
link
- The link to remove to links list.
java.lang.IllegalStateException
- if links list is empty.
java.lang.IllegalArgumentException
- if links list doesn't contain link.public 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 |