MilestoneHelper

Inheritance: java.lang.Object

public class MilestoneHelper

MilestoneHelper to set property of milestone shape. Compatibility shell over MilestoneProperties: the public API is unchanged (plus getters for the previously write-only properties), the cell access is delegated to the properties class, and refreshMilestone(Shape) is rewritten:

| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| /// Children without a master no longer crash the refresh (the old code dereferenced /// child.MasterShape unconditionally). ///                                                                                                                                              |
| /// An existing local date field is updated in place; the old code appended a new /// field on every refresh. ///                                                                                                                                                             |
| /// Positioning reads the timeline's left edge from XForm (the old code read /// XForm1D.BeginX, which does not exist on a 2-D group shape) and sorts the dated /// children with two parallel arrays instead of the SortedStringList, which has no /// Java counterpart. /// |

|

Constructors

ConstructorDescription
MilestoneHelper(Shape shape)MilestoneHelper.

Methods

MethodDescription
equals(Object arg0)
getClass()
getDateFormat()DateFormat of shape (0 - 30)
getMilestoneDate()Milestone date
getType()Type of shape (0 = Circle … 8 = Pin)
hashCode()
isAutoUpdate()whether to update data for markers (milestones, intervals) as they are moved on timeline
notify()
notifyAll()
refreshMilestone(Shape timeline)Refresh milestone
setAutoUpdate(boolean value)For the description of this property, please see isAutoUpdate()
setDateFormat(int value)For the description of this property, please see getDateFormat()
setMilestoneDate(DateTime value)For the description of this property, please see getMilestoneDate()
setType(int value)For the description of this property, please see getType()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

MilestoneHelper(Shape shape)

public MilestoneHelper(Shape shape)

MilestoneHelper.

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

getDateFormat()

public int getDateFormat()

DateFormat of shape (0 - 30)

Returns: int

getMilestoneDate()

public DateTime getMilestoneDate()

Milestone date

Returns: DateTime

getType()

public int getType()

Type of shape (0 = Circle … 8 = Pin)

Returns: int

hashCode()

public native int hashCode()

Returns: int

isAutoUpdate()

public boolean isAutoUpdate()

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

Returns: boolean

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

refreshMilestone(Shape timeline)

public void refreshMilestone(Shape timeline)

Refresh milestone

Parameters:

ParameterTypeDescription
timelineShape

setAutoUpdate(boolean value)

public void setAutoUpdate(boolean value)

For the description of this property, please see isAutoUpdate()

Parameters:

ParameterTypeDescription
valueboolean

setDateFormat(int value)

public void setDateFormat(int value)

For the description of this property, please see getDateFormat()

Parameters:

ParameterTypeDescription
valueint

setMilestoneDate(DateTime value)

public void setMilestoneDate(DateTime value)

For the description of this property, please see getMilestoneDate()

Parameters:

ParameterTypeDescription
valueDateTime

setType(int value)

public void setType(int value)

For the description of this property, please see getType()

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