edu.northwestern.at.wordhoard.swing.accounts.groups
Class GroupAdapter

java.lang.Object
  extended by edu.northwestern.at.wordhoard.swing.accounts.groups.GroupAdapter
All Implemented Interfaces:
GroupListener

abstract class GroupAdapter
extends java.lang.Object
implements GroupListener

An group adapter.

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


Constructor Summary
GroupAdapter()
           
 
Method Summary
 void clearSelection()
          Requests that the selection be cleared.
 void selectGroup(int index)
          Requests that an group 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

GroupAdapter

GroupAdapter()
Method Detail

selectionChanged

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

Specified by:
selectionChanged in interface GroupListener
Parameters:
selection - Array of indexes of selected groups.

selectGroup

public void selectGroup(int index)
Requests that an group be selected.

Specified by:
selectGroup in interface GroupListener
Parameters:
index - Index of group to be selected.

clearSelection

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

Specified by:
clearSelection in interface GroupListener