butler.swing.record
Class Stepper

java.lang.Object
  extended by butler.swing.record.Stepper
All Implemented Interfaces:
RecordSelectionListener, java.awt.event.ActionListener, java.util.EventListener

public class Stepper
extends java.lang.Object
implements RecordSelectionListener, java.awt.event.ActionListener

Author:
Anders Eriksson

Field Summary
static java.lang.String NEXT_ACTIONCOMMAND
           
static java.lang.String PRIOR_ACTIONCOMMAND
           
 
Constructor Summary
Stepper()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent event)
           
 void addRecordSelectionListener(RecordSelectionListener listener)
           
 void recordListSelected(RecordList recList)
           
 void recordSelected(Record rec)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRIOR_ACTIONCOMMAND

public static final java.lang.String PRIOR_ACTIONCOMMAND
See Also:
Constant Field Values

NEXT_ACTIONCOMMAND

public static final java.lang.String NEXT_ACTIONCOMMAND
See Also:
Constant Field Values
Constructor Detail

Stepper

public Stepper()
Method Detail

addRecordSelectionListener

public void addRecordSelectionListener(RecordSelectionListener listener)

recordSelected

public void recordSelected(Record rec)
                    throws java.lang.Exception
Specified by:
recordSelected in interface RecordSelectionListener
Throws:
java.lang.Exception

recordListSelected

public void recordListSelected(RecordList recList)
                        throws java.lang.Exception
Specified by:
recordListSelected in interface RecordSelectionListener
Throws:
java.lang.Exception

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent event)
Specified by:
actionPerformed in interface java.awt.event.ActionListener