MilestoneHelper

Inheritance: java.lang.Object

public class MilestoneHelper

MilestoneHelper to set property of milestone shape.

Constructors

Constructor Description
MilestoneHelper(Shape shape)

Methods

Method Description
equals(Object arg0)
getClass()
getMilestoneDate() Milestone date
hashCode()
notify()
notifyAll()
refreshMilestone(Shape timeline) Refresh milestone
setAutoUpdate(boolean value) whether to update data for markers (milestones, intervals) as they are moved on timeline
setDateFormat(int value) DateFormat of 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.                         | |

| setDateFormatString(String value) | DateFormat string of shape | | setMilestoneDate(DateTime value) | | | setType(int value) | Type of shape | | toString() | | | wait() | | | wait(long arg0) | | | wait(long arg0, int arg1) | |

MilestoneHelper(Shape shape)

public MilestoneHelper(Shape shape)

Parameters:

Parameter Type Description
shape Shape

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getMilestoneDate()

public DateTime getMilestoneDate()

Milestone date

Returns: DateTime

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

refreshMilestone(Shape timeline)

public void refreshMilestone(Shape timeline)

Refresh milestone

Parameters:

Parameter Type Description
timeline Shape

setAutoUpdate(boolean value)

public void setAutoUpdate(boolean value)

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

Parameters:

Parameter Type Description
value boolean

setDateFormat(int value)

public void setDateFormat(int value)

DateFormat of 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:

Parameter Type Description
value int

setDateFormatString(String value)

public void setDateFormatString(String value)

DateFormat string of shape

Parameters:

Parameter Type Description
value java.lang.String

setMilestoneDate(DateTime value)

public void setMilestoneDate(DateTime value)

Parameters:

Parameter Type Description
value DateTime

setType(int value)

public void setType(int value)

Type of shape

Parameters:

Parameter Type Description
value int

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int