|
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.LyHeader
public class LyHeader
The LyHeader class is a generated Java implementation that corresponds to the element HEADER of the descriptive grammar of the views (views.dtd). <HEADER> : Header cell A header is the top label of column in a table.
See also tag HEADER of grammar leon_views.dtd.
Nested Class Summary | |
---|---|
static class |
LyHeader.Align
Possible values for attribute 'align'. |
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 | |
---|---|
LyHeader()
Default constructor. |
Method Summary | |
---|---|
LyComponent |
cloneComponent()
Method for cloning a component. |
LyHeader.Align |
getAlign()
Gets value of align. |
static LyHeader.Align |
getAlign(java.lang.String token)
Utility method to get align value from a string. |
java.lang.String |
getBorderColor()
Gets value of borderColor. |
int |
getBorderWidth()
Gets value of borderWidth. |
double |
getColumnWidth()
Gets value of columnWidth. |
java.lang.String |
getId()
Gets value of id. |
java.lang.String |
getImage()
Gets value of image. |
java.lang.String |
getLabel()
Gets value of label. |
java.lang.String |
getOverview()
Gets value of overview. |
int |
getSort()
Gets value of sort. |
LyHeader |
getTemplate()
Gets value of template. |
java.lang.String |
getTooltip()
Gets value of tooltip. |
boolean |
isDefaultBorderColor()
Checks whether the borderColor attribute is valuated to the default value. |
boolean |
isDefaultImage()
Checks whether the image attribute is valuated to the default value. |
boolean |
isFixed()
Checks if value of attribute fixed is set. |
boolean |
isHidden()
Checks if value of attribute hidden is set. |
boolean |
isIncreasing()
Checks if value of attribute increasing is set. |
boolean |
isResizable()
Checks if value of attribute resizable is set. |
boolean |
isSortable()
Checks if value of attribute sortable is set. |
boolean |
isWrap()
Checks if value of attribute wrap is set. |
void |
setAlign(LyHeader.Align align)
Initializes attribute align to the given value. |
void |
setBorderColor(java.lang.String borderColor)
Sets attribute borderColor to the given value. |
void |
setBorderWidth(int borderWidth)
Sets attribute borderWidth to the given value. |
void |
setColumnWidth(double columnWidth)
Sets attribute columnWidth to the given value. |
void |
setFixed(boolean fixed)
Sets attribute fixed to the given value. |
void |
setHidden(boolean hidden)
Initializes attribute hidden to the given value. |
void |
setId(java.lang.String id)
Initializes attribute id to the given value. |
void |
setImage(java.lang.String image)
Initializes attribute image to the given value. |
void |
setIncreasing(boolean increasing)
Sets attribute increasing 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 |
setResizable(boolean resizable)
Initializes attribute resizable to the given value. |
void |
setSort(int sort)
Sets attribute sort to the given value. |
void |
setSortable(boolean sortable)
Initializes attribute sortable to the given value. |
void |
setTemplate(LyHeader template)
Initializes attribute template to the given value. |
void |
setTooltip(java.lang.String tooltip)
Initializes attribute tooltip to the given value. |
void |
setWrap(boolean wrap)
Initializes attribute wrap 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 LyHeader()
Method Detail |
---|
public static final LyHeader.Align getAlign(java.lang.String token)
token
- Token string
public LyComponent cloneComponent()
cloneComponent
in class LyComponent
public java.lang.String getId()
getId
in interface LyGetIdInterface
getId
in class LyComponent
public LyHeader getTemplate()
public java.lang.String getLabel()
getLabel
in interface LyGetLabelInterface
public java.lang.String getImage()
public boolean isDefaultImage()
public int getSort()
public boolean isIncreasing()
public boolean isSortable()
public boolean isResizable()
public boolean isFixed()
public boolean isWrap()
public boolean isHidden()
public LyHeader.Align getAlign()
public java.lang.String getTooltip()
public java.lang.String getOverview()
public double getColumnWidth()
public int getBorderWidth()
public java.lang.String getBorderColor()
public boolean isDefaultBorderColor()
public void setId(java.lang.String id)
id
- New value of id.public void setTemplate(LyHeader template)
template
- New value of template.public void setLabel(java.lang.String label)
label
- New value of label.public void setImage(java.lang.String image)
image
- New value of image.public void setSort(int sort)
sort
- New value of sort.public void setIncreasing(boolean increasing)
increasing
- Boolean indicating if attribute increasing is set or unset.public void setSortable(boolean sortable)
sortable
- Boolean indicating if attribute sortable is set or unset.public void setResizable(boolean resizable)
resizable
- Boolean indicating if attribute resizable is set or unset.public void setFixed(boolean fixed)
fixed
- Boolean indicating if attribute fixed is set or unset.public void setWrap(boolean wrap)
wrap
- Boolean indicating if attribute wrap is set or unset.public void setHidden(boolean hidden)
hidden
- Boolean indicating if attribute hidden is set or unset.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 setColumnWidth(double columnWidth)
columnWidth
- New value of columnWidth.public void setBorderWidth(int borderWidth)
borderWidth
- New value of borderWidth.public void setBorderColor(java.lang.String borderColor)
borderColor
- New value of borderColor.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 |