LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.web.jquery.component.header
Class LyJQHeader

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.header.LyJQHeader
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalHeader, LyViewComponent, LyFreeInterface, LyWebComponent

public class LyJQHeader
extends LyJQInternalView
implements LyGraphicalHeader

LyHeader JQuery internal view


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
LyJQHeader(LyHeader header)
           
 
Method Summary
 int getColSpan()
          get colspan
 int getHeaderIndex()
          get current header index
 java.lang.String getReloadScript()
          this method is to be implemented by internal views to get the reload script for the page element
 int getRowSpan()
          get row span
 void setBorderColor(java.lang.String borderColor)
          set border color ajax response
 void setBorderWidth(int borderWidth)
          set border width ajax response
 void setColumnWidth(double columnWidth)
          Sets attribute columnWidth to the given value.
 void setFixed(boolean fixed)
          (non-Javadoc)
 void setIncreasing(boolean increasing)
          header increasing ajax response
 void setSort(int sort)
          sort table ajax response
 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
 

Field Detail

__VERSION

public static final java.lang.String __VERSION
See Also:
Constant Field Values
Constructor Detail

LyJQHeader

public LyJQHeader(LyHeader header)
Method Detail

setSort

public void setSort(int sort)
sort table ajax response

Specified by:
setSort in interface LyGraphicalHeader
Parameters:
sort - New value of sort.

setIncreasing

public void setIncreasing(boolean increasing)
header increasing ajax response

Specified by:
setIncreasing in interface LyGraphicalHeader
Parameters:
increasing - Boolean indicating if attribute increasing is set or unset.

setFixed

public void setFixed(boolean fixed)
(non-Javadoc)

Specified by:
setFixed in interface LyGraphicalHeader
Parameters:
fixed - Boolean indicating if attribute fixed is set or unset.
See Also:
LyGraphicalHeader.setFixed(boolean)

setBorderWidth

public void setBorderWidth(int borderWidth)
set border width ajax response

Specified by:
setBorderWidth in interface LyGraphicalHeader
Parameters:
borderWidth - New value of borderWidth.

setBorderColor

public void setBorderColor(java.lang.String borderColor)
set border color ajax response

Specified by:
setBorderColor in interface LyGraphicalHeader
Parameters:
borderColor - New value of borderColor.

getHeaderIndex

public int getHeaderIndex()
get current header index


getRowSpan

public int getRowSpan()
get row span


getColSpan

public int getColSpan()
get colspan

Returns:
colspan

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

setColumnWidth

public void setColumnWidth(double columnWidth)
Sets attribute columnWidth to the given value.

Specified by:
setColumnWidth in interface LyGraphicalHeader
Parameters:
columnWidth - New value of columnWidth.

(c) January 2013 - W4 S.A.

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