edu.northwestern.at.wordhoard.swing.accounts
Class AccountAdapter

java.lang.Object
  extended by edu.northwestern.at.wordhoard.swing.accounts.AccountAdapter
All Implemented Interfaces:
AccountListener

abstract class AccountAdapter
extends java.lang.Object
implements AccountListener

An account adapter.

An abstract adapter class for receiving account events. The methods in this class are empty. This class exists as a convenience for creating AccountListener objects.


Constructor Summary
AccountAdapter()
           
 
Method Summary
 void clearSelection()
          Requests that the selection be cleared.
 void selectAccount(int index)
          Requests that an account be selected.
 void selectionChanged(int[] selection)
          Invoked when the selection changes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccountAdapter

AccountAdapter()
Method Detail

selectionChanged

public void selectionChanged(int[] selection)
Invoked when the selection changes.

Specified by:
selectionChanged in interface AccountListener
Parameters:
selection - Array of indexes of selected accounts.

selectAccount

public void selectAccount(int index)
Requests that an account be selected.

Specified by:
selectAccount in interface AccountListener
Parameters:
index - Index of account to be selected.

clearSelection

public void clearSelection()
Requests that the selection be cleared.

Specified by:
clearSelection in interface AccountListener