|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.cnes.genius.interval.GIntervalFormatAbstract
fr.cnes.genopus.time.GPIntervalFormatDateOffset
public class GPIntervalFormatDateOffset
Abstract class defining an interval formatter used to update the format of the tooltip message of a GPDateOffset.
| Constructor Summary | |
|---|---|
GPIntervalFormatDateOffset(GPDateOffsetField.GPOffsetFormat format,
fr.cnes.genius.unit.GUnit unit)
Constructor. |
|
| Method Summary | |
|---|---|
String |
format(Object object)
The object must be of Number type. |
void |
update(GPDateOffsetField.GPOffsetFormat format,
fr.cnes.genius.unit.GUnit unit)
Update the class attributes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GPIntervalFormatDateOffset(GPDateOffsetField.GPOffsetFormat format,
fr.cnes.genius.unit.GUnit unit)
format - calendar or fractional for the interval edges to be shown in the messageunit - current unit needed to determine the number of fractional digits for the interval edges to
be shown in the message| Method Detail |
|---|
public String format(Object object)
format in class fr.cnes.genius.interval.GIntervalFormatAbstract
public void update(GPDateOffsetField.GPOffsetFormat format,
fr.cnes.genius.unit.GUnit unit)
format - calendar or fractional for the interval edges to be shown in the messageunit - current unit needed to determine the number of fractional digits for the interval edges to
be shown in the message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||