kaos.kpat.policyTemplates.editor
Class RadioButtonTC

java.lang.Object
  extended by kaos.kpat.policyTemplates.editor.ReferenceableTemplateComponent
      extended by kaos.kpat.policyTemplates.editor.RadioButtonTC
All Implemented Interfaces:
java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, TemplateComponent, TemplateComponentReference

public class RadioButtonTC
extends ReferenceableTemplateComponent
implements java.awt.event.ActionListener

Allows for single selection of values fixed exclusively.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class kaos.kpat.policyTemplates.editor.ReferenceableTemplateComponent
_inclusive
 
Constructor Summary
RadioButtonTC()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
           
 java.awt.Component getDisplayComponent(PolicyTemplate temp)
          Implementor of "getDisplayComponent" must do the following before returning: 1.
 java.lang.String getTypeLabelString()
           
protected  void handleDisplayComponentSelectionChange(java.awt.Component comp)
           
 
Methods inherited from class kaos.kpat.policyTemplates.editor.ReferenceableTemplateComponent
addBinding, addBindingListener, addBindingPopupToDisplayComponent, addDisplayComponent, addTemplateComponentReference, changeBinding, clone, fireBindingAdded, fireBindingChanged, fireBindingRemoved, getBindings, getEditor, getFilterdValues, getLabel, getPossibleValues, getPossibleValuesIgnoringFilter, getSelectedValues, getState, haveFilterExclude, haveFilterInclude, haveFilterSwap, isInclusive, removeBinding, removeBindingListener, removeTemplateComponentReference, setLabel, setSelectedValues, setSelectedValuesForAllTCRs, setState, setTemplateComponentReferences, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RadioButtonTC

public RadioButtonTC()
Method Detail

getTypeLabelString

public java.lang.String getTypeLabelString()
Specified by:
getTypeLabelString in class ReferenceableTemplateComponent

getDisplayComponent

public java.awt.Component getDisplayComponent(PolicyTemplate temp)
Description copied from class: ReferenceableTemplateComponent
Implementor of "getDisplayComponent" must do the following before returning: 1. call "addBindingPopupToDisplayComponent" 2. call "addDisplayComponent"

Specified by:
getDisplayComponent in interface TemplateComponent
Specified by:
getDisplayComponent in class ReferenceableTemplateComponent

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
Specified by:
actionPerformed in interface java.awt.event.ActionListener

handleDisplayComponentSelectionChange

protected void handleDisplayComponentSelectionChange(java.awt.Component comp)
Specified by:
handleDisplayComponentSelectionChange in class ReferenceableTemplateComponent
See Also:
ReferenceableTemplateComponent.alertDisplayComponentsAboutSelectedValuesChange()