LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.jquery.component.cell
Class LyJQCell

java.lang.Object
  extended by leon.view.graphic.LyGraphicalObject
      extended by leon.view.web.LyWebObject
          extended by leon.view.web.jquery.component.LyJQInternalView
              extended by leon.view.web.jquery.component.cell.LyJQCell
All Implemented Interfaces:
LyGraphicalCell, LyGraphicalComponent, LyViewComponent, LyFreeInterface, LySetColorInterface, LySetEditableInterface, LySetImageInterface, LySetLabelInterface, LySetSelectedInterface, LyWebComponent

public class LyJQCell
extends LyJQInternalView
implements LyGraphicalCell

LyCell 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.LyGraphicalCell
__VERSION
 
Constructor Summary
LyJQCell(LyCell cell)
           
 
Method Summary
 void addCell(LyCell cells, int pos)
          Inserts a sub-component cells at given position.
 java.lang.String getAlign(int columnIndex)
          Gets the cell alignment.
 java.lang.String getImageCellUrl(java.lang.String image)
          get image cell url
 LyTable getParentTable()
           
 java.lang.String getReloadScript()
          this method is to be implemented by internal views to get the reload script for the page element
 java.util.List<LyCell> getSubCellList(LyCell cell)
          get sub cells list
 void reloadTable()
          reload table
 void removeCell(LyCell cells)
          Removes a sub-component cells.
 void setBottomBorderColor(java.lang.String bottomBorderColor)
          Updates attribute bottomBorderColor to the given value.
 void setBottomLeftImage(java.lang.String bottomLeftImage)
          Updates attribute bottomLeftImage to the given value.
 void setBottomRightImage(java.lang.String bottomRightImage)
          Updates attribute bottomRightImage to the given value.
 void setColor(java.lang.String color)
          Updates attribute color to the given value.
 void setEditable(boolean editable)
          Updates attribute editable to the given value.
 void setImage(java.lang.String image)
          Updates attribute image to the given value.
 void setLabel(java.lang.String label)
          Updates attribute label to the given value.
 void setLeftBorderColor(java.lang.String leftBorderColor)
          Updates attribute leftBorderColor to the given value.
 void setObjectId(java.lang.String objectId)
          Updates attribute objectId to the given value.
 void setRightBorderColor(java.lang.String rightBorderColor)
          Updates attribute rightBorderColor to the given value.
 void setSelected(boolean selected)
          Updates attribute selected to the given value.
 void setTooltip(java.lang.String tooltip)
          Updates attribute tooltip to the given value.
 void setTopBorderColor(java.lang.String topBorderColor)
          Updates attribute topBorderColor to the given value.
 void setTopLeftImage(java.lang.String topLeftImage)
          Updates attribute topLeftImage to the given value.
 void setTopRightImage(java.lang.String topRightImage)
          Updates attribute topRightImage 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, getJavascriptStrId, 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

LyJQCell

public LyJQCell(LyCell cell)
Method Detail

setLabel

public void setLabel(java.lang.String label)
Description copied from interface: LyGraphicalCell
Updates attribute label to the given value.

Specified by:
setLabel in interface LyGraphicalCell
Specified by:
setLabel in interface LySetLabelInterface
Parameters:
label - New value of label.

setObjectId

public void setObjectId(java.lang.String objectId)
Description copied from interface: LyGraphicalCell
Updates attribute objectId to the given value.

Specified by:
setObjectId in interface LyGraphicalCell
Parameters:
objectId - New value of objectId.

setEditable

public void setEditable(boolean editable)
Description copied from interface: LyGraphicalCell
Updates attribute editable to the given value.

Specified by:
setEditable in interface LyGraphicalCell
Specified by:
setEditable in interface LySetEditableInterface
Parameters:
editable - Boolean indicating if attribute editable is set or unset.

getParentTable

public LyTable getParentTable()

getAlign

public java.lang.String getAlign(int columnIndex)
Gets the cell alignment.


setSelected

public void setSelected(boolean selected)
Description copied from interface: LyGraphicalCell
Updates attribute selected to the given value.

Specified by:
setSelected in interface LyGraphicalCell
Specified by:
setSelected in interface LySetSelectedInterface
Parameters:
selected - Boolean indicating if attribute selected is set or unset.

setImage

public void setImage(java.lang.String image)
Description copied from interface: LyGraphicalCell
Updates attribute image to the given value.

Specified by:
setImage in interface LyGraphicalCell
Specified by:
setImage in interface LySetImageInterface
Parameters:
image - New value of image.

setTooltip

public void setTooltip(java.lang.String tooltip)
Description copied from interface: LyGraphicalCell
Updates attribute tooltip to the given value.

Specified by:
setTooltip in interface LyGraphicalCell
Parameters:
tooltip - New value of tooltip.

setTopBorderColor

public void setTopBorderColor(java.lang.String topBorderColor)
Description copied from interface: LyGraphicalCell
Updates attribute topBorderColor to the given value.

Specified by:
setTopBorderColor in interface LyGraphicalCell
Parameters:
topBorderColor - New value of topBorderColor.

setBottomBorderColor

public void setBottomBorderColor(java.lang.String bottomBorderColor)
Description copied from interface: LyGraphicalCell
Updates attribute bottomBorderColor to the given value.

Specified by:
setBottomBorderColor in interface LyGraphicalCell
Parameters:
bottomBorderColor - New value of bottomBorderColor.

setLeftBorderColor

public void setLeftBorderColor(java.lang.String leftBorderColor)
Description copied from interface: LyGraphicalCell
Updates attribute leftBorderColor to the given value.

Specified by:
setLeftBorderColor in interface LyGraphicalCell
Parameters:
leftBorderColor - New value of leftBorderColor.

setRightBorderColor

public void setRightBorderColor(java.lang.String rightBorderColor)
Description copied from interface: LyGraphicalCell
Updates attribute rightBorderColor to the given value.

Specified by:
setRightBorderColor in interface LyGraphicalCell
Parameters:
rightBorderColor - New value of rightBorderColor.

setTopLeftImage

public void setTopLeftImage(java.lang.String topLeftImage)
Description copied from interface: LyGraphicalCell
Updates attribute topLeftImage to the given value.

Specified by:
setTopLeftImage in interface LyGraphicalCell
Parameters:
topLeftImage - New value of topLeftImage.

setTopRightImage

public void setTopRightImage(java.lang.String topRightImage)
Description copied from interface: LyGraphicalCell
Updates attribute topRightImage to the given value.

Specified by:
setTopRightImage in interface LyGraphicalCell
Parameters:
topRightImage - New value of topRightImage.

setBottomLeftImage

public void setBottomLeftImage(java.lang.String bottomLeftImage)
Description copied from interface: LyGraphicalCell
Updates attribute bottomLeftImage to the given value.

Specified by:
setBottomLeftImage in interface LyGraphicalCell
Parameters:
bottomLeftImage - New value of bottomLeftImage.

setBottomRightImage

public void setBottomRightImage(java.lang.String bottomRightImage)
Description copied from interface: LyGraphicalCell
Updates attribute bottomRightImage to the given value.

Specified by:
setBottomRightImage in interface LyGraphicalCell
Parameters:
bottomRightImage - New value of bottomRightImage.

setColor

public void setColor(java.lang.String color)
Description copied from interface: LyGraphicalCell
Updates attribute color to the given value.

Specified by:
setColor in interface LyGraphicalCell
Specified by:
setColor in interface LySetColorInterface
Parameters:
color - New value of color.

addCell

public void addCell(LyCell cells,
                    int pos)
Description copied from interface: LyGraphicalCell
Inserts a sub-component cells at given position.

Specified by:
addCell in interface LyGraphicalCell
Parameters:
cells - The cells to add to cells list.
pos - Position where the sub-component is inserted.

removeCell

public void removeCell(LyCell cells)
Description copied from interface: LyGraphicalCell
Removes a sub-component cells.

Specified by:
removeCell in interface LyGraphicalCell
Parameters:
cells - The cells to remove to cells list.

getSubCellList

public java.util.List<LyCell> getSubCellList(LyCell cell)
get sub cells list

Returns:
sub cell list

writeHtml

public void writeHtml(LyWebPageWriter pw)
Description copied from interface: LyWebComponent
Write HTML description corresponding to this component.

Specified by:
writeHtml in interface LyWebComponent
Parameters:
pw - the page writer

getReloadScript

public java.lang.String getReloadScript()
Description copied from class: LyJQInternalView
this method is to be implemented by internal views to get the reload script for the page element

Specified by:
getReloadScript in class LyJQInternalView
Returns:
reload component script

getImageCellUrl

public java.lang.String getImageCellUrl(java.lang.String image)
get image cell url


reloadTable

public void reloadTable()
reload table


(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com