|
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.graphic.LyGraphicalObject
leon.view.web.LyWebObject
leon.view.web.struts.LyStrutsCell
public class LyStrutsCell
This class implements the Cell object (as described in the dtd) for Struts viewer.
CELL: Cell
A cell may contain sub-cells to allow the construction of complex tables.
LyCell
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Fields inherited from class leon.view.web.LyWebObject |
---|
WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID |
Constructor Summary | |
---|---|
LyStrutsCell(LyCell cell)
Class constructor of a Cell object for the struts target. |
Method Summary | |
---|---|
void |
addCell(LyCell cell,
int pos)
(non-Javadoc). |
int[] |
getCellPosition()
Returns the position of current cell in its parent table. |
void |
refresh()
Overriden to call the refresh method on the parent row. |
void |
removeCell(LyCell cell)
(non-Javadoc). |
void |
setBottomBorderColor(java.lang.String bottomBorderColor)
(non-Javadoc). |
void |
setBottomLeftImage(java.lang.String bottomLeftImage)
(non-Javadoc). |
void |
setBottomRightImage(java.lang.String bottomRightImage)
(non-Javadoc). |
void |
setColor(java.lang.String color)
(non-Javadoc). |
void |
setEditable(boolean editable)
(non-Javadoc) |
void |
setFont(java.lang.String font)
(non-Javadoc). |
void |
setImage(java.lang.String key)
(non-Javadoc). |
void |
setLabel(java.lang.String label)
(non-Javadoc). |
void |
setLeftBorderColor(java.lang.String leftBorderColor)
(non-Javadoc). |
void |
setObjectId(java.lang.String objectId)
(non-Javadoc). |
void |
setRightBorderColor(java.lang.String rightBorderColor)
(non-Javadoc). |
void |
setSelected(boolean selected)
(non-Javadoc) |
void |
setTooltip(java.lang.String tooltip)
(non-Javadoc). |
void |
setTopBorderColor(java.lang.String topBorderColor)
(non-Javadoc). |
void |
setTopLeftImage(java.lang.String topLeftImage)
(non-Javadoc). |
void |
setTopRightImage(java.lang.String topRightImage)
(non-Javadoc). |
void |
writeCellContent(LyWebPageWriter pw,
int columnIndex)
Write HTML content of this cell. |
void |
writeHtml(LyWebPageWriter pw)
(non-Javadoc). |
void |
writeHtml(LyWebPageWriter pw,
int rowIndex,
int columnIndex,
int rowspanValue,
java.lang.String extraContent)
Write HTML description corresponding to this cell. |
Methods inherited from class leon.view.web.LyWebObject |
---|
addFileScript, decodeUrl, displayUpPage, encodeUrl, encodeUrlXhtml, expandUrl, free, getDisabledImageUrl, getFontSize, getFontString, getFontString, getFontString, getHexColor, getHexColor, getHtmlEntitiesString, getHtmlString, getImageSize, getImageSize, getImageUrl, getJavascriptString, getLastFrameName, getLyFont, getMessage, getRootUrl, getRootURL, getScrollHeightForSplitter, getUrl, getWebViewManager, replaceUrl, replaceUrl, setUpdating, updateRefreshInfo, writeJson |
Methods inherited from class leon.view.graphic.LyGraphicalObject |
---|
expand, getBounds, getChildrenBounds, getController, getEnv, getEnvironment, getIdCode, getIntResource, getMessage, getResource, getString, getString, getString, getViewComponent, getViewManager, isFreed, isFreeing, isImageAnimated, processDemand, processDemand, testResource, translate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface leon.view.graphic.LyGraphicalComponent |
---|
free, getViewComponent |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyStrutsCell(LyCell cell)
cell
- the generic Cell defined for every type of view targets.Method Detail |
---|
public void setLabel(java.lang.String label)
setLabel
in interface LyGraphicalCell
setLabel
in interface LySetLabelInterface
label
- New value of label.LySetLabelInterface.setLabel(java.lang.String)
public void setObjectId(java.lang.String objectId)
setObjectId
in interface LyGraphicalCell
objectId
- New value of objectId.LyGraphicalCell.setObjectId(java.lang.String)
public void setImage(java.lang.String key)
setImage
in interface LyGraphicalCell
setImage
in interface LySetImageInterface
key
- New value of image.LySetImageInterface.setImage(java.lang.String)
public void setEditable(boolean editable)
setEditable
in interface LyGraphicalCell
setEditable
in interface LySetEditableInterface
editable
- Boolean indicating if attribute editable is set or unset.LyGraphicalCell.setEditable(boolean)
public void setSelected(boolean selected)
setSelected
in interface LyGraphicalCell
setSelected
in interface LySetSelectedInterface
selected
- Boolean indicating if attribute selected is set or unset.LyGraphicalCell.setSelected(boolean)
public int[] getCellPosition()
public void writeHtml(LyWebPageWriter pw)
writeHtml
in interface LyWebComponent
pw
- the page writerLyWebComponent.writeHtml(leon.view.web.LyWebPageWriter)
public void writeHtml(LyWebPageWriter pw, int rowIndex, int columnIndex, int rowspanValue, java.lang.String extraContent)
pw
- the page writerrowIndex
- the cell rox indexcolumnIndex
- the cell column indexrowspanValue
- the cell row span valueextraContent
- extra content to write in the cellpublic void writeCellContent(LyWebPageWriter pw, int columnIndex)
pw
- the page writercolumnIndex
- the cell column indexpublic void setColor(java.lang.String color)
setColor
in interface LyGraphicalCell
setColor
in interface LySetColorInterface
color
- New value of color.LySetColorInterface.setColor(java.lang.String)
public void setFont(java.lang.String font)
LySetFontInterface.setFont(java.lang.String)
public void addCell(LyCell cell, int pos)
addCell
in interface LyGraphicalCell
cell
- The cells to add to cells list.pos
- Position where the sub-component is inserted.LyGraphicalCell.addCell(leon.view.LyCell, int)
public void removeCell(LyCell cell)
removeCell
in interface LyGraphicalCell
cell
- The cells to remove to cells list.LyGraphicalCell.removeCell(leon.view.LyCell)
public void setTooltip(java.lang.String tooltip)
setTooltip
in interface LyGraphicalCell
tooltip
- New value of tooltip.LyGraphicalCell.setTooltip(java.lang.String)
public void setBottomBorderColor(java.lang.String bottomBorderColor)
setBottomBorderColor
in interface LyGraphicalCell
bottomBorderColor
- New value of bottomBorderColor.LyGraphicalCell.setBottomBorderColor(java.lang.String)
public void setLeftBorderColor(java.lang.String leftBorderColor)
setLeftBorderColor
in interface LyGraphicalCell
leftBorderColor
- New value of leftBorderColor.LyGraphicalCell.setLeftBorderColor(java.lang.String)
public void setRightBorderColor(java.lang.String rightBorderColor)
setRightBorderColor
in interface LyGraphicalCell
rightBorderColor
- New value of rightBorderColor.LyGraphicalCell.setRightBorderColor(java.lang.String)
public void setTopBorderColor(java.lang.String topBorderColor)
setTopBorderColor
in interface LyGraphicalCell
topBorderColor
- New value of topBorderColor.LyGraphicalCell.setTopBorderColor(java.lang.String)
public void setBottomLeftImage(java.lang.String bottomLeftImage)
setBottomLeftImage
in interface LyGraphicalCell
bottomLeftImage
- New value of bottomLeftImage.LyGraphicalCell.setBottomLeftImage(java.lang.String)
public void setBottomRightImage(java.lang.String bottomRightImage)
setBottomRightImage
in interface LyGraphicalCell
bottomRightImage
- New value of bottomRightImage.LyGraphicalCell.setBottomRightImage(java.lang.String)
public void setTopLeftImage(java.lang.String topLeftImage)
setTopLeftImage
in interface LyGraphicalCell
topLeftImage
- New value of topLeftImage.LyGraphicalCell.setTopLeftImage(java.lang.String)
public void setTopRightImage(java.lang.String topRightImage)
setTopRightImage
in interface LyGraphicalCell
topRightImage
- New value of topRightImage.LyGraphicalCell.setTopRightImage(java.lang.String)
public void refresh()
refresh
in class LyWebObject
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |