TimeLineHelper

Inheritance: java.lang.Object

public class TimeLineHelper

TimeLineHelper to set property of timeline shape.

Constructors

ConstructorDescription
TimeLineHelper(Shape shape)TimeLineHelper.

Methods

MethodDescription
equals(Object arg0)
getClass()
getDoubleStringFromDateTime(DateTime dateTime)Convert the date time to double value.
getTimePeriodFinish()Time Period for finish of timeline shape
getTimePeriodStart()Time Period for start of timeline shape
getTimeScale()scale of timeline shape
getWeekEnd(DateTime startDate, int weekStart)getweekstart
hashCode()
notify()
notifyAll()
refreshTimeLine()Refresh time of timeline shapes
setArrowHead(int value)ArrowHead of timeline shape
setAutoUpdate(boolean value)whether to update data for markers (milestones, intervals) as they are moved on timeline
setBeginWeek(int value)Begin week of timeline shape
setDateFormatForBE(int value)DateFormat for start and finish of timeline shape ///
| ----------------------- | ------------------------------- |
| **Value**\\u9286\\u20ac | **Format String**\\u9286\\u20ac |
| 0                       | dddd, yyyy-M-d                  |
| 1                       | yyyy-MM-dd                      |
| 2                       | yy-MMM-d                        |
| 3                       | yyyy/M/d                        |
| 4                       | yy-MMM.                         | |

| setDateFormatForIntm(int value) | DateFormat for Intm of timeline shape ///

| ----------------------- | ------------------------------- |
| **Value**\\u9286\\u20ac | **Format String**\\u9286\\u20ac |
| 0                       | dddd, yyyy-M-d                  |
| 1                       | yyyy-MM-dd                      |
| 2                       | yy-MMM-d                        |
| 3                       | yyyy/M/d                        |
| 4                       | yy-MMM.                         | |

| setDateFormatStringForBE(String value) | DateFormat String for start and finish of timeline shape | | setDateFormatStringForIntm(String value) | DateFormat String for Intm of timeline shape | | setDisplayBE(boolean value) | whether to display Begin and End dates on timeline | | setDisplayIntm(boolean value) | whether to display interim date/time ticks on timeline | | setDisplayIntmDates(boolean value) | whether to display interim dates on interim ticks | | setFiscalStart(DateTime value) | First day of fiscal year | | setTimeLineType(int value) | Begin week of timeline shape | | setTimePeriodFinish(DateTime value) | | | setTimePeriodStart(DateTime value) | | | setTimeScale(int value) | | | toString() | | | wait() | | | wait(long arg0) | | | wait(long arg0, int arg1) | |

TimeLineHelper(Shape shape)

public TimeLineHelper(Shape shape)

TimeLineHelper.

Parameters:

ParameterTypeDescription
shapeShape

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getDoubleStringFromDateTime(DateTime dateTime)

public static String getDoubleStringFromDateTime(DateTime dateTime)

Convert the date time to double value.

Parameters:

ParameterTypeDescription
dateTimeDateTimeThe date time.

Returns: java.lang.String -

getTimePeriodFinish()

public DateTime getTimePeriodFinish()

Time Period for finish of timeline shape

Returns: DateTime

getTimePeriodStart()

public DateTime getTimePeriodStart()

Time Period for start of timeline shape

Returns: DateTime

getTimeScale()

public int getTimeScale()

scale of timeline shape

Returns: int

getWeekEnd(DateTime startDate, int weekStart)

public static DateTime getWeekEnd(DateTime startDate, int weekStart)

getweekstart

Parameters:

ParameterTypeDescription
startDateDateTime
weekStartint(0sunday 1monday 2 3 4 5 6)

Returns: DateTime -

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

refreshTimeLine()

public void refreshTimeLine()

Refresh time of timeline shapes

setArrowHead(int value)

public void setArrowHead(int value)

ArrowHead of timeline shape

Parameters:

ParameterTypeDescription
valueint

setAutoUpdate(boolean value)

public void setAutoUpdate(boolean value)

whether to update data for markers (milestones, intervals) as they are moved on timeline

Parameters:

ParameterTypeDescription
valueboolean

setBeginWeek(int value)

public void setBeginWeek(int value)

Begin week of timeline shape

Parameters:

ParameterTypeDescription
valueint

setDateFormatForBE(int value)

public void setDateFormatForBE(int value)

DateFormat for start and finish of timeline shape ///

| ----------------------- | ------------------------------- |
| **Value**\\u9286\\u20ac | **Format String**\\u9286\\u20ac |
| 0                       | dddd, yyyy-M-d                  |
| 1                       | yyyy-MM-dd                      |
| 2                       | yy-MMM-d                        |
| 3                       | yyyy/M/d                        |
| 4                       | yy-MMM.-d                       |
| 5                       | d MMMM yyyy                     |
| 6                       | yy-M                            |
| 7                       | MMM-yy                          |
| 8                       | MMMM d, yyyy                    |
| 9                       | MMM d, yyyy                     |
| 10                      | M-d-yy                          |
| 11                      | M-d                             |
| 12                      | d MMMM, yyyy                    |
| 13                      | d MMM, yyyy                     |
| 14                      | d-M-yy                          |
| 15                      | d-M                             |
| 16                      | yy-M-d                          |
| 17                      | yyyy-M-d                        |
| 18                      | M-yy                            |
| 19                      | M-yyyy                          |
| 20                      | MMMM yyyy                       |
| 21                      | MMMM yy                         |
| 22                      | MMM yyyy                        |
| 23                      | MMM yy                          |
| 24                      | yy                              |
| 25                      | yyyy                            |
| 26                      | d                               |
| 27                      | MMMM                            |
| 28                      | MMM                             |
| 29                      | M                               |
| 30                      | MM/dd/yyyy                      |

Parameters:

ParameterTypeDescription
valueint

setDateFormatForIntm(int value)

public void setDateFormatForIntm(int value)

DateFormat for Intm of timeline shape ///

| ----------------------- | ------------------------------- |
| **Value**\\u9286\\u20ac | **Format String**\\u9286\\u20ac |
| 0                       | dddd, yyyy-M-d                  |
| 1                       | yyyy-MM-dd                      |
| 2                       | yy-MMM-d                        |
| 3                       | yyyy/M/d                        |
| 4                       | yy-MMM.-d                       |
| 5                       | d MMMM yyyy                     |
| 6                       | yy-M                            |
| 7                       | MMM-yy                          |
| 8                       | MMMM d, yyyy                    |
| 9                       | MMM d, yyyy                     |
| 10                      | M-d-yy                          |
| 11                      | M-d                             |
| 12                      | d MMMM, yyyy                    |
| 13                      | d MMM, yyyy                     |
| 14                      | d-M-yy                          |
| 15                      | d-M                             |
| 16                      | yy-M-d                          |
| 17                      | yyyy-M-d                        |
| 18                      | M-yy                            |
| 19                      | M-yyyy                          |
| 20                      | MMMM yyyy                       |
| 21                      | MMMM yy                         |
| 22                      | MMM yyyy                        |
| 23                      | MMM yy                          |
| 24                      | yy                              |
| 25                      | yyyy                            |
| 26                      | d                               |
| 27                      | MMMM                            |
| 28                      | MMM                             |
| 29                      | M                               |
| 30                      | MM/dd/yyyy                      |

Parameters:

ParameterTypeDescription
valueint

setDateFormatStringForBE(String value)

public void setDateFormatStringForBE(String value)

DateFormat String for start and finish of timeline shape

Parameters:

ParameterTypeDescription
valuejava.lang.String

setDateFormatStringForIntm(String value)

public void setDateFormatStringForIntm(String value)

DateFormat String for Intm of timeline shape

Parameters:

ParameterTypeDescription
valuejava.lang.String

setDisplayBE(boolean value)

public void setDisplayBE(boolean value)

whether to display Begin and End dates on timeline

Parameters:

ParameterTypeDescription
valueboolean

setDisplayIntm(boolean value)

public void setDisplayIntm(boolean value)

whether to display interim date/time ticks on timeline

Parameters:

ParameterTypeDescription
valueboolean

setDisplayIntmDates(boolean value)

public void setDisplayIntmDates(boolean value)

whether to display interim dates on interim ticks

Parameters:

ParameterTypeDescription
valueboolean

setFiscalStart(DateTime value)

public void setFiscalStart(DateTime value)

First day of fiscal year

Parameters:

ParameterTypeDescription
valueDateTime

setTimeLineType(int value)

public void setTimeLineType(int value)

Begin week of timeline shape

Parameters:

ParameterTypeDescription
valueint

setTimePeriodFinish(DateTime value)

public void setTimePeriodFinish(DateTime value)

Parameters:

ParameterTypeDescription
valueDateTime

setTimePeriodStart(DateTime value)

public void setTimePeriodStart(DateTime value)

Parameters:

ParameterTypeDescription
valueDateTime

setTimeScale(int value)

public void setTimeScale(int value)

Parameters:

ParameterTypeDescription
valueint

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int