|
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.LyEntry
public class LyEntry
The LyEntry class is a generated Java implementation that corresponds to the element ENTRY of the descriptive grammar of the views (views.dtd). <ENTRY> : Dictionary Entry An entry represents a node or a leaf of a dictionary. An entry may contain several sub-entries.
See also tag ENTRY 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 | |
---|---|
LyEntry(java.lang.String id,
java.lang.String label)
Constructor with all required attributes. |
Method Summary | |
---|---|
void |
addEntry(LyEntry entry)
Adds a sub-component entry. |
LyComponent |
cloneComponent()
Method for cloning a component. |
java.lang.String |
getColor()
Gets value of color. |
java.lang.String |
getEmptyCheckboxImage()
Gets value of emptyCheckboxImage. |
LyEntry |
getEntry(int i)
Get sub-component Entry of index i. |
int |
getEntryCount()
Get sub-component Entry count. |
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 |
getImage()
Gets value of image. |
java.lang.String |
getInactiveSelectedBackgroundColor()
Gets value of inactiveSelectedBackgroundColor. |
java.lang.String |
getLabel()
Gets value of label. |
java.lang.String |
getSelectedBackgroundColor()
Gets value of selectedBackgroundColor. |
java.lang.String |
getSelectedCheckboxImage()
Gets value of selectedCheckboxImage. |
java.lang.String |
getSelectedFontColor()
Gets value of selectedFontColor. |
LyEntry |
getTemplate()
Gets value of template. |
LyTreeNode.Validity |
getValidity()
Gets value of validity. |
void |
insertEntry(LyEntry entry,
int pos)
Inserts a sub-component entry at given position. |
boolean |
isChecked()
Checks if value of attribute checked is set. |
boolean |
isDefaultColor()
Checks whether the color attribute is valuated to the default value. |
boolean |
isDefaultEmptyCheckboxImage()
Checks whether the emptyCheckboxImage 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 |
isDefaultImage()
Checks whether the image attribute is valuated to the default value. |
boolean |
isDefaultInactiveSelectedBackgroundColor()
Checks whether the inactiveSelectedBackgroundColor attribute is valuated to the default value. |
boolean |
isDefaultSelectedBackgroundColor()
Checks whether the selectedBackgroundColor attribute is valuated to the default value. |
boolean |
isDefaultSelectedCheckboxImage()
Checks whether the selectedCheckboxImage attribute is valuated to the default value. |
boolean |
isDefaultSelectedFontColor()
Checks whether the selectedFontColor attribute is valuated to the default value. |
boolean |
isOpen()
Checks if value of attribute open is set. |
void |
setChecked(boolean checked)
Sets attribute checked to the given value. |
void |
setColor(java.lang.String color)
Initializes attribute color to the given value. |
void |
setEmptyCheckboxImage(java.lang.String emptyCheckboxImage)
Initializes attribute emptyCheckboxImage 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 |
setImage(java.lang.String image)
Sets attribute image to the given value. |
void |
setInactiveSelectedBackgroundColor(java.lang.String inactiveSelectedBackgroundColor)
Initializes attribute inactiveSelectedBackgroundColor to the given value. |
void |
setLabel(java.lang.String label)
Initializes attribute label to the given value. |
void |
setOpen(boolean open)
Sets attribute open to the given value. |
void |
setSelectedBackgroundColor(java.lang.String selectedBackgroundColor)
Initializes attribute selectedBackgroundColor to the given value. |
void |
setSelectedCheckboxImage(java.lang.String selectedCheckboxImage)
Initializes attribute selectedCheckboxImage to the given value. |
void |
setSelectedFontColor(java.lang.String selectedFontColor)
Initializes attribute selectedFontColor to the given value. |
void |
setTemplate(LyEntry template)
Initializes attribute template to the given value. |
void |
setValidity(LyTreeNode.Validity validity)
Sets attribute validity to the given value. |
void |
writeXml(java.io.PrintWriter pw,
boolean debug)
Method to rewrite XML corresponding to this component. |
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 LyEntry(java.lang.String id, java.lang.String label)
id
- Identifier of the entry. It represents the internal value of the application associated to the entry.label
- Label of the entry.Method Detail |
---|
public LyComponent cloneComponent()
cloneComponent
in class LyComponent
public java.lang.String getId()
getId
in interface LyGetIdInterface
getId
in class LyComponent
public LyEntry getTemplate()
public java.lang.String getLabel()
getLabel
in interface LyGetLabelInterface
public boolean isChecked()
public boolean isOpen()
public LyTreeNode.Validity getValidity()
public java.lang.String getImage()
public boolean isDefaultImage()
public java.lang.String getFont()
public boolean isDefaultFont()
public java.lang.String getColor()
public boolean isDefaultColor()
public java.lang.String getFontColor()
public boolean isDefaultFontColor()
public java.lang.String getSelectedBackgroundColor()
public boolean isDefaultSelectedBackgroundColor()
public java.lang.String getSelectedFontColor()
public boolean isDefaultSelectedFontColor()
public java.lang.String getInactiveSelectedBackgroundColor()
public boolean isDefaultInactiveSelectedBackgroundColor()
public java.lang.String getEmptyCheckboxImage()
public boolean isDefaultEmptyCheckboxImage()
public java.lang.String getSelectedCheckboxImage()
public boolean isDefaultSelectedCheckboxImage()
public LyEntry getEntry(int i)
i
- the index of the Entry to get.
public int getEntryCount()
public void setTemplate(LyEntry template)
template
- New value of template.public void setLabel(java.lang.String label)
label
- New value of label.
java.lang.IllegalArgumentException
- if label is null.public void setChecked(boolean checked)
checked
- Boolean indicating if attribute checked is set or unset.public void setOpen(boolean open)
open
- Boolean indicating if attribute open is set or unset.public void setValidity(LyTreeNode.Validity validity)
setValidity
in interface LySetValidityInterface
validity
- New value of validity.
java.lang.IllegalArgumentException
- if validity parameter is null.public void setImage(java.lang.String image)
setImage
in interface LySetImageInterface
image
- New value of image.public void setFont(java.lang.String font)
font
- New value of font.public void setColor(java.lang.String color)
color
- New value of color.public void setFontColor(java.lang.String fontColor)
fontColor
- New value of fontColor.public void setSelectedBackgroundColor(java.lang.String selectedBackgroundColor)
selectedBackgroundColor
- New value of selectedBackgroundColor.public void setSelectedFontColor(java.lang.String selectedFontColor)
selectedFontColor
- New value of selectedFontColor.public void setInactiveSelectedBackgroundColor(java.lang.String inactiveSelectedBackgroundColor)
inactiveSelectedBackgroundColor
- New value of inactiveSelectedBackgroundColor.public void setEmptyCheckboxImage(java.lang.String emptyCheckboxImage)
emptyCheckboxImage
- New value of emptyCheckboxImage.public void setSelectedCheckboxImage(java.lang.String selectedCheckboxImage)
selectedCheckboxImage
- New value of selectedCheckboxImage.public void addEntry(LyEntry entry)
entry
- The entry to add to entries list.public void insertEntry(LyEntry entry, int pos)
entry
- The entry to add to entries list.pos
- Position where the sub-component is inserted.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 |