com.sas.servlet.util
Class TableScrollCommand

com.sas.servlet.util.TableScrollCommand

Deprecated. This class has been deprecated as of Version 3.0.

public class TableScrollCommand

The TableScrollCommand object represents the information needed to scroll the table rows & columns


Field Summary
static int COLUMN
          Deprecated. COLUMN Axis
static long INITIALIZE_COLUMNS
          Deprecated. Determine the intial start and ending column values
static long INITIALIZE_ROWS
          Deprecated. Determine the intial start and ending row values
static int ROW
          Deprecated. ROW Axis
static long SCROLL_DOWN
          Deprecated. Scroll down command mask
static long SCROLL_DOWN_MAX
          Deprecated. Scroll down max command mask
static long SCROLL_LEFT
          Deprecated. Scroll left command mask
static long SCROLL_LEFT_MAX
          Deprecated. Scroll left max command mask
static long SCROLL_RIGHT
          Deprecated. Scroll right command mask
static long SCROLL_RIGHT_MAX
          Deprecated. Scroll right max command mask
static long SCROLL_UP
          Deprecated. Scroll up command mask
static long SCROLL_UP_MAX
          Deprecated. Scroll up max command mask
 
Constructor Summary
TableScrollCommand(int axis, long startValue, long endValue)
          Deprecated. ScrollCommand Constructor
 
Method Summary
 java.lang.Object clone()
          Deprecated.  
 int getAxis()
          Deprecated. Return the value for axis.
 int getAxis2()
          Deprecated. Interal use only
 long getEndValue()
          Deprecated. Returns the 0 based ending location, row or column number, before the scroll.
 long getEndValue2()
          Deprecated. Internal use only
 java.lang.String getName()
          Deprecated. Returns the name of the command.
static java.lang.String getNextCommandName()
          Deprecated.  
static long[] getStartEndValues(com.sas.servlet.beans.TableV2Interface tbl, long cmdType)
          Deprecated. Returns the new starting and ending values for displayed rows or columns depending on the command type requested.
 long getStartValue()
          Deprecated. Returns the 0 based starting location, row or column number, before the scroll.
 long getStartValue2()
          Deprecated. Internal use only
 void setAxis(int axis)
          Deprecated. Sets the value for axis.
 void setAxis2(int axis)
          Deprecated. Internal use only
 void setEndValue(long endValue)
          Deprecated. Sets the 0 based ending location, row or column number, before the scroll.
 void setEndValue2(long endValue)
          Deprecated. Internal use only
 void setStartValue(long startValue)
          Deprecated. Sets the 0 based starting location, row or column number, before the scroll.
 void setStartValue2(long startValue)
          Deprecated. Internal use only
 java.lang.String toString()
          Deprecated.  
 

Field Detail

ROW

public static final int ROW
Deprecated. 
ROW Axis

See Also:
Constant Field Values

COLUMN

public static final int COLUMN
Deprecated. 
COLUMN Axis

See Also:
Constant Field Values

SCROLL_DOWN

public static final long SCROLL_DOWN
Deprecated. 
Scroll down command mask

See Also:
Constant Field Values

SCROLL_DOWN_MAX

public static final long SCROLL_DOWN_MAX
Deprecated. 
Scroll down max command mask

See Also:
Constant Field Values

SCROLL_UP

public static final long SCROLL_UP
Deprecated. 
Scroll up command mask

See Also:
Constant Field Values

SCROLL_UP_MAX

public static final long SCROLL_UP_MAX
Deprecated. 
Scroll up max command mask

See Also:
Constant Field Values

SCROLL_LEFT

public static final long SCROLL_LEFT
Deprecated. 
Scroll left command mask

See Also:
Constant Field Values

SCROLL_LEFT_MAX

public static final long SCROLL_LEFT_MAX
Deprecated. 
Scroll left max command mask

See Also:
Constant Field Values

SCROLL_RIGHT

public static final long SCROLL_RIGHT
Deprecated. 
Scroll right command mask

See Also:
Constant Field Values

SCROLL_RIGHT_MAX

public static final long SCROLL_RIGHT_MAX
Deprecated. 
Scroll right max command mask

See Also:
Constant Field Values

INITIALIZE_ROWS

public static final long INITIALIZE_ROWS
Deprecated. 
Determine the intial start and ending row values

See Also:
Constant Field Values

INITIALIZE_COLUMNS

public static final long INITIALIZE_COLUMNS
Deprecated. 
Determine the intial start and ending column values

See Also:
Constant Field Values
Constructor Detail

TableScrollCommand

public TableScrollCommand(int axis,
                          long startValue,
                          long endValue)
Deprecated. 
ScrollCommand Constructor

Parameters:
axis - axis associated with the command(TableScrollCommand.ROW to scroll the rows, TableScrollCommand.COLUMN to scroll the columns.
startValue - starting value (i.e. starting row)
endValue - ending value (i.e. ending row)
See Also:
setAxis(int), setStartValue(long), setEndValue(long)
Method Detail

getName

public java.lang.String getName()
Deprecated. 
Returns the name of the command.

Returns:
the command name.

getNextCommandName

public static java.lang.String getNextCommandName()
Deprecated. 

toString

public java.lang.String toString()
Deprecated. 
Overrides:
toString in class java.lang.Object

getStartValue

public long getStartValue()
Deprecated. 
Returns the 0 based starting location, row or column number, before the scroll.

Returns:
starting row or column number, before the scroll.
See Also:
setStartValue(long)

setStartValue

public void setStartValue(long startValue)
Deprecated. 
Sets the 0 based starting location, row or column number, before the scroll.

Parameters:
startValue - starting row or column number, before the scroll.
See Also:
getStartValue()

getEndValue

public long getEndValue()
Deprecated. 
Returns the 0 based ending location, row or column number, before the scroll.

Returns:
ending row or column number, before the scroll.
See Also:
setEndValue(long)

setEndValue

public void setEndValue(long endValue)
Deprecated. 
Sets the 0 based ending location, row or column number, before the scroll.

Parameters:
endValue - ending row or column number, before the scroll.
See Also:
getEndValue()

getStartValue2

public long getStartValue2()
Deprecated. 
Internal use only


setStartValue2

public void setStartValue2(long startValue)
Deprecated. 
Internal use only


getEndValue2

public long getEndValue2()
Deprecated. 
Internal use only


setEndValue2

public void setEndValue2(long endValue)
Deprecated. 
Internal use only


clone

public java.lang.Object clone()
Deprecated. 
Overrides:
clone in class java.lang.Object

getAxis

public int getAxis()
Deprecated. 
Return the value for axis. TableScrollCommand.ROW for the row axis, TableScrollCoammnd.COLUMN for the column axis.

Returns:
the value for axis.

setAxis

public void setAxis(int axis)
Deprecated. 
Sets the value for axis. TableScrollCommand.ROW for the row axis, TableScrollCoammnd.COLUMN for the column axis.

Parameters:
axis - the scrolling axis.

getAxis2

public int getAxis2()
Deprecated. 
Interal use only


setAxis2

public void setAxis2(int axis)
Deprecated. 
Internal use only


getStartEndValues

public static long[] getStartEndValues(com.sas.servlet.beans.TableV2Interface tbl,
                                       long cmdType)
                                throws java.io.IOException
Deprecated. 
Returns the new starting and ending values for displayed rows or columns depending on the command type requested.

Parameters:
tbl - table object.
cmdType - TableScrollCommand.SCROLL_DOWN, TableScrollCommand.SCROLL_DOWN_MAX, TableScrollCommand.SCROLL_UP, TableScrollCommand.SCROLL_UP_MAX, TableScrollCommand.SCROLL_LEFT, TableScrollCommand.SCROLL_LEFT_MAX, TableScrollCommand.SCROLL_RIGHT, TableScrollCommand.SCROLL_RIGHT_MAX.
Throws:
java.io.IOException



Copyright © 2009 SAS Institute Inc. All Rights Reserved.