com.pallas.swing.spinner
Class ButtonSpinAction

java.lang.Object
  |
  +--javax.swing.AbstractAction
        |
        +--com.pallas.swing.spinner.ButtonSpinAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class ButtonSpinAction
extends javax.swing.AbstractAction

Title: $FileName: ButtonSpinAction.java$

Version:
$VerNum: 1$
Author:
$AuthorName: Rob MacGrogan$

$Description: Action fired by PSpinner's buttons. Simply advances spinner to next value.$
$KeyWordsOff: $

See Also:
Serialized Form

Field Summary
 boolean isNextButton
           
 PSpinner spinner
           
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ButtonSpinAction(PSpinner spinner)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ev)
           
 void setNextButton()
           
 void setPreviousButton()
           
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

isNextButton

public boolean isNextButton

spinner

public PSpinner spinner
Constructor Detail

ButtonSpinAction

public ButtonSpinAction(PSpinner spinner)
Method Detail

setNextButton

public void setNextButton()

setPreviousButton

public void setPreviousButton()

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ev)
See Also:
ActionListener.actionPerformed(ActionEvent)


Copyright © 2003 Pallas Technology.