|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.view.LyComponent
leon.view.LyIntervals
public class LyIntervals
The LyIntervals class is a generated Java implementation that corresponds to the element INTERVALS of the descriptive grammar of the views (views.dtd). <INTERVALS> : Time unit for the length of the intervals of the variables to study, in the case of dates: YEARS | MONTHS | DAYS | HOURS | MINS | SECS By default, the unit is YEARS An INTERVALS element allows defining the series of intervals of the variables to study and of the variable according to which they are studied. This is useful only if the xVal attribute of CHART is X_INTERVALS or if the yVal attribute of CHART is Y_COUNT_INTERVALS.
See also tag INTERVALS of grammar leon_views.dtd.
Nested Class Summary | |
---|---|
static class |
LyIntervals.TimeUnit
Possible values for attribute 'xTimeUnit'. |
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 | |
---|---|
LyIntervals()
Default constructor. |
Method Summary | |
---|---|
LyComponent |
cloneComponent()
Method for cloning a component. |
static LyIntervals.TimeUnit |
getTimeUnit(java.lang.String token)
Utility method to get xTimeUnit value from a string. |
double |
getXBegin()
Gets value of xBegin. |
LyIntervals.TimeUnit |
getXTimeUnit()
Gets value of xTimeUnit. |
float |
getXWidth()
Gets value of xWidth. |
double |
getYBegin()
Gets value of yBegin. |
LyIntervals.TimeUnit |
getYTimeUnit()
Gets value of yTimeUnit. |
float |
getYWidth()
Gets value of yWidth. |
void |
setXBegin(double xBegin)
Initializes attribute xBegin to the given value. |
void |
setXTimeUnit(LyIntervals.TimeUnit xTimeUnit)
Initializes attribute xTimeUnit to the given value. |
void |
setXWidth(float xWidth)
Initializes attribute xWidth to the given value. |
void |
setYBegin(double yBegin)
Initializes attribute yBegin to the given value. |
void |
setYTimeUnit(LyIntervals.TimeUnit yTimeUnit)
Initializes attribute yTimeUnit to the given value. |
void |
setYWidth(float yWidth)
Initializes attribute yWidth to the given value. |
void |
writeXml(java.io.PrintWriter pw,
boolean debug)
Method to rewrite XML corresponding to this component. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyIntervals()
Method Detail |
---|
public static final LyIntervals.TimeUnit getTimeUnit(java.lang.String token)
token
- Token string
public LyComponent cloneComponent()
cloneComponent
in class LyComponent
public double getXBegin()
public float getXWidth()
public LyIntervals.TimeUnit getXTimeUnit()
public double getYBegin()
public float getYWidth()
public LyIntervals.TimeUnit getYTimeUnit()
public void setXBegin(double xBegin)
xBegin
- New value of xBegin.public void setXWidth(float xWidth)
xWidth
- New value of xWidth.public void setXTimeUnit(LyIntervals.TimeUnit xTimeUnit)
xTimeUnit
- New value of xTimeUnit.
java.lang.IllegalArgumentException
- if xTimeUnit parameter is null.public void setYBegin(double yBegin)
yBegin
- New value of yBegin.public void setYWidth(float yWidth)
yWidth
- New value of yWidth.public void setYTimeUnit(LyIntervals.TimeUnit yTimeUnit)
yTimeUnit
- New value of yTimeUnit.
java.lang.IllegalArgumentException
- if yTimeUnit parameter is null.public void writeXml(java.io.PrintWriter pw, boolean debug)
writeXml
in class LyComponent
pw
- the printWriter on which the XML is written.debug
- true if debug mode (full dump).
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |