com.sas.servlet.beans.mdtable
Class ScrollCommand
java.lang.Object
|
+--com.sas.servlet.beans.mdtable.MDCommand
|
+--com.sas.servlet.beans.mdtable.ScrollCommand
- public class ScrollCommand
- extends MDCommand
The ScrollCommand object represents the information needed to preform or undo the following
scrolling actions, scroll down, scroll down max, scroll up,
scroll up max, scroll left, scroll left max, scroll right, or scroll right max.
Method Summary |
Object |
clone()
|
int |
getEndValue()
Returns the 0 based ending location, row or column number, before the scroll. |
int |
getStartValue()
Returns the 0 based starting location, row or column number, before the scroll. |
void |
setEndValue(int endValue)
Sets the 0 based ending location, row or column number, before the scroll. |
void |
setStartValue(int startValue)
Sets the 0 based starting location, row or column number, before the scroll. |
String |
toString()
|
ScrollCommand
public ScrollCommand(String name,
String type,
String axis,
int startValue,
int endValue)
- ScrollCommand Constructor
- Parameters:
name
- name of commandtype
- type of commandaxis
- axis associated with the commandstartValue
- starting value before the scroll(i.e. starting row)endValue
- ending value before the scroll(i.e. ending row)- See Also:
MDCommand.setName(java.lang.String)
,
MDCommand.setType(java.lang.String)
,
MDCommand.setAxis(java.lang.String)
,
setStartValue(int)
,
setEndValue(int)
toString
public String toString()
- Overrides:
- toString in class MDCommand
getStartValue
public int getStartValue()
- 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(int)
setStartValue
public void setStartValue(int startValue)
- 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 int getEndValue()
- 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(int)
setEndValue
public void setEndValue(int endValue)
- 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()
clone
public Object clone()
- Overrides:
- clone in class MDCommand
Version: 1.2.20000317.001 Formatted: 2000/07/06 15:57:33PM