net.sf.mpxj.mpp
Class GridLines

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

public class GridLines
extends Object

This class represents the set of properties that define the position and appearance of a set of grid lines.


Constructor Summary
GridLines(Color normalLineColor, LineStyle normalLineStyle, int intervalNumber, LineStyle intervalLineStyle, Color intervalLineColor)
          Constructor.
 
Method Summary
 Color getIntervalLineColor()
          Retrieve the interval line color.
 LineStyle getIntervalLineStyle()
          Retrieve the interval line style.
 int getIntervalNumber()
          Retrieve the interval number.
 Color getNormalLineColor()
          Retrieve the normal line color.
 LineStyle getNormalLineStyle()
          Retrieve the normal line style.
 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

GridLines

public GridLines(Color normalLineColor,
                 LineStyle normalLineStyle,
                 int intervalNumber,
                 LineStyle intervalLineStyle,
                 Color intervalLineColor)
Constructor.

Parameters:
normalLineColor - normal line color
normalLineStyle - normal line style
intervalNumber - interval number
intervalLineStyle - interval line style
intervalLineColor - interval line color
Method Detail

getIntervalLineColor

public Color getIntervalLineColor()
Retrieve the interval line color.

Returns:
interval line color

getIntervalLineStyle

public LineStyle getIntervalLineStyle()
Retrieve the interval line style.

Returns:
interval line style

getIntervalNumber

public int getIntervalNumber()
Retrieve the interval number.

Returns:
interval number

getNormalLineColor

public Color getNormalLineColor()
Retrieve the normal line color.

Returns:
line color

getNormalLineStyle

public LineStyle getNormalLineStyle()
Retrieve the normal line style.

Returns:
line style

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.