public class TimescaleTier extends Object
Represents a single tier of the timescale on a Gantt Chart.
Constructor and Description |
---|
TimescaleTier() |
Modifier and Type | Method and Description |
---|---|
int |
getAlignment()
Specifies how to align labels within each time period of the tier (
StringAlignment ). |
int |
getCount()
Specifies the time unit interval in which to show labels for the tier.
|
int |
getLabel()
Gets a date label for the timescale tier (
DateLabel ). |
boolean |
getShowTicks()
Specifies whether to show tick marks that separate time periods in the tier.
|
int |
getUnit()
Timescale unit for the timescale tier (
TimescaleUnit ). |
boolean |
getUsesFiscalYear()
Specifies whether to base the tier labels on the fiscal year.
|
void |
setAlignment(int value)
Sets string alignment of tier labels.
|
void |
setCount(int value)
Sets the time unit interval in which to show labels for the tier.
|
void |
setLabel(int value)
Sets a date label for the timescale tier (
DateLabel ). |
void |
setShowTicks(boolean value)
Sets a flag which specifies whether to show tick marks that separate time periods in the tier.
|
void |
setUnit(int value)
Sets Timescale unit for the timescale tier (
TimescaleUnit ). |
void |
setUsesFiscalYear(boolean value)
Sets a flag which specifies whether to base the tier labels on the fiscal year.
|
public int getCount()
Specifies the time unit interval in which to show labels for the tier.
public void setCount(int value)
value
- the time unit interval.public int getLabel()
Gets a date label for the timescale tier (DateLabel
).
public void setLabel(int value)
DateLabel
).value
- DateLabel enumerated type value.public int getAlignment()
Specifies how to align labels within each time period of the tier (StringAlignment
).
public void setAlignment(int value)
value
- StringAlignment enumerated type value.public boolean getUsesFiscalYear()
Specifies whether to base the tier labels on the fiscal year.
public void setUsesFiscalYear(boolean value)
value
- flag value.public boolean getShowTicks()
Specifies whether to show tick marks that separate time periods in the tier.
public void setShowTicks(boolean value)
value
- flag value.public int getUnit()
Timescale unit for the timescale tier (TimescaleUnit
).
public void setUnit(int value)
TimescaleUnit
).value
- TimescaleUnit enumerated type value.Copyright (c) 2008-2015 Aspose Pty Ltd. All Rights Reserved.