gistoolkit.display.labeler
Class ColumnAttributes

java.lang.Object
  extended bygistoolkit.display.labeler.ColumnAttributes

public class ColumnAttributes
extends java.lang.Object

Class to contain the attributes of a column for labeling purposes.


Field Summary
static int FORMAT_CURRENCY
           
static int FORMAT_NONE
          Available Formats.
static int FORMAT_NUMBER
           
 
Constructor Summary
ColumnAttributes(int inColumnNum, int inColumnFormat, java.lang.String inColumnPreString, java.lang.String inColumnPostString)
          Creates a new instance of ColumnAttributes
 
Method Summary
 int getColumnFormat()
          Get the format to apply to the column.
 int getColumnNum()
          Get the number of the column to label.
 java.lang.String getColumnPostString()
          Get the string to append after the column.
 java.lang.String getColumnPreString()
          Get the string to append before the column.
 void setColumnFormat(int inColumnFormat)
          Set the format to apply to the column.
 void setColumnNum(int inNum)
          Set the number of the column to label.
 void setColumnPostString(java.lang.String inString)
          Set the string to append after the column.
 void setColumnPreString(java.lang.String inString)
          Set the string to append before the column.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FORMAT_NONE

public static final int FORMAT_NONE
Available Formats.

See Also:
Constant Field Values

FORMAT_NUMBER

public static final int FORMAT_NUMBER
See Also:
Constant Field Values

FORMAT_CURRENCY

public static final int FORMAT_CURRENCY
See Also:
Constant Field Values
Constructor Detail

ColumnAttributes

public ColumnAttributes(int inColumnNum,
                        int inColumnFormat,
                        java.lang.String inColumnPreString,
                        java.lang.String inColumnPostString)
Creates a new instance of ColumnAttributes

Method Detail

setColumnNum

public void setColumnNum(int inNum)
Set the number of the column to label.


getColumnNum

public int getColumnNum()
Get the number of the column to label.


setColumnFormat

public void setColumnFormat(int inColumnFormat)
Set the format to apply to the column.


getColumnFormat

public int getColumnFormat()
Get the format to apply to the column.


setColumnPreString

public void setColumnPreString(java.lang.String inString)
Set the string to append before the column.


getColumnPreString

public java.lang.String getColumnPreString()
Get the string to append before the column.


setColumnPostString

public void setColumnPostString(java.lang.String inString)
Set the string to append after the column.


getColumnPostString

public java.lang.String getColumnPostString()
Get the string to append after the column.