Top Inners Fields Constructors Methods
com.mchange.v2.beans.swing

pack-priv Class PropertyBoundButtonGroup

extends ButtonGroup
Class Inheritance
Imports
java.awt.*, java.awt.event.*, java.beans.*, java.util.*, javax.swing.*, com.mchange.v2.beans.BeansUtils

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv class
pack-priv class

Field Summary

Modifier and TypeField and Description
pack-priv Map<K, V>
pack-priv JButton
pack-priv HostBindingInterface
pack-priv PropertyComponentBindingUtility
pack-priv Map<K, V>
pack-priv PropertyBoundButtonGroup.WeChangedListener
Inherited from javax.swing.ButtonGroup:
buttons

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
add(AbstractButton button, Object associatedValue)

public void
add(AbstractButton
the button to be added
button
)

Overrides javax.swing.ButtonGroup.add.

Adds the button to the group.

public void
remove(AbstractButton
the button to be removed
button
)

Overrides javax.swing.ButtonGroup.remove.

Removes the button from the group.

Inherited from javax.swing.ButtonGroup:
clearSelectiongetButtonCountgetElementsgetSelectionisSelectedsetSelected

Field Detail

buttonsModelsToValuesback to summary
pack-priv Map<K, V> buttonsModelsToValues
fakeButtonback to summary
pack-priv JButton fakeButton
myHbiback to summary
pack-priv HostBindingInterface myHbi
pcbuback to summary
pack-priv PropertyComponentBindingUtility pcbu
valuesToButtonModelsback to summary
pack-priv Map<K, V> valuesToButtonModels
wclback to summary
pack-priv PropertyBoundButtonGroup.WeChangedListener wcl

Constructor Detail

PropertyBoundButtonGroupback to summary
public PropertyBoundButtonGroup(Object bean, String propName) throws IntrospectionException

Method Detail

addback to summary
public void add(AbstractButton button, Object associatedValue)
addback to summary
public void add(AbstractButton button)

Overrides javax.swing.ButtonGroup.add.

Doc from javax.swing.ButtonGroup.add.

Adds the button to the group.

Parameters
button:AbstractButton

the button to be added

removeback to summary
public void remove(AbstractButton button)

Overrides javax.swing.ButtonGroup.remove.

Doc from javax.swing.ButtonGroup.remove.

Removes the button from the group.

Parameters
button:AbstractButton

the button to be removed

com.mchange.v2.beans.swing back to summary

pack-priv Class PropertyBoundButtonGroup.MyHbi

extends Object
implements HostBindingInterface
Class Inheritance
All Implemented Interfaces
com.mchange.v2.beans.swing.HostBindingInterface

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
public void
public Object
public void
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

MyHbiback to summary
pack-priv MyHbi()

Method Detail

addUserModificationListenersback to summary
public void addUserModificationListeners()

Implements com.mchange.v2.beans.swing.HostBindingInterface.addUserModificationListeners.

alertErroneousInputback to summary
public void alertErroneousInput()

Implements com.mchange.v2.beans.swing.HostBindingInterface.alertErroneousInput.

fetchUserModificationback to summary
public Object fetchUserModification(PropertyEditor editor, Object oldValue)

Implements com.mchange.v2.beans.swing.HostBindingInterface.fetchUserModification.

syncToValueback to summary
public void syncToValue(PropertyEditor editor, Object newVal)

Implements com.mchange.v2.beans.swing.HostBindingInterface.syncToValue.

com.mchange.v2.beans.swing back to summary

pack-priv Class PropertyBoundButtonGroup.WeChangedListener

extends Object
implements ActionListener
Class Inheritance
  • java.lang.Object
  • com.mchange.v2.beans.swing.PropertyBoundButtonGroup.WeChangedListener
All Implemented Interfaces
java.awt.event.ActionListener, java.util.EventListener

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
actionPerformed(ActionEvent
the event to be processed
evt
)

Implements java.awt.event.ActionListener.actionPerformed.

Invoked when an action occurs.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

WeChangedListenerback to summary
pack-priv WeChangedListener()

Method Detail

actionPerformedback to summary
public void actionPerformed(ActionEvent evt)

Implements java.awt.event.ActionListener.actionPerformed.

Doc from java.awt.event.ActionListener.actionPerformed.

Invoked when an action occurs.

Parameters
evt:ActionEvent

the event to be processed