com.samskivert.swing.util
Class ButtonUtil.ButtonConfigBinding

java.lang.Object
  extended by com.samskivert.swing.util.ButtonUtil.ButtonConfigBinding
All Implemented Interfaces:
ItemListener, PropertyChangeListener, EventListener, AncestorListener
Enclosing class:
ButtonUtil

protected static class ButtonUtil.ButtonConfigBinding
extends Object
implements AncestorListener, PropertyChangeListener, ItemListener

Used for ButtonUtil.bindToProperty(java.lang.String, com.samskivert.util.PrefsConfig, javax.swing.AbstractButton, boolean).


Field Summary
protected  AbstractButton _button
           
protected  PrefsConfig _config
           
protected  boolean _defval
           
protected  String _property
           
 
Constructor Summary
ButtonUtil.ButtonConfigBinding(String property, PrefsConfig config, AbstractButton button, boolean defval)
           
 
Method Summary
 void ancestorAdded(AncestorEvent event)
           
 void ancestorMoved(AncestorEvent event)
           
 void ancestorRemoved(AncestorEvent event)
           
 void itemStateChanged(ItemEvent event)
           
 void propertyChange(PropertyChangeEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_property

protected String _property

_config

protected PrefsConfig _config

_button

protected AbstractButton _button

_defval

protected boolean _defval
Constructor Detail

ButtonUtil.ButtonConfigBinding

public ButtonUtil.ButtonConfigBinding(String property,
                                      PrefsConfig config,
                                      AbstractButton button,
                                      boolean defval)
Method Detail

ancestorAdded

public void ancestorAdded(AncestorEvent event)
Specified by:
ancestorAdded in interface AncestorListener

ancestorRemoved

public void ancestorRemoved(AncestorEvent event)
Specified by:
ancestorRemoved in interface AncestorListener

ancestorMoved

public void ancestorMoved(AncestorEvent event)
Specified by:
ancestorMoved in interface AncestorListener

propertyChange

public void propertyChange(PropertyChangeEvent event)
Specified by:
propertyChange in interface PropertyChangeListener

itemStateChanged

public void itemStateChanged(ItemEvent event)
Specified by:
itemStateChanged in interface ItemListener


Copyright © 2000-2008 Michael Bayne. All Rights Reserved.