|
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.LyStrutsHeader
public class LyStrutsHeader
This class implements the Header object (as described in the dtd) for Struts viewer.
HEADER: Header Cell
This represents the header of a cell.
LyHeader
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 | |
---|---|
LyStrutsHeader(LyHeader header)
Class constructor of a Header object for the Struts target. |
Method Summary | |
---|---|
java.lang.String |
checkHeaderWidth(java.lang.String label,
java.lang.String fontString,
boolean isHeader)
Checks a label is displayable in the header according to header width. |
int |
getHeaderIndex()
Gets the header index from the headers list. |
void |
initialize()
Initialization method. |
void |
refresh()
Performs a refresh of the table. |
void |
setBorderColor(java.lang.String borderColor)
Updates attribute borderColor to the given value. |
void |
setBorderWidth(int borderWidth)
Updates attribute borderWidth to the given value. |
void |
setColumnWidth(double columnWidth)
Sets attribute columnWidth to the given value. |
void |
setFixed(boolean fixed)
Updates attribute fixed to the given value. |
void |
setIncreasing(boolean increasing)
Updates attribute increasing to the given value. |
void |
setSort(int sort)
Updates attribute sort to the given value. |
void |
writeHtml(LyWebPageWriter pw)
Write HTML description corresponding to this component. |
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 LyStrutsHeader(LyHeader header)
header
- the generic Header defined for every type of view targetsMethod Detail |
---|
public void refresh()
refresh
in class LyWebObject
public void initialize()
public void writeHtml(LyWebPageWriter pw)
LyWebComponent
writeHtml
in interface LyWebComponent
pw
- the page writerpublic java.lang.String checkHeaderWidth(java.lang.String label, java.lang.String fontString, boolean isHeader)
label
- the labelfontString
- the font property used to display labelisHeader
- indicates if label is displayed in an header
public void setIncreasing(boolean increasing)
LyGraphicalHeader
setIncreasing
in interface LyGraphicalHeader
increasing
- Boolean indicating if attribute increasing is set or unset.public void setFixed(boolean fixed)
LyGraphicalHeader
setFixed
in interface LyGraphicalHeader
fixed
- Boolean indicating if attribute fixed is set or unset.public void setSort(int sort)
LyGraphicalHeader
setSort
in interface LyGraphicalHeader
sort
- New value of sort.public void setBorderColor(java.lang.String borderColor)
LyGraphicalHeader
setBorderColor
in interface LyGraphicalHeader
borderColor
- New value of borderColor.public void setBorderWidth(int borderWidth)
LyGraphicalHeader
setBorderWidth
in interface LyGraphicalHeader
borderWidth
- New value of borderWidth.public int getHeaderIndex()
public void setColumnWidth(double columnWidth)
setColumnWidth
in interface LyGraphicalHeader
columnWidth
- New value of columnWidth.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |