com.partnersoft.v3x.gui
Class EnablementManager

java.lang.Object
  extended by com.partnersoft.v3x.gui.EnablementManager

public class EnablementManager
extends java.lang.Object

This is a gadget that maintains the enablement of a set of components. It ties the controls to a single toggle, so if the toggle is off, the controls are disabled; if the toggle is on, the controls are enabled.


Constructor Summary
EnablementManager()
           
EnablementManager(Toggle toggle)
           
 
Method Summary
 void addComponent(java.awt.Component component)
           
 void addInverseComponent(java.awt.Component component)
           
 java.util.Iterator getComponents()
           
 java.util.Iterator getInverseComponents()
           
 Toggle getToggle()
           
protected  void resetEnabled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnablementManager

public EnablementManager()

EnablementManager

public EnablementManager(Toggle toggle)
Method Detail

addComponent

public void addComponent(java.awt.Component component)

addInverseComponent

public void addInverseComponent(java.awt.Component component)

getComponents

public java.util.Iterator getComponents()

getInverseComponents

public java.util.Iterator getInverseComponents()

getToggle

public Toggle getToggle()

resetEnabled

protected void resetEnabled()