siuying.gm.app.gmailer4j.ui
Class MasterDelegate

java.lang.Object
  extended by siuying.gm.app.gmailer4j.ui.MasterDelegate
All Implemented Interfaces:
java.awt.event.ItemListener, java.util.EventListener, Master

public class MasterDelegate
extends java.lang.Object
implements Master, java.awt.event.ItemListener

Author:
Matthias Cullmann

Constructor Summary
MasterDelegate(javax.swing.AbstractButton b)
           
 
Method Summary
 boolean addSlave(javax.swing.JComponent c)
           
 void itemStateChanged(java.awt.event.ItemEvent e)
           
 boolean removeSlave(javax.swing.JComponent c)
           
 void setEnabled(boolean b)
           
 void setSelected(boolean b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MasterDelegate

public MasterDelegate(javax.swing.AbstractButton b)
Method Detail

addSlave

public boolean addSlave(javax.swing.JComponent c)
Specified by:
addSlave in interface Master

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent e)
Specified by:
itemStateChanged in interface java.awt.event.ItemListener

removeSlave

public boolean removeSlave(javax.swing.JComponent c)
Specified by:
removeSlave in interface Master

setEnabled

public void setEnabled(boolean b)

setSelected

public void setSelected(boolean b)