com.sas.swing.visuals.tableview
Class NavigationalAction

com.sas.swing.visuals.tableview.NavigationalAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Direct Known Subclasses:
OLAPNavigationalAction, PagingAction

public class NavigationalAction

See Also:
Serialized Form

Field Summary
protected  int anchorColumn
           
protected  int anchorRow
           
protected  int dx
           
protected  int dy
           
protected  boolean extend
           
protected  boolean inSelection
           
protected  int leadColumn
           
protected  int leadRow
           
protected  boolean toggle
           
 
Constructor Summary
NavigationalAction(int dx, int dy, boolean toggle, boolean extend, boolean inSelection)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
protected  int clipToRange(int i, int a, int b)
           
protected  int compare(int i, int a, int b)
           
protected  boolean moveWithinSelectedRange(TableView table, int dx, int dy, boolean ignoreCarry)
           
protected  void moveWithinTableRange(TableView table, int dx, int dy, boolean changeLead)
           
 

Field Detail

dx

protected int dx

dy

protected int dy

toggle

protected boolean toggle

extend

protected boolean extend

inSelection

protected boolean inSelection

anchorRow

protected int anchorRow

anchorColumn

protected int anchorColumn

leadRow

protected int leadRow

leadColumn

protected int leadColumn
Constructor Detail

NavigationalAction

public NavigationalAction(int dx,
                          int dy,
                          boolean toggle,
                          boolean extend,
                          boolean inSelection)
Method Detail

clipToRange

protected int clipToRange(int i,
                          int a,
                          int b)

moveWithinTableRange

protected void moveWithinTableRange(TableView table,
                                    int dx,
                                    int dy,
                                    boolean changeLead)

compare

protected int compare(int i,
                      int a,
                      int b)

moveWithinSelectedRange

protected boolean moveWithinSelectedRange(TableView table,
                                          int dx,
                                          int dy,
                                          boolean ignoreCarry)

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)



Copyright © 2009 SAS Institute Inc. All Rights Reserved.