LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view.mobile
Class LyMobileGantt

java.lang.Object
  extended by leon.view.graphic.LyGraphicalObject
      extended by leon.view.mobile.LyMobileObject
          extended by leon.view.mobile.LyMobileGantt
All Implemented Interfaces:
LyGraphicalComponent, LyGraphicalFieldItem, LyGraphicalGantt, LyGraphicalPanel, LyViewComponent, LyMobileComponent, LyFreeInterface

public class LyMobileGantt
extends LyMobileObject
implements LyGraphicalGantt


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.LyGraphicalGantt
__VERSION
 
Constructor Summary
LyMobileGantt(LyGantt gantt)
           
 
Method Summary
 void addDay(LyDay daies, int pos)
          Inserts a sub-component daies at given position.
 void addLine(LyLine lines, int pos)
          Inserts a sub-component lines at given position.
 void init()
           
 void removeDay(LyDay daies)
          Removes a sub-component daies.
 void removeLine(LyLine lines)
          Removes a sub-component lines.
 void setBeginDate(java.lang.String beginDate)
          Updates attribute beginDate to the given value.
 void setCurrentDateRefreshPeriod(int currentDateRefreshPeriod)
          Updates attribute currentDateRefreshPeriod to the given value.
 void setEndDate(java.lang.String endDate)
          Updates attribute endDate to the given value.
 void setHCenteredLine(java.lang.String hCenteredLine)
          Updates attribute hCenteredLine to the given value.
 void setVCenteredLine(java.lang.String vCenteredLine)
          Updates attribute vCenteredLine to the given value.
 void setZoomFactor(LyGantt.ZoomFactor zoomFactor)
          Updates attribute zoomFactor 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.
 
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

LyMobileGantt

public LyMobileGantt(LyGantt gantt)
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
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

setBeginDate

public void setBeginDate(java.lang.String beginDate)
Description copied from interface: LyGraphicalGantt
Updates attribute beginDate to the given value.

Specified by:
setBeginDate in interface LyGraphicalGantt
Parameters:
beginDate - New value of beginDate.

setEndDate

public void setEndDate(java.lang.String endDate)
Description copied from interface: LyGraphicalGantt
Updates attribute endDate to the given value.

Specified by:
setEndDate in interface LyGraphicalGantt
Parameters:
endDate - New value of endDate.

setZoomFactor

public void setZoomFactor(LyGantt.ZoomFactor zoomFactor)
Description copied from interface: LyGraphicalGantt
Updates attribute zoomFactor to the given value.

Specified by:
setZoomFactor in interface LyGraphicalGantt
Parameters:
zoomFactor - New value of zoomFactor.

setCurrentDateRefreshPeriod

public void setCurrentDateRefreshPeriod(int currentDateRefreshPeriod)
Description copied from interface: LyGraphicalGantt
Updates attribute currentDateRefreshPeriod to the given value.

Specified by:
setCurrentDateRefreshPeriod in interface LyGraphicalGantt
Parameters:
currentDateRefreshPeriod - New value of currentDateRefreshPeriod.

setHCenteredLine

public void setHCenteredLine(java.lang.String hCenteredLine)
Description copied from interface: LyGraphicalGantt
Updates attribute hCenteredLine to the given value.

Specified by:
setHCenteredLine in interface LyGraphicalGantt
Parameters:
hCenteredLine - New value of hCenteredLine.

setVCenteredLine

public void setVCenteredLine(java.lang.String vCenteredLine)
Description copied from interface: LyGraphicalGantt
Updates attribute vCenteredLine to the given value.

Specified by:
setVCenteredLine in interface LyGraphicalGantt
Parameters:
vCenteredLine - New value of vCenteredLine.

addLine

public void addLine(LyLine lines,
                    int pos)
Description copied from interface: LyGraphicalGantt
Inserts a sub-component lines at given position.

Specified by:
addLine in interface LyGraphicalGantt
Parameters:
lines - The lines to add to lines list.
pos - Position where the sub-component is inserted.

removeLine

public void removeLine(LyLine lines)
Description copied from interface: LyGraphicalGantt
Removes a sub-component lines.

Specified by:
removeLine in interface LyGraphicalGantt
Parameters:
lines - The lines to remove to lines list.

addDay

public void addDay(LyDay daies,
                   int pos)
Description copied from interface: LyGraphicalGantt
Inserts a sub-component daies at given position.

Specified by:
addDay in interface LyGraphicalGantt
Parameters:
daies - The daies to add to daies list.
pos - Position where the sub-component is inserted.

removeDay

public void removeDay(LyDay daies)
Description copied from interface: LyGraphicalGantt
Removes a sub-component daies.

Specified by:
removeDay in interface LyGraphicalGantt
Parameters:
daies - The daies to remove to daies list.

(c) January 2013 - W4 S.A.

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