com.iisc.jwc.jsheet
Class SortKeys

java.lang.Object
  extended bycom.iisc.jwc.jsheet.SortKeys
All Implemented Interfaces:
java.lang.Cloneable

public final class SortKeys
extends java.lang.Object
implements java.lang.Cloneable

SortKeys is used to set and get sort keys.

See Also:
JSClient.setSortKeys(java.util.Vector), JSClient.getSortKeys()

Field Summary
 boolean ascordsc
          Indicated whether the sort key is ascending or decending sort order.
 short roworcol
          Indicates whether the sort key is row or column based.
 
Constructor Summary
SortKeys()
          Constructs an empty SortKeys.
SortKeys(short roworcol, boolean ascordsc)
          Constructs a SortKeys with the specified information.
 
Method Summary
 java.lang.Object clone()
          Creates a copy of the current SortKeys information.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ascordsc

public boolean ascordsc
Indicated whether the sort key is ascending or decending sort order.


roworcol

public short roworcol
Indicates whether the sort key is row or column based.

Constructor Detail

SortKeys

public SortKeys()
Constructs an empty SortKeys.


SortKeys

public SortKeys(short roworcol,
                boolean ascordsc)
Constructs a SortKeys with the specified information.

Parameters:
roworcol - applies to the row or column.
ascordsc - ascending or decending sort order.
Method Detail

clone

public java.lang.Object clone()
Creates a copy of the current SortKeys information.

Returns:
a copy of the current SortKeys information.

Email JSheet Support

www.jsheet.com
Copyright 1995 - 2003 Investment Intelligence Systems Limited.