LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.view
Class LyPeriod

java.lang.Object
  extended by leon.view.LyComponent
      extended by leon.view.LyPeriod

public class LyPeriod
extends LyComponent

The LyPeriod class is a generated Java implementation that corresponds to the element PERIOD of the descriptive grammar of the views (views.dtd). <PERIOD> : Period A period allows dividing an interval of a Gantt planning into several sub-parts. It is described by a begin date and an end date.

See Also:
See also tag PERIOD of grammar leon_views.dtd.

Nested Class Summary
 
Nested classes/interfaces inherited from class leon.view.LyComponent
LyComponent.EventType
 
Field Summary
static java.lang.String __VERSION
           
 
Fields inherited from class leon.view.LyComponent
_nbComponents, INIT_RESOURCE_ID, INTERNAL_ID_SEP, REWRITING_MODE, SEP_ID
 
Constructor Summary
LyPeriod(java.lang.String beginDate, java.lang.String endDate)
          Constructor with all required attributes.
 
Method Summary
 LyComponent cloneComponent()
          Method for cloning a component.
 java.lang.String getBeginDate()
          Gets value of beginDate.
 java.lang.String getEndDate()
          Gets value of endDate.
 void setBeginDate(java.lang.String beginDate)
          Sets attribute beginDate to the given value.
 void setEndDate(java.lang.String endDate)
          Sets attribute endDate to the given value.
 void writeXml(java.io.PrintWriter pw, boolean debug)
          Method to rewrite XML corresponding to this component.
 
Methods inherited from class leon.view.LyComponent
addComponent, addData, addEventFunction, clearChildrenBounds, free, freeze, getBounds, getChild, getChildCount, getChildFromCache, getChildrenBounds, getComponent, getComponent, getComponent, getComponent, getComponent, getComponentAt, getComponentAt, getComponentByInternalId, getComponentByLabel, getComponents, getComponentWithModel, getData, getDatas, getEnvironment, getEventFunctions, getId, getIdCode, getInternalId, getInternalView, getInternalView, getLock, getModel, getParent, getParentArea, getParentForm, getParentFormFieldId, getParentSplitter, getParentSplitter, getParentTab, getParentTab, getParentTabs, getParentTabs, getParentView, getRootController, getSetVisibleParent, getTag, getViewManager, isFreed, isFreeing, registerChildrenBounds, removeComponent, reset, resetChildrenCache, resetEventFunctions, setDatas, setInternalView, setVisible, useEventDefaultFunction, writeXml
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

__VERSION

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

LyPeriod

public LyPeriod(java.lang.String beginDate,
                java.lang.String endDate)
Constructor with all required attributes.

Parameters:
beginDate - Begin date (respecting date format of the Gantt planning).
endDate - End date (respecting date format of the Gantt planning).
Method Detail

cloneComponent

public LyComponent cloneComponent()
Method for cloning a component.

Specified by:
cloneComponent in class LyComponent

getBeginDate

public java.lang.String getBeginDate()
Gets value of beginDate.

Returns:
value of beginDate.

getEndDate

public java.lang.String getEndDate()
Gets value of endDate.

Returns:
value of endDate.

setBeginDate

public void setBeginDate(java.lang.String beginDate)
Sets attribute beginDate to the given value.

Parameters:
beginDate - New value of beginDate.
Throws:
java.lang.IllegalArgumentException - if beginDate is null.

setEndDate

public void setEndDate(java.lang.String endDate)
Sets attribute endDate to the given value.

Parameters:
endDate - New value of endDate.
Throws:
java.lang.IllegalArgumentException - if endDate is null.

writeXml

public void writeXml(java.io.PrintWriter pw,
                     boolean debug)
Method to rewrite XML corresponding to this component.

Specified by:
writeXml in class LyComponent
Parameters:
pw - the printWriter on which the XML is written.
debug - true if debug mode (full dump).

(c) January 2013 - W4 S.A.

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