com.sas.swing.visuals
Class BasicCheckBoxListUI.PageUpAction

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

public static class BasicCheckBoxListUI.PageUpAction

Action to move up one page.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.sas.swing.visuals.BasicCheckBoxListUI.IncrementLeadSelectionAction
amount, selectionType
 
Constructor Summary
BasicCheckBoxListUI.PageUpAction(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.BasicCheckBoxListUI.IncrementLeadSelectionAction
actionPerformed
 

Constructor Detail

BasicCheckBoxListUI.PageUpAction

public BasicCheckBoxListUI.PageUpAction(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.