com.sas.swing.visuals
Class BasicTriStateCheckBoxListUI.PageDownAction

com.sas.swing.visuals.BasicTriStateCheckBoxListUI.PageDownAction
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
Enclosing class:
BasicTriStateCheckBoxListUI

public static class BasicTriStateCheckBoxListUI.PageDownAction

Action to move down one page.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sas.swing.visuals.BasicCheckBoxListUI.IncrementLeadSelectionAction
amount, selectionType
 
Constructor Summary
BasicTriStateCheckBoxListUI.PageDownAction(java.lang.String name, int type)
           
 
Method Summary
protected  void ensureIndexIsVisible(javax.swing.JList list, int index)
          Ensures the particular index is visible.
protected  int getNextIndex(javax.swing.JList list)
          Returns the next index to select.
 
Methods inherited from class com.sas.swing.visuals.BasicTriStateCheckBoxListUI.IncrementLeadSelectionAction
actionPerformed
 

Constructor Detail

BasicTriStateCheckBoxListUI.PageDownAction

public BasicTriStateCheckBoxListUI.PageDownAction(java.lang.String name,
                                                  int type)
Method Detail

getNextIndex

protected int getNextIndex(javax.swing.JList list)
Description copied from class: BasicCheckBoxListUI.IncrementLeadSelectionAction
Returns the next index to select. This is based on the lead selected index and the amount ivar.

Overrides:
getNextIndex in class BasicCheckBoxListUI.IncrementLeadSelectionAction

ensureIndexIsVisible

protected void ensureIndexIsVisible(javax.swing.JList list,
                                    int index)
Description copied from class: BasicCheckBoxListUI.IncrementLeadSelectionAction
Ensures the particular index is visible. This simply forwards the method to list.

Overrides:
ensureIndexIsVisible in class BasicCheckBoxListUI.IncrementLeadSelectionAction



Copyright © 2009 SAS Institute Inc. All Rights Reserved.