|
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.LyCell
public class LyCell
The LyCell class is a generated Java implementation that corresponds to the element CELL of the descriptive grammar of the views (views.dtd). <CELL> : Cell A cell may contain sub-cells to allow the construction of complex tables.
See also tag CELL of grammar leon_views.dtd.
Nested Class Summary | |
---|---|
static class |
LyCell.Type
Possible values for attribute 'type'. |
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 | |
---|---|
LyCell()
Default constructor. |
Method Summary | |
---|---|
void |
addCell(LyCell cell)
Adds a sub-component cell. |
LyComponent |
cloneComponent()
Method for cloning a component. |
LyHeader.Align |
getAlign()
Gets value of align. |
java.lang.String |
getBottomBorderColor()
Gets value of bottomBorderColor. |
java.lang.String |
getBottomLeftImage()
Gets value of bottomLeftImage. |
java.lang.String |
getBottomRightImage()
Gets value of bottomRightImage. |
LyCell |
getCell(int i)
Get sub-component Cell of index i. |
int |
getCellCount()
Get sub-component Cell count. |
java.lang.String |
getColor()
Gets value of color. |
java.lang.String |
getFont()
Gets value of font. |
java.lang.String |
getFontColor()
Gets value of fontColor. |
java.lang.String |
getHLink()
Gets value of hLink. |
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 |
getLeftBorderColor()
Gets value of leftBorderColor. |
java.lang.String |
getObjectId()
Gets value of objectId. |
java.lang.String |
getRightBorderColor()
Gets value of rightBorderColor. |
LyCell |
getTemplate()
Gets value of template. |
java.lang.String |
getTooltip()
Gets value of tooltip. |
java.lang.String |
getTopBorderColor()
Gets value of topBorderColor. |
java.lang.String |
getTopLeftImage()
Gets value of topLeftImage. |
java.lang.String |
getTopRightImage()
Gets value of topRightImage. |
LyCell.Type |
getType()
Gets value of type. |
static LyCell.Type |
getType(java.lang.String token)
Utility method to get type value from a string. |
void |
insertCell(LyCell cell,
int pos)
Inserts a sub-component cell at given position. |
boolean |
isDefaultBottomBorderColor()
Checks whether the bottomBorderColor attribute is valuated to the default value. |
boolean |
isDefaultBottomLeftImage()
Checks whether the bottomLeftImage attribute is valuated to the default value. |
boolean |
isDefaultBottomRightImage()
Checks whether the bottomRightImage 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 |
isDefaultLeftBorderColor()
Checks whether the leftBorderColor attribute is valuated to the default value. |
boolean |
isDefaultRightBorderColor()
Checks whether the rightBorderColor attribute is valuated to the default value. |
boolean |
isDefaultTopBorderColor()
Checks whether the topBorderColor attribute is valuated to the default value. |
boolean |
isDefaultTopLeftImage()
Checks whether the topLeftImage attribute is valuated to the default value. |
boolean |
isDefaultTopRightImage()
Checks whether the topRightImage attribute is valuated to the default value. |
boolean |
isEditable()
Checks if value of attribute editable is set. |
boolean |
isSelected()
Checks if value of attribute selected is set. |
void |
removeCell(LyCell cell)
Removes a sub-component cell. |
void |
setAlign(LyHeader.Align align)
Initializes attribute align to the given value. |
void |
setBottomBorderColor(java.lang.String bottomBorderColor)
Sets attribute bottomBorderColor to the given value. |
void |
setBottomLeftImage(java.lang.String bottomLeftImage)
Sets attribute bottomLeftImage to the given value. |
void |
setBottomRightImage(java.lang.String bottomRightImage)
Sets attribute bottomRightImage to the given value. |
void |
setColor(java.lang.String color)
Sets attribute color to the given value. |
void |
setEditable(boolean editable)
Sets attribute editable 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 |
setHLink(java.lang.String hLink)
Initializes attribute hLink 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 |
setLabel(java.lang.String label)
Sets attribute label to the given value. |
void |
setLeftBorderColor(java.lang.String leftBorderColor)
Sets attribute leftBorderColor to the given value. |
void |
setObjectId(java.lang.String objectId)
Sets attribute objectId to the given value. |
void |
setRightBorderColor(java.lang.String rightBorderColor)
Sets attribute rightBorderColor to the given value. |
void |
setSelected(boolean selected)
Sets attribute selected to the given value. |
void |
setTemplate(LyCell template)
Initializes attribute template to the given value. |
void |
setTooltip(java.lang.String tooltip)
Sets attribute tooltip to the given value. |
void |
setTopBorderColor(java.lang.String topBorderColor)
Sets attribute topBorderColor to the given value. |
void |
setTopLeftImage(java.lang.String topLeftImage)
Sets attribute topLeftImage to the given value. |
void |
setTopRightImage(java.lang.String topRightImage)
Sets attribute topRightImage to the given value. |
void |
setType(LyCell.Type type)
Initializes attribute type 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 LyCell()
Method Detail |
---|
public static final LyCell.Type getType(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 LyCell getTemplate()
public java.lang.String getLabel()
getLabel
in interface LyGetLabelInterface
public java.lang.String getObjectId()
public java.lang.String getHLink()
public boolean isEditable()
public boolean isSelected()
public LyHeader.Align getAlign()
public java.lang.String getImage()
public boolean isDefaultImage()
public java.lang.String getTooltip()
public java.lang.String getTopBorderColor()
public boolean isDefaultTopBorderColor()
public java.lang.String getBottomBorderColor()
public boolean isDefaultBottomBorderColor()
public java.lang.String getLeftBorderColor()
public boolean isDefaultLeftBorderColor()
public java.lang.String getRightBorderColor()
public boolean isDefaultRightBorderColor()
public java.lang.String getTopLeftImage()
public boolean isDefaultTopLeftImage()
public java.lang.String getTopRightImage()
public boolean isDefaultTopRightImage()
public java.lang.String getBottomLeftImage()
public boolean isDefaultBottomLeftImage()
public java.lang.String getBottomRightImage()
public boolean isDefaultBottomRightImage()
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 LyCell.Type getType()
public LyCell getCell(int i)
i
- the index of the Cell to get.
public int getCellCount()
public void setId(java.lang.String id)
id
- New value of id.public void setTemplate(LyCell template)
template
- New value of template.public void setLabel(java.lang.String label)
setLabel
in interface LySetLabelInterface
label
- New value of label.public void setObjectId(java.lang.String objectId)
objectId
- New value of objectId.public void setHLink(java.lang.String hLink)
hLink
- New value of hLink.public void setEditable(boolean editable)
setEditable
in interface LySetEditableInterface
editable
- Boolean indicating if attribute editable is set or unset.public void setSelected(boolean selected)
setSelected
in interface LySetSelectedInterface
selected
- Boolean indicating if attribute selected 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 setImage(java.lang.String image)
setImage
in interface LySetImageInterface
image
- New value of image.public void setTooltip(java.lang.String tooltip)
tooltip
- New value of tooltip.public void setTopBorderColor(java.lang.String topBorderColor)
topBorderColor
- New value of topBorderColor.public void setBottomBorderColor(java.lang.String bottomBorderColor)
bottomBorderColor
- New value of bottomBorderColor.public void setLeftBorderColor(java.lang.String leftBorderColor)
leftBorderColor
- New value of leftBorderColor.public void setRightBorderColor(java.lang.String rightBorderColor)
rightBorderColor
- New value of rightBorderColor.public void setTopLeftImage(java.lang.String topLeftImage)
topLeftImage
- New value of topLeftImage.public void setTopRightImage(java.lang.String topRightImage)
topRightImage
- New value of topRightImage.public void setBottomLeftImage(java.lang.String bottomLeftImage)
bottomLeftImage
- New value of bottomLeftImage.public void setBottomRightImage(java.lang.String bottomRightImage)
bottomRightImage
- New value of bottomRightImage.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 setType(LyCell.Type type)
type
- New value of type.
java.lang.IllegalArgumentException
- if type parameter is null.public void addCell(LyCell cell)
cell
- The cell to add to cells list.public void insertCell(LyCell cell, int pos)
cell
- The cell to add to cells list.pos
- Position where the sub-component is inserted.public void removeCell(LyCell cell)
cell
- The cell to remove to cells list.
java.lang.IllegalStateException
- if cells list is empty.
java.lang.IllegalArgumentException
- if cells list doesn't contain cell.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 |