|
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.LyPanel
leon.view.LyTable
public class LyTable
The LyTable class is a generated Java implementation that corresponds to the element TABLE of the descriptive grammar of the views (views.dtd). <TABLE> : Table A table allows displaying a set of rows and columns containing a set of cells. It can contain a header providing information about the content of the cells of the table. It is possible to define its selection modes (simple, extended, multiple or none) and finally to indicate if horizontal and/or vertical separation lines should be drawn.
See also tag TABLE of grammar leon_views.dtd.
Nested Class Summary | |
---|---|
static class |
LyTable.SelectionMode
Possible values for attribute 'selectionMode'. |
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 | |
---|---|
LyTable(java.lang.String id)
Constructor with all required attributes. |
Method Summary | |
---|---|
LyComponent |
cloneComponent()
Method for cloning a component. |
java.lang.String |
getColor()
Gets value of color. |
LyConstraint |
getConstraint()
Get sub-component Constraint. |
java.lang.String |
getController()
Gets value of controller. |
java.lang.String |
getFont()
Gets value of font. |
java.lang.String |
getFontColor()
Gets value of fontColor. |
LyFooters |
getFooters()
Get sub-component Footers. |
java.lang.String |
getGridColor()
Gets value of gridColor. |
LyHeaders |
getHeaders()
Get sub-component Headers. |
java.lang.String |
getId()
Gets value of id. |
java.lang.String |
getLabel()
Gets value of label. |
int |
getNRows()
Gets value of nRows. |
LyRows |
getRows()
Get sub-component Rows. |
java.lang.String |
getSelectedColor()
Gets value of selectedColor. |
java.lang.String |
getSelectedFontColor()
Gets value of selectedFontColor. |
LyTable.SelectionMode |
getSelectionMode()
Gets value of selectionMode. |
static LyTable.SelectionMode |
getSelectionMode(java.lang.String token)
Utility method to get selectionMode value from a string. |
LyTable |
getTemplate()
Gets value of template. |
java.lang.String |
getTooltip()
Gets value of tooltip. |
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 |
isDefaultGridColor()
Checks whether the gridColor 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 |
isEnabled()
Checks if value of attribute enabled is set. |
boolean |
isHLines()
Checks if value of attribute hLines is set. |
boolean |
isIsContext()
Checks if value of attribute isContext is set. |
boolean |
isVLines()
Checks if value of attribute vLines is set. |
void |
setColor(java.lang.String color)
Initializes attribute color to the given value. |
void |
setConstraint(LyConstraint constraint)
Sets sub-component constraint. |
void |
setController(java.lang.String controller)
Initializes attribute controller to the given value. |
void |
setEnabled(boolean enabled)
Sets attribute enabled 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 |
setFooters(LyFooters footers)
Sets sub-component footers. |
void |
setGridColor(java.lang.String gridColor)
Initializes attribute gridColor to the given value. |
void |
setHeaders(LyHeaders headers)
Sets sub-component headers. |
void |
setHLines(boolean hLines)
Initializes attribute hLines to the given value. |
void |
setIsContext(boolean isContext)
Initializes attribute isContext to the given value. |
void |
setLabel(java.lang.String label)
Initializes attribute label to the given value. |
void |
setNRows(int nRows)
Sets attribute nRows to the given value. |
void |
setRows(LyRows rows)
Sets sub-component rows. |
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 |
setSelectionMode(LyTable.SelectionMode selectionMode)
Initializes attribute selectionMode to the given value. |
void |
setTemplate(LyTable template)
Initializes attribute template to the given value. |
void |
setTooltip(java.lang.String tooltip)
Initializes attribute tooltip to the given value. |
void |
setVLines(boolean vLines)
Initializes attribute vLines 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.LyPanel |
---|
generatePdf, getLastModified, isIdle, isScrollable, print, setIdle, setLastModified, setPopupMenu, setWaiting |
Methods inherited from class leon.view.LyFieldItem |
---|
addBeanData, buildBean, free, getBean, getBeanComponent, getBeanData, getBeanDatas, getChild, getChildCount, getErrorMessage, getFieldValue, getValue, setBean, setBeanComponent, setBeanDatas, setFieldValue, 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 LyTable(java.lang.String id)
id
- Identifier of the table.Method Detail |
---|
public static final LyTable.SelectionMode getSelectionMode(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 LyTable getTemplate()
public java.lang.String getLabel()
getLabel
in interface LyGetLabelInterface
public java.lang.String getController()
getController
in interface LyGetControllerInterface
public LyTable.SelectionMode getSelectionMode()
public boolean isHLines()
public boolean isVLines()
public boolean isIsContext()
public boolean isEnabled()
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 getGridColor()
public boolean isDefaultGridColor()
public java.lang.String getSelectedColor()
public boolean isDefaultSelectedColor()
public java.lang.String getSelectedFontColor()
public boolean isDefaultSelectedFontColor()
public java.lang.String getTooltip()
public LyHeaders getHeaders()
public LyRows getRows()
public LyFooters getFooters()
public LyConstraint getConstraint()
getConstraint
in interface LyGetConstraintInterface
public void setTemplate(LyTable template)
template
- New value of template.public void setLabel(java.lang.String label)
setLabel
in class LyFieldItem
label
- New value of label.public void setController(java.lang.String controller)
setController
in interface LySetControllerInterface
controller
- New value of controller.LySetControllerInterface.setController(java.lang.String)
public void setSelectionMode(LyTable.SelectionMode selectionMode)
selectionMode
- New value of selectionMode.
java.lang.IllegalArgumentException
- if selectionMode parameter is null.public void setHLines(boolean hLines)
hLines
- Boolean indicating if attribute hLines is set or unset.public void setVLines(boolean vLines)
vLines
- Boolean indicating if attribute vLines is set or unset.public void setIsContext(boolean isContext)
isContext
- Boolean indicating if attribute isContext is set or unset.public void setEnabled(boolean enabled)
setEnabled
in interface LySetEnabledInterface
enabled
- Boolean indicating if attribute enabled is set or unset.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 setGridColor(java.lang.String gridColor)
gridColor
- New value of gridColor.public void setSelectedColor(java.lang.String selectedColor)
selectedColor
- New value of selectedColor.public void setSelectedFontColor(java.lang.String selectedFontColor)
selectedFontColor
- New value of selectedFontColor.public void setTooltip(java.lang.String tooltip)
tooltip
- New value of tooltip.public void setHeaders(LyHeaders headers)
headers
- New value of headerspublic void setRows(LyRows rows)
rows
- New value of rowspublic void setFooters(LyFooters footers)
footers
- New value of footerspublic void setConstraint(LyConstraint constraint)
constraint
- New value of constraintpublic 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 |