groovy.swing.binding
Class AbstractButtonSelectedBinding
java.lang.Object
org.codehaus.groovy.binding.AbstractFullBinding
groovy.swing.binding.AbstractButtonSelectedBinding
- All Implemented Interfaces:
- java.awt.event.ItemListener, java.beans.PropertyChangeListener, java.util.EventListener, BindingUpdatable, FullBinding
class AbstractButtonSelectedBinding
- extends AbstractFullBinding
- implements java.beans.PropertyChangeListener, java.awt.event.ItemListener
Field Summary |
(package private) boolean |
bound
|
(package private) javax.swing.AbstractButton |
boundButton
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
bound
boolean bound
boundButton
javax.swing.AbstractButton boundButton
AbstractButtonSelectedBinding
public AbstractButtonSelectedBinding(PropertyBinding source,
TargetBinding target)
bind
public void bind()
- Description copied from interface:
BindingUpdatable
- Causes automatic updating of bound values to be turned on.
This is idempotent between calls to unbind and rebind; i.e. multiple calls
to bind will have only the effect of the first call.
- Specified by:
bind
in interface BindingUpdatable
unbind
public void unbind()
- Description copied from interface:
BindingUpdatable
- Causes automatic updating of bound values to be turned off.
This is idempotent between calls to bind and rebind; i.e. multiple calls
to unbind will have only the effect of the first call.
- Specified by:
unbind
in interface BindingUpdatable
rebind
public void rebind()
- Description copied from interface:
BindingUpdatable
- Causes the current bindings to be reset.
If the binding is not bound, it is a no-op.
If the binding is bound, it will be turned off, then turned on against current values.
- Specified by:
rebind
in interface BindingUpdatable
setSourceBinding
public void setSourceBinding(SourceBinding source)
- Specified by:
setSourceBinding
in interface FullBinding
- Overrides:
setSourceBinding
in class AbstractFullBinding
setTargetBinding
public void setTargetBinding(TargetBinding target)
- Specified by:
setTargetBinding
in interface FullBinding
- Overrides:
setTargetBinding
in class AbstractFullBinding
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent event)
- Specified by:
propertyChange
in interface java.beans.PropertyChangeListener
itemStateChanged
public void itemStateChanged(java.awt.event.ItemEvent e)
- Specified by:
itemStateChanged
in interface java.awt.event.ItemListener
Copyright © ${year} The Codehaus. All Rights Reserved.