net.sf.mpxj.mpp
Class TimescaleTier

java.lang.Object
  extended by net.sf.mpxj.mpp.TimescaleTier

public final class TimescaleTier
extends Object

This class collects together the properties which represent a single tier of the timescale on a Gantt chart.


Constructor Summary
TimescaleTier()
           
 
Method Summary
 TimescaleAlignment getAlignment()
          Retrieve the timescale lable alignment.
 int getCount()
          Retrieves the tier count.
 TimescaleFormat getFormat()
          Retrieves the tier label format.
 boolean getTickLines()
          Retrieves the tick lines flag.
 TimescaleUnits getUnits()
          Retrieves the timescale units.
 boolean getUsesFiscalYear()
          Retrieves the uses fiscal year flag.
 void setAlignment(TimescaleAlignment alignment)
          Set the timescale label alignment.
 void setCount(int count)
          Sets the tier count.
 void setFormat(TimescaleFormat format)
          Sets the tier label format.
 void setTickLines(boolean tickLines)
          Sets the tick lines flag.
 void setUnits(TimescaleUnits units)
          Sets the timescale units.
 void setUsesFiscalYear(boolean usesFiscalYear)
          Sets the uses fiscal year flag.
 String toString()
          Generate a string representation of this instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimescaleTier

public TimescaleTier()
Method Detail

getCount

public int getCount()
Retrieves the tier count.

Returns:
tier count

setCount

public void setCount(int count)
Sets the tier count.

Parameters:
count - tier count

getFormat

public TimescaleFormat getFormat()
Retrieves the tier label format.

Returns:
tier label format

setFormat

public void setFormat(TimescaleFormat format)
Sets the tier label format.

Parameters:
format - tier label format

getTickLines

public boolean getTickLines()
Retrieves the tick lines flag.

Returns:
tick lines flag

setTickLines

public void setTickLines(boolean tickLines)
Sets the tick lines flag.

Parameters:
tickLines - tick lines flag

getUnits

public TimescaleUnits getUnits()
Retrieves the timescale units.

Returns:
timescale units

setUnits

public void setUnits(TimescaleUnits units)
Sets the timescale units.

Parameters:
units - timescale units

getUsesFiscalYear

public boolean getUsesFiscalYear()
Retrieves the uses fiscal year flag.

Returns:
uses fiscal year flag

setUsesFiscalYear

public void setUsesFiscalYear(boolean usesFiscalYear)
Sets the uses fiscal year flag.

Parameters:
usesFiscalYear - uses fiscal year flag

getAlignment

public TimescaleAlignment getAlignment()
Retrieve the timescale lable alignment.

Returns:
label alignment

setAlignment

public void setAlignment(TimescaleAlignment alignment)
Set the timescale label alignment.

Parameters:
alignment - label alignment

toString

public String toString()
Generate a string representation of this instance.

Overrides:
toString in class Object
Returns:
string representation of this instance


Copyright © 2012. All Rights Reserved.