org.jdesktop.binding.swingx
Class RadioBinding
java.lang.Object
org.jdesktop.binding.swingx.AbstractBinding
org.jdesktop.binding.swingx.RadioBinding
- All Implemented Interfaces:
- Binding
public class RadioBinding
- extends AbstractBinding
Class which binds a component that supports setting a one-of-many
value (JXRadioGroup) to a data model field which is may be an arbitrary type.
- Version:
- 1.0
- Author:
- Amy Fowler
Method Summary |
javax.swing.JComponent |
getComponent()
|
protected java.lang.Object |
getComponentValue()
|
protected void |
setComponent(javax.swing.JComponent component)
set component and configures metaData dependent logic/constraint state. |
protected void |
setComponentValue(java.lang.Object value)
|
Methods inherited from class org.jdesktop.binding.swingx.AbstractBinding |
addError, addPropertyChangeListener, checkNull, checkRequired, clearValidationErrors, convertFromModelType, convertToModelType, executeValidators, firePropertyChange, getDataModel, getFieldName, getPropertyChangeListeners, getValidationErrors, getValidationPolicy, getValidState, installDataModel, installDataModelListener, installInputVerifier, installMetaDataListener, isEmpty, isModified, isValid, pull, push, removePropertyChangeListener, setModified, setValidationPolicy, setValidState |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RadioBinding
public RadioBinding(JXRadioGroup radioGroup,
DataModel dataModel,
java.lang.String fieldName)
getComponent
public javax.swing.JComponent getComponent()
setComponent
protected void setComponent(javax.swing.JComponent component)
- Description copied from class:
AbstractBinding
- set component and configures metaData dependent logic/constraint state.
- Specified by:
setComponent
in class AbstractBinding
getComponentValue
protected java.lang.Object getComponentValue()
- Specified by:
getComponentValue
in class AbstractBinding
setComponentValue
protected void setComponentValue(java.lang.Object value)
- Specified by:
setComponentValue
in class AbstractBinding
Copyright © 2005 Sun Microsystems All Rights Reserved.