|
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.LyRowBase
public abstract class LyRowBase
The LyRowBase class is a generated Java implementation that corresponds to the element ROW of the descriptive grammar of the views (views.dtd). <ROW> : Table row A row of a list is a set of non-empty cells (or input fields). It is possible to indicate if the row is selected, if an image is assigned to it and if a tooltip is associated to it.
LyComponent
,
See also tag ROW 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 | |
---|---|
LyRowBase()
Default constructor. |
Method Summary | |
---|---|
void |
addCell(LyCell cell)
Adds a sub-component cell. |
void |
addFormField(LyFormField formField)
Adds a sub-component formField. |
void |
addToolBar(LyToolBar toolBar)
Adds a sub-component toolBar. |
LyComponent |
cloneComponent()
Method for cloning a component. |
java.lang.String |
getBorderColor()
Gets value of borderColor. |
int |
getBorderHeight()
Gets value of borderHeight. |
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 |
getImage()
Gets value of image. |
java.lang.String |
getIndex()
Gets value of index. |
java.lang.String |
getLabel()
Gets value of label. |
java.lang.String |
getOverview()
Gets value of overview. |
LyRows |
getRows()
Get sub-component Rows. |
LyRow |
getTemplate()
Gets value of template. |
java.lang.String |
getTooltip()
Gets value of tooltip. |
void |
insertCell(LyCell cell,
int pos)
Inserts a sub-component cell at given position. |
void |
insertFormField(LyFormField formField,
int pos)
Inserts a sub-component formField at given position. |
void |
insertToolBar(LyToolBar toolBar,
int pos)
Inserts a sub-component toolBar at given position. |
boolean |
isDefaultBorderColor()
Checks whether the borderColor attribute is valuated to the default value. |
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 |
isDefaultImage()
Checks whether the image attribute is valuated to the default value. |
boolean |
isHidden()
Checks if value of attribute hidden is set. |
boolean |
isOpen()
Checks if value of attribute open is set. |
boolean |
isSelected()
Checks if value of attribute selected is set. |
boolean |
isSensitive()
Checks if value of attribute sensitive is set. |
void |
removeCell(LyCell cell)
Removes a sub-component cell. |
void |
removeFormField(LyFormField formField)
Removes a sub-component formField. |
void |
removeToolBar(LyToolBar toolBar)
Removes a sub-component toolBar. |
void |
setBorderColor(java.lang.String borderColor)
Sets attribute borderColor to the given value. |
void |
setBorderHeight(int borderHeight)
Sets attribute borderHeight to the given value. |
void |
setColor(java.lang.String color)
Sets 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 |
setHidden(boolean hidden)
Sets 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)
Sets attribute image to the given value. |
void |
setIndex(java.lang.String index)
Sets attribute index to the given value. |
void |
setLabel(java.lang.String label)
Sets attribute label to the given value. |
void |
setOpen(boolean open)
Sets attribute open to the given value. |
void |
setOverview(java.lang.String overview)
Initializes attribute overview to the given value. |
void |
setRows(LyRows rows)
Sets sub-component rows. |
void |
setSelected(boolean selected)
Initializes attribute selected to the given value. |
void |
setSensitive(boolean sensitive)
Initializes attribute sensitive to the given value. |
void |
setTemplate(LyRow template)
Initializes attribute template to the given value. |
void |
setTooltip(java.lang.String tooltip)
Sets 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 LyRowBase()
Method Detail |
---|
public LyComponent cloneComponent()
cloneComponent
in class LyComponent
public java.lang.String getId()
getId
in interface LyGetIdInterface
getId
in class LyComponent
public LyRow getTemplate()
public boolean isSelected()
public boolean isSensitive()
public boolean isOpen()
public java.lang.String getImage()
public boolean isDefaultImage()
public java.lang.String getLabel()
getLabel
in interface LyGetLabelInterface
public java.lang.String getIndex()
public java.lang.String getTooltip()
public java.lang.String getOverview()
public boolean isHidden()
public int getBorderHeight()
public java.lang.String getBorderColor()
public boolean isDefaultBorderColor()
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 LyComponent getComponent(int i)
i
- the index of the Component to get.
public int getComponentCount()
public LyRows getRows()
public void setId(java.lang.String id)
id
- New value of id.public void setTemplate(LyRow template)
template
- New value of template.public void setSelected(boolean selected)
selected
- Boolean indicating if attribute selected is set or unset.public void setSensitive(boolean sensitive)
sensitive
- Boolean indicating if attribute sensitive is set or unset.public void setOpen(boolean open)
open
- Boolean indicating if attribute open is set or unset.public void setImage(java.lang.String image)
setImage
in interface LySetImageInterface
image
- New value of image.public void setLabel(java.lang.String label)
setLabel
in interface LySetLabelInterface
label
- New value of label.public void setIndex(java.lang.String index)
index
- New value of index.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 setHidden(boolean hidden)
setHidden
in interface LySetHiddenInterface
hidden
- Boolean indicating if attribute hidden is set or unset.public void setBorderHeight(int borderHeight)
borderHeight
- New value of borderHeight.public void setBorderColor(java.lang.String borderColor)
borderColor
- New value of borderColor.public void setFont(java.lang.String font)
font
- New value of font.public void setColor(java.lang.String color)
setColor
in interface LySetColorInterface
color
- New value of color.public void setFontColor(java.lang.String fontColor)
fontColor
- New value of fontColor.public void addCell(LyCell cell)
cell
- The cell to add to components list.public void insertCell(LyCell cell, int pos)
cell
- The cell to add to components list.pos
- Position where the sub-component is inserted.public void removeCell(LyCell cell)
cell
- The cell to remove to components list.
java.lang.IllegalStateException
- if components list is empty.
java.lang.IllegalArgumentException
- if components list doesn't contain cell.public void addFormField(LyFormField formField)
formField
- The formField to add to components list.public void insertFormField(LyFormField formField, int pos)
formField
- The formField to add to components list.pos
- Position where the sub-component is inserted.public void removeFormField(LyFormField formField)
formField
- The formField to remove to components list.
java.lang.IllegalStateException
- if components list is empty.
java.lang.IllegalArgumentException
- if components list doesn't contain formField.public void addToolBar(LyToolBar toolBar)
toolBar
- The toolBar to add to components list.public void insertToolBar(LyToolBar toolBar, int pos)
toolBar
- The toolBar to add to components list.pos
- Position where the sub-component is inserted.public void removeToolBar(LyToolBar toolBar)
toolBar
- The toolBar to remove to components list.
java.lang.IllegalStateException
- if components list is empty.
java.lang.IllegalArgumentException
- if components list doesn't contain toolBar.public void setRows(LyRows rows)
rows
- New value of rowspublic 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 |