|
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.LyHRefs
public class LyHRefs
The LyHRefs class is a generated Java implementation that corresponds to the element HREFS of the descriptive grammar of the views (views.dtd). <HREFS> : List of Hyperlinks An input field of Hyperlinks type allows displaying a graphical component containing a set of hyperlinks. Such a component is a simple list of hyperlinks such as described below. It does not contain any attribute.
See also tag HREFS 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 | |
---|---|
LyHRefs()
Default constructor. |
Method Summary | |
---|---|
void |
addHRef(LyHRef hRef)
Adds a sub-component hRef. |
LyComponent |
cloneComponent()
Method for cloning a component. |
java.lang.String |
getBean()
Gets value of bean. |
java.lang.String |
getColor()
Gets value of color. |
java.lang.String |
getDisabledFontColor()
Gets value of disabledFontColor. |
java.lang.String |
getFont()
Gets value of font. |
java.lang.String |
getFontColor()
Gets value of fontColor. |
java.lang.String |
getHighlightColor()
Gets value of highlightColor. |
LyHRef |
getHRef(int i)
Get sub-component HRef of index i. |
int |
getHRefCount()
Get sub-component HRef count. |
java.lang.String |
getId()
Gets value of id. |
int |
getNCols()
Gets value of nCols. |
int |
getNRows()
Gets value of nRows. |
LyHRefs |
getTemplate()
Gets value of template. |
java.lang.String |
getVisitedFontColor()
Gets value of visitedFontColor. |
void |
insertHRef(LyHRef hRef,
int pos)
Inserts a sub-component hRef at given position. |
boolean |
isBorder()
Checks if value of attribute border is set. |
boolean |
isDefaultColor()
Checks whether the color attribute is valuated to the default value. |
boolean |
isDefaultDisabledFontColor()
Checks whether the disabledFontColor 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 |
isDefaultHighlightColor()
Checks whether the highlightColor attribute is valuated to the default value. |
boolean |
isDefaultVisitedFontColor()
Checks whether the visitedFontColor attribute is valuated to the default value. |
void |
removeHRef(LyHRef hRef)
Removes a sub-component hRef. |
void |
setBean(java.lang.String bean)
Initializes attribute bean to the given value. |
void |
setBorder(boolean border)
Initializes attribute border to the given value. |
void |
setColor(java.lang.String color)
Initializes attribute color to the given value. |
void |
setDisabledFontColor(java.lang.String disabledFontColor)
Initializes attribute disabledFontColor 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 |
setHighlightColor(java.lang.String highlightColor)
Initializes attribute highlightColor to the given value. |
void |
setId(java.lang.String id)
Initializes attribute id 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 |
setTemplate(LyHRefs template)
Initializes attribute template to the given value. |
void |
setVisitedFontColor(java.lang.String visitedFontColor)
Initializes attribute visitedFontColor 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 LyHRefs()
Method Detail |
---|
public LyComponent cloneComponent()
cloneComponent
in class LyComponent
public java.lang.String getId()
getId
in interface LyGetIdInterface
getId
in class LyComponent
public LyHRefs getTemplate()
public java.lang.String getBean()
getBean
in class LyFieldItem
public boolean isBorder()
public int getNCols()
public int getNRows()
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 getDisabledFontColor()
public boolean isDefaultDisabledFontColor()
public java.lang.String getVisitedFontColor()
public boolean isDefaultVisitedFontColor()
public java.lang.String getHighlightColor()
public boolean isDefaultHighlightColor()
public LyHRef getHRef(int i)
i
- the index of the HRef to get.
public int getHRefCount()
public void setId(java.lang.String id)
id
- New value of id.public void setTemplate(LyHRefs template)
template
- New value of template.public void setBean(java.lang.String bean)
setBean
in class LyFieldItem
bean
- New value of bean.public void setBorder(boolean border)
border
- Boolean indicating if attribute border is set or unset.public void setNCols(int nCols)
nCols
- New value of nCols.public void setNRows(int nRows)
nRows
- New value of nRows.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 setDisabledFontColor(java.lang.String disabledFontColor)
disabledFontColor
- New value of disabledFontColor.public void setVisitedFontColor(java.lang.String visitedFontColor)
visitedFontColor
- New value of visitedFontColor.public void setHighlightColor(java.lang.String highlightColor)
highlightColor
- New value of highlightColor.public void addHRef(LyHRef hRef)
hRef
- The hRef to add to hRefs list.public void insertHRef(LyHRef hRef, int pos)
hRef
- The hRef to add to hRefs list.pos
- Position where the sub-component is inserted.public void removeHRef(LyHRef hRef)
hRef
- The hRef to remove to hRefs list.
java.lang.IllegalStateException
- if hRefs list is empty.
java.lang.IllegalArgumentException
- if hRefs list doesn't contain hRef.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 |