com.ryanm.config.swing
Interface ConfigurationPanel.Listener

Enclosing class:
ConfigurationPanel

public static interface ConfigurationPanel.Listener

Interface for classes interested in the state of the ConfigurationPanel

Author:
ryanm

Method Summary
 void widgetAdded(java.lang.Object variable, javax.swing.JComponent widget)
          Called when a widget is added to the panel
 void widgetRemoved(java.lang.Object variable, javax.swing.JComponent widget)
          Called when a widget is removed from the panel
 

Method Detail

widgetAdded

void widgetAdded(java.lang.Object variable,
                 javax.swing.JComponent widget)
Called when a widget is added to the panel

Parameters:
variable - The variable name or subconfigurator
widget - The widget that controls that variable

widgetRemoved

void widgetRemoved(java.lang.Object variable,
                   javax.swing.JComponent widget)
Called when a widget is removed from the panel

Parameters:
variable - The variable name or subconfigurator
widget - The widget that controls that variable