de.kleopatra.view.binding
Class RadioBindingMetaData
java.lang.Object
de.kleopatra.view.binding.BindingMetaData
de.kleopatra.view.binding.RadioBindingMetaData
- public class RadioBindingMetaData
- extends BindingMetaData
BindingMetaData for use by binding a group of radio options.
- Version:
- $Revision: 1.3 $ - $Date: 2004/10/01 12:27:06 $
- Author:
- (C) 2004 Jeanette Winzenburg, Berlin
Constructor Summary |
RadioBindingMetaData(java.util.List componentIDs,
java.lang.String propertyName,
java.util.List optionValues)
PRE: lists ! |
Method Summary |
java.lang.String |
getComponentID(int index)
|
int |
getGroupSize()
|
java.lang.Object |
getOptionValue(int index)
|
void |
setLists(java.util.List componentIDs,
java.util.List optionValues)
set synched lists of componentIDs and optionValues. |
Methods inherited from class de.kleopatra.view.binding.BindingMetaData |
getComponentClass, getComponentName, getFocusLostTrigger, getPropertyName, getTargetClass, initDefaultCommit, isCommitOnFocusLost, setCommitOnFocusLost, setComponentClass, setComponentName, setFocusLostTrigger, setPropertyName, setTargetClass |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RadioBindingMetaData
public RadioBindingMetaData(java.util.List componentIDs,
java.lang.String propertyName,
java.util.List optionValues)
- PRE: lists != null, not empty and of same size
- Parameters:
componentIDs
- the componentNames of the radioButtonspropertyName
- the property to bindoptionValues
- the values bound to the selected state of
the corresponding button
setLists
public void setLists(java.util.List componentIDs,
java.util.List optionValues)
- set synched lists of componentIDs and optionValues.
- Parameters:
componentIDs
- the componentNames of the radioButtonsoptionValues
- the values bound to the selected state of
the corresponding button
- Throws:
java.lang.IllegalArgumentException
- if lists don't have
the same size.
getComponentID
public java.lang.String getComponentID(int index)
getOptionValue
public java.lang.Object getOptionValue(int index)
getGroupSize
public int getGroupSize()
Copyright © 2003, 2004 SwingEmpire Jeanette Winzenburg. All Rights Reserved.