|
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.LyHeadersBase
public abstract class LyHeadersBase
The LyHeadersBase class is a generated Java implementation that corresponds to the element HEADERS of the descriptive grammar of the views (views.dtd). <HEADERS> : Headers group A headers allows displaying header at the top of a table. Headers element does not contain any element: it is only a non-empty list of headers or sub-headers.
LyComponent
,
See also tag HEADERS 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 | |
---|---|
LyHeadersBase()
Default constructor. |
Method Summary | |
---|---|
void |
addHeader(LyHeader header)
Adds a sub-component header. |
void |
addHeaders(LyHeaders headers)
Adds a sub-component headers. |
LyComponent |
cloneComponent()
Method for cloning a component. |
LyHeader.Align |
getAlign()
Gets value of align. |
java.lang.String |
getColor()
Gets value of color. |
LyComponent |
getComponent(int i)
Get sub-component Component of index i. |
int |
getComponentCount()
Get sub-component Component 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 |
getLabel()
Gets value of label. |
java.lang.String |
getOverview()
Gets value of overview. |
java.lang.String |
getSortableFont()
Gets value of sortableFont. |
LyHeaders |
getTemplate()
Gets value of template. |
java.lang.String |
getTooltip()
Gets value of tooltip. |
void |
insertHeader(LyHeader header,
int pos)
Inserts a sub-component header at given position. |
void |
insertHeaders(LyHeaders headers,
int pos)
Inserts a sub-component headers at given position. |
boolean |
isDefaultColor()
Checks whether the color 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 |
isDefaultSortableFont()
Checks whether the sortableFont attribute is valuated to the default value. |
void |
setAlign(LyHeader.Align align)
Initializes attribute align to the given value. |
void |
setColor(java.lang.String color)
Initializes attribute color 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 |
setLabel(java.lang.String label)
Initializes attribute label to the given value. |
void |
setOverview(java.lang.String overview)
Initializes attribute overview to the given value. |
void |
setSortableFont(java.lang.String sortableFont)
Initializes attribute sortableFont to the given value. |
void |
setTemplate(LyHeaders template)
Initializes attribute template to the given value. |
void |
setTooltip(java.lang.String tooltip)
Initializes attribute tooltip 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 LyHeadersBase()
Method Detail |
---|
public LyComponent cloneComponent()
cloneComponent
in class LyComponent
public java.lang.String getId()
getId
in interface LyGetIdInterface
getId
in class LyComponent
public LyHeaders getTemplate()
public java.lang.String getLabel()
getLabel
in interface LyGetLabelInterface
public LyHeader.Align getAlign()
public java.lang.String getTooltip()
public java.lang.String getOverview()
public java.lang.String getFont()
public boolean isDefaultFont()
public java.lang.String getSortableFont()
public boolean isDefaultSortableFont()
public java.lang.String getColor()
public boolean isDefaultColor()
public java.lang.String getFontColor()
public boolean isDefaultFontColor()
public LyComponent getComponent(int i)
i
- the index of the Component to get.
public int getComponentCount()
public void setId(java.lang.String id)
id
- New value of id.public void setTemplate(LyHeaders template)
template
- New value of template.public void setLabel(java.lang.String label)
label
- New value of label.public void setAlign(LyHeader.Align align)
align
- New value of align.
java.lang.IllegalArgumentException
- if align parameter is null.public void setTooltip(java.lang.String tooltip)
tooltip
- New value of tooltip.public void setOverview(java.lang.String overview)
overview
- New value of overview.public void setFont(java.lang.String font)
font
- New value of font.public void setSortableFont(java.lang.String sortableFont)
sortableFont
- New value of sortableFont.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 addHeader(LyHeader header)
header
- The header to add to components list.public void insertHeader(LyHeader header, int pos)
header
- The header to add to components list.pos
- Position where the sub-component is inserted.public void addHeaders(LyHeaders headers)
headers
- The headers to add to components list.public void insertHeaders(LyHeaders headers, int pos)
headers
- The headers to add to components 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 |