net.pandoragames.far.ui.swing.component.listener
Class BackupFlagListener

java.lang.Object
  extended by net.pandoragames.far.ui.swing.component.listener.BackupFlagListener
All Implemented Interfaces:
java.awt.event.ItemListener, java.util.EventListener

public class BackupFlagListener
extends java.lang.Object
implements java.awt.event.ItemListener

Informs interested components about the state of the doBackup flag.

Author:
Olivier Wehner

Constructor Summary
BackupFlagListener()
           
 
Method Summary
 void addToBeToggled(java.awt.Component component)
          Adds a component that will be toggled according to the state of the doBackup flag.
 void itemStateChanged(java.awt.event.ItemEvent event)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackupFlagListener

public BackupFlagListener()
Method Detail

itemStateChanged

public void itemStateChanged(java.awt.event.ItemEvent event)

Specified by:
itemStateChanged in interface java.awt.event.ItemListener

addToBeToggled

public void addToBeToggled(java.awt.Component component)
Adds a component that will be toggled according to the state of the doBackup flag.

Parameters:
component - to be added to the list