amber.type.server
Class ColumnState

java.lang.Object
  |
  +--amber.type.server.ColumnState
All Implemented Interfaces:
java.io.Serializable

public class ColumnState
extends java.lang.Object
implements java.io.Serializable

This class contains the state of the column. It contains the number of the column and the state of the arrow.

Version:
1.0.0
Author:
Dr. David J. Knowles
See Also:
ComplexListHandler, Serialized Form

Field Summary
protected  int index
          The column index of the matching column.
protected  int state
          The state of the column arrow.
 
Constructor Summary
ColumnState()
          Default Constructor.
ColumnState(int index, int state)
          Initialising Constructor.
 
Method Summary
 int getIndex()
          Gets the data in the following variable: The column index of the matching column.
 int getState()
          Gets the data in the following variable: The state of the column arrow.
 void setIndex(int data)
          Sets the data in the following variable: The column index of the matching column.
 void setState(int data)
          Sets the data in the following variable: The state of the column arrow.
 java.lang.String toString()
          This function returns the String form of the data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

index

protected int index
The column index of the matching column.

state

protected int state
The state of the column arrow.
Constructor Detail

ColumnState

public ColumnState()
Default Constructor.

ColumnState

public ColumnState(int index,
                   int state)
Initialising Constructor.
Parameters:
index - The column index of the matching column.
state - The state of the column arrow.
Method Detail

getIndex

public int getIndex()
Gets the data in the following variable: The column index of the matching column.
Returns:
int containing the required information.

getState

public int getState()
Gets the data in the following variable: The state of the column arrow.
Returns:
int containing the required information.

setIndex

public void setIndex(int data)
Sets the data in the following variable: The column index of the matching column.
Parameters:
data - int containing the data to set the variable to.

setState

public void setState(int data)
Sets the data in the following variable: The state of the column arrow.
Parameters:
data - int containing the data to set the variable to.

toString

public java.lang.String toString()
This function returns the String form of the data.
Overrides:
toString in class java.lang.Object
Returns:
String containing the string version of this class.


Copyright © 2002 Clearfield Research Ltd. All Rights Reserved.