kaos.kpat.policyTemplates.editor
Class ListPanelTC

java.lang.Object
  extended by kaos.kpat.policyTemplates.editor.ReferenceableTemplateComponent
      extended by kaos.kpat.policyTemplates.editor.ListPanelTC
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.event.ListDataListener, TemplateComponent, TemplateComponentReference

public class ListPanelTC
extends ReferenceableTemplateComponent
implements javax.swing.event.ListDataListener

Allows for multiple selection of values fixed inclusively.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class kaos.kpat.policyTemplates.editor.ReferenceableTemplateComponent
_inclusive
 
Constructor Summary
ListPanelTC()
           
 
Method Summary
 void contentsChanged(javax.swing.event.ListDataEvent 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)
           
 void intervalAdded(javax.swing.event.ListDataEvent e)
           
 void intervalRemoved(javax.swing.event.ListDataEvent e)
           
 
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

ListPanelTC

public ListPanelTC()
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

handleDisplayComponentSelectionChange

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

contentsChanged

public void contentsChanged(javax.swing.event.ListDataEvent e)
Specified by:
contentsChanged in interface javax.swing.event.ListDataListener

intervalAdded

public void intervalAdded(javax.swing.event.ListDataEvent e)
Specified by:
intervalAdded in interface javax.swing.event.ListDataListener

intervalRemoved

public void intervalRemoved(javax.swing.event.ListDataEvent e)
Specified by:
intervalRemoved in interface javax.swing.event.ListDataListener