Groovy Documentation

simplejpa.swing
[Groovy] Class TagChooserModel

java.lang.Object
  simplejpa.swing.TagChooserModel

class TagChooserModel
extends Object

Field Summary
private static org.slf4j.Logger LOG

private PropertyChangeSupport pcs

private Template template

private Map templateValues

 
Property Summary
boolean allowMultiple

DefaultComboBoxModel comboBoxModel

List selectedValues

String templateString

List values

 
Constructor Summary
TagChooserModel()

 
Method Summary
void addAllValues()

void addPropertyChangeListener(PropertyChangeListener listener)

void addSelectedValue(def value)

void clearSelectedValues()

List getSelectedValues()

void refreshTemplateValues()

void removePropertyChangeListener(PropertyChangeListener listener)

void removeSelectedValue(Object value)

void replaceSelectedValues(List selectedValues)

void replaceValues(List values)

void setAllowMultiple(boolean allowMultiple)

void setSelectedValues(List selectedValues)

void setTemplateString(String templateString)

void setValues(List values)

 
Methods inherited from class Object
getClass, hashCode, equals, toString, notify, notifyAll, wait, wait, wait
 

Field Detail

LOG

private static final org.slf4j.Logger LOG


pcs

private PropertyChangeSupport pcs


template

private Template template


templateValues

private Map templateValues


 
Property Detail

allowMultiple

boolean allowMultiple


comboBoxModel

DefaultComboBoxModel comboBoxModel


selectedValues

List selectedValues


templateString

String templateString


values

List values


 
Constructor Detail

TagChooserModel

TagChooserModel()


 
Method Detail

addAllValues

void addAllValues()


addPropertyChangeListener

void addPropertyChangeListener(PropertyChangeListener listener)


addSelectedValue

void addSelectedValue(def value)


clearSelectedValues

void clearSelectedValues()


getSelectedValues

List getSelectedValues()


refreshTemplateValues

void refreshTemplateValues()


removePropertyChangeListener

void removePropertyChangeListener(PropertyChangeListener listener)


removeSelectedValue

void removeSelectedValue(Object value)


replaceSelectedValues

void replaceSelectedValues(List selectedValues)


replaceValues

void replaceValues(List values)


setAllowMultiple

void setAllowMultiple(boolean allowMultiple)


setSelectedValues

void setSelectedValues(List selectedValues)


setTemplateString

void setTemplateString(String templateString)


setValues

void setValues(List values)


 

Groovy Documentation