|
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.jquery.component.LyJQInternalView
leon.view.web.jquery.component.row.LyJQRow
public class LyJQRow
Ly table Row jQuery internal view
Field Summary |
---|
Fields inherited from class leon.view.web.LyWebObject |
---|
__VERSION, WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID |
Fields inherited from interface leon.view.graphic.LyGraphicalRow |
---|
__VERSION |
Constructor Summary | |
---|---|
LyJQRow(LyRow row)
Class constructor of a Row object for the Struts target. |
Method Summary | |
---|---|
void |
addComponent(LyComponent component,
int pos)
Inserts a sub-component components at given position. |
int |
getDepthInTable()
Gets the depth of current row in the table. |
java.util.List<LyRow> |
getIndexedRowList(LyRows rows)
|
java.lang.String |
getJavascriptStrId()
|
java.lang.String |
getJSId()
|
int |
getNbChild(LyCell cell)
|
java.lang.String |
getReloadScript()
this method is to be implemented by internal views to get the reload script for the page element |
int |
getRowIndex()
get Row Index for a given cell |
int |
getRowSpan()
get Row Span for a given cell |
boolean |
hasComponents(boolean testToolbar)
Indicates if current row contains at least one component (field, editable cell or toolbar). |
void |
removeComponent(LyComponent component)
Removes a sub-component components. |
void |
setBorderColor(java.lang.String borderColor)
Updates attribute borderColor to the given value. |
void |
setBorderHeight(int borderHeight)
Updates attribute borderHeight to the given value. |
void |
setColor(java.lang.String color)
Updates attribute color to the given value. |
void |
setHidden(boolean hidden)
Updates attribute hidden to the given value. |
void |
setImage(java.lang.String image)
Updates attribute image to the given value. |
void |
setIndex(java.lang.String index)
Updates attribute index to the given value. |
void |
setLabel(java.lang.String label)
Updates attribute label to the given value. |
void |
setOpen(boolean open)
Updates attribute open to the given value. |
void |
setTooltip(java.lang.String tooltip)
Updates attribute tooltip to the given value. |
void |
writeHtml(LyWebPageWriter pw)
Write HTML description corresponding to this component. |
Methods inherited from class leon.view.web.jquery.component.LyJQInternalView |
---|
getConvertedHTML, getEncoding, getId, getJSWithoutTranslateString, getTreatedInternalId, isIE, setProperty |
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, refresh, 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 |
Constructor Detail |
---|
public LyJQRow(LyRow row)
row
- the generic Row defined for every type of view targets.Method Detail |
---|
public void setOpen(boolean open)
LyGraphicalRow
setOpen
in interface LyGraphicalRow
open
- Boolean indicating if attribute open is set or unset.LyGraphicalRow.setOpen(boolean)
public void setImage(java.lang.String image)
LyGraphicalRow
setImage
in interface LyGraphicalRow
setImage
in interface LySetImageInterface
image
- New value of image.LyGraphicalRow.setImage(java.lang.String)
public void setLabel(java.lang.String label)
LyGraphicalRow
setLabel
in interface LyGraphicalRow
setLabel
in interface LySetLabelInterface
label
- New value of label.LyGraphicalRow.setLabel(java.lang.String)
public void setIndex(java.lang.String index)
LyGraphicalRow
setIndex
in interface LyGraphicalRow
index
- New value of index.leon.view.setinterface.LyGraphicalRow#setIndex(java.lang.String)
public void setTooltip(java.lang.String tooltip)
LyGraphicalRow
setTooltip
in interface LyGraphicalRow
tooltip
- New value of tooltip.LyGraphicalRow.setTooltip(java.lang.String)
public java.lang.String getJavascriptStrId()
getJavascriptStrId
in class LyJQInternalView
public void setHidden(boolean hidden)
LyGraphicalRow
setHidden
in interface LyGraphicalRow
setHidden
in interface LySetHiddenInterface
hidden
- Boolean indicating if attribute hidden is set or unset.LyGraphicalRow.setHidden(boolean)
public void setBorderHeight(int borderHeight)
LyGraphicalRow
setBorderHeight
in interface LyGraphicalRow
borderHeight
- New value of borderHeight.LyGraphicalRow.setBorderHeight(int)
public void setBorderColor(java.lang.String borderColor)
LyGraphicalRow
setBorderColor
in interface LyGraphicalRow
borderColor
- New value of borderColor.LyGraphicalRow.setBorderColor(java.lang.String)
public void addComponent(LyComponent component, int pos)
LyGraphicalRow
addComponent
in interface LyGraphicalRow
component
- The components to add to components list.pos
- Position where the sub-component is inserted.LyGraphicalRow.addComponent(leon.view.LyComponent, int)
public void removeComponent(LyComponent component)
LyGraphicalRow
removeComponent
in interface LyGraphicalRow
component
- The components to remove to components list.LyGraphicalRow.removeComponent(leon.view.LyComponent)
public int getDepthInTable()
public int getRowSpan()
public int getNbChild(LyCell cell)
public int getRowIndex()
public java.util.List<LyRow> getIndexedRowList(LyRows rows)
public boolean hasComponents(boolean testToolbar)
testToolbar
- indicates if we must test the presence of a toolbar
public java.lang.String getJSId()
public void writeHtml(LyWebPageWriter pw)
LyWebComponent
writeHtml
in interface LyWebComponent
pw
- the page writerpublic java.lang.String getReloadScript()
LyJQInternalView
getReloadScript
in class LyJQInternalView
public void setColor(java.lang.String color)
LyGraphicalRow
setColor
in interface LyGraphicalRow
setColor
in interface LySetColorInterface
color
- New value of color.
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |