LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.mobile
Class LyMobileHeader

java.lang.Object
  extended by leon.view.graphic.LyGraphicalObject
      extended by leon.view.mobile.LyMobileObject
          extended by leon.view.mobile.LyMobileTableObject
              extended by leon.view.mobile.LyMobileHeader
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalHeader, LyViewComponent, LyMobileComponent, LyFreeInterface

public class LyMobileHeader
extends LyMobileTableObject
implements LyGraphicalHeader


Field Summary
 
Fields inherited from class leon.view.mobile.LyMobileObject
REWRITING_MODE, SEP_ID, WEB_COMPONENT_ID, WEB_CONTROLLER_ID, WEB_SESSION_ID
 
Fields inherited from class leon.view.graphic.LyGraphicalObject
__VERSION
 
Fields inherited from interface leon.view.graphic.LyGraphicalHeader
__VERSION
 
Constructor Summary
LyMobileHeader(LyHeader header)
           
 
Method Summary
 void init()
           
 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 writeJson(java.io.PrintWriter pw, java.lang.String sessionId)
           
 void writeXml(java.io.PrintWriter pw)
          Write XML description corresponding to this component.
 int writeXml(java.io.PrintWriter pw, int nb)
           
 
Methods inherited from class leon.view.mobile.LyMobileObject
createWebview, expandUrl, getDirForDownloadImage, getImageUrl, getUrl, printJsonAttributeSeparator
 
Methods inherited from class leon.view.graphic.LyGraphicalObject
expand, free, getBounds, getChildrenBounds, getController, getEnv, getEnvironment, getIdCode, getIntResource, getMessage, 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

LyMobileHeader

public LyMobileHeader(LyHeader header)
Method Detail

writeXml

public void writeXml(java.io.PrintWriter pw)
Description copied from interface: LyMobileComponent
Write XML description corresponding to this component.

Specified by:
writeXml in interface LyMobileComponent
Overrides:
writeXml in class LyMobileTableObject
Parameters:
pw - the print writer

writeJson

public void writeJson(java.io.PrintWriter pw,
                      java.lang.String sessionId)
Specified by:
writeJson in interface LyMobileComponent

init

public void init()
Specified by:
init in interface LyMobileComponent
Overrides:
init in class LyMobileTableObject

setSort

public void setSort(int sort)
Description copied from interface: LyGraphicalHeader
Updates attribute sort to the given value.

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

setIncreasing

public void setIncreasing(boolean increasing)
Description copied from interface: LyGraphicalHeader
Updates attribute increasing to the given value.

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

setFixed

public void setFixed(boolean fixed)
Description copied from interface: LyGraphicalHeader
Updates attribute fixed to the given value.

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

setBorderWidth

public void setBorderWidth(int borderWidth)
Description copied from interface: LyGraphicalHeader
Updates attribute borderWidth to the given value.

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

setBorderColor

public void setBorderColor(java.lang.String borderColor)
Description copied from interface: LyGraphicalHeader
Updates attribute borderColor to the given value.

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

writeXml

public int writeXml(java.io.PrintWriter pw,
                    int nb)
Specified by:
writeXml in class LyMobileTableObject

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