|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.birt.report.model.api.ElementDetailHandle
org.eclipse.birt.report.model.api.ValueHandle
org.eclipse.birt.report.model.api.StructureHandle
org.eclipse.birt.report.model.api.TimeIntervalHandle
public class TimeIntervalHandle
The structure handle of time interval.
Field Summary |
---|
Fields inherited from class org.eclipse.birt.report.model.api.StructureHandle |
---|
structContext |
Fields inherited from class org.eclipse.birt.report.model.api.ElementDetailHandle |
---|
elementHandle |
Constructor Summary | |
---|---|
TimeIntervalHandle(DesignElementHandle element,
org.eclipse.birt.report.model.core.StructureContext context)
Constructs the handle of time interval. |
Method Summary | |
---|---|
int |
getMeasure()
Returns the measure value. |
java.lang.String |
getUnit()
Returns the unit of the time interval. |
void |
setMeasure(int measure)
Sets the measure value. |
void |
setUnit(java.lang.String unit)
Sets the unit of the time interval. |
Methods inherited from class org.eclipse.birt.report.model.api.StructureHandle |
---|
drop, getContext, getDefn, getExpressionProperty, getExternalizedValue, getExternalizedValue, getIntProperty, getMember, getProperty, getPropertyDefn, getStringProperty, getStructure, isDesignTime, iterator, setDesignTime, setExpressionProperty, setProperty, setPropertySilently |
Methods inherited from class org.eclipse.birt.report.model.api.ValueHandle |
---|
getReference |
Methods inherited from class org.eclipse.birt.report.model.api.ElementDetailHandle |
---|
getDesign, getElement, getElementHandle, getModule |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimeIntervalHandle(DesignElementHandle element, org.eclipse.birt.report.model.core.StructureContext context)
element
- the handle of the element which defines the structurecontext
- the context of this structureMethod Detail |
---|
public void setMeasure(int measure) throws SemanticException
measure
- the measure value to set
SemanticException
public int getMeasure()
public void setUnit(java.lang.String unit) throws SemanticException
DesignChoiceConstants
:
INTERVAL_SECOND
INTERVAL_MINUTE
INTERVAL_HOUR
unit
- the unit to set
SemanticException
public java.lang.String getUnit()
DesignChoiceConstants
:
INTERVAL_SECOND
INTERVAL_MINUTE
INTERVAL_HOUR
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |