com.aspose.diagram

Class MilestoneHelper

  • java.lang.Object
    • com.aspose.diagram.MilestoneHelper
public class MilestoneHelper 
extends java.lang.Object

MilestoneHelper to set property of milestone shape.

Constructor Summary
 
Property Getters/Setters Summary
voidsetDateFormat(intvalue)
DateFormat of shape
voidsetAutoUpdate(booleanvalue)
whether to update data for markers (milestones, intervals) as they are moved on timeline
com.aspose.cells.DateTimegetMilestoneDate()
Milestone date
voidsetType(intvalue)
Type of shape
 
Method Summary
voidrefreshMilestone(Shape timeline)
Refresh milestone
 

    • Constructor Detail

      • MilestoneHelper

        public MilestoneHelper(Shape shape)
                        throws java.lang.Exception
    • Property Getters/Setters Detail

      • getMilestoneDate

        public com.aspose.cells.DateTime getMilestoneDate()
        
        Milestone date
      • setAutoUpdate

        public void setAutoUpdate(boolean value)
        
        whether to update data for markers (milestones, intervals) as they are moved on timeline
      • setType

        public void setType(int value)
        
        Type of shape
      • setDateFormat

        public void setDateFormat(int value)
        
        DateFormat of shape
        Value Format String 
        0dddd, yyyy-M-d
        1yyyy-MM-dd
        2yy-MMM-d
        3yyyy/M/d
        4yy-MMM.-d
        5d MMMM yyyy
        6yy-M
        7MMM-yy
        8MMMM d, yyyy
        9MMM d, yyyy
        10M-d-yy
        11M-d
        12d MMMM, yyyy
        13d MMM, yyyy
        14d-M-yy
        15d-M
        16yy-M-d
        17yyyy-M-d
        18M-yy
        19M-yyyy
        20MMMM yyyy
        21MMMM yy
        22MMM yyyy
        23MMM yy
        24yy
        25yyyy
        26d
        27MMMM
        28MMM
        29M
        30MM/dd/yyyy
    • Method Detail

      • refreshMilestone

        public void refreshMilestone(Shape timeline)
        Refresh milestone