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

 
Property Summary
boolean allowMultiple

DefaultComboBoxModel comboBoxModel

PropertyChangeSupport pcs

List selectedValues

Template template

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)

String render(def value)

void replaceSelectedValues(Collection selectedValues)

void replaceValues(Collection values)

void setAllowMultiple(boolean allowMultiple)

void setSelectedValues(Collection selectedValues)

void setTemplateString(String templateString)

void setValues(Collection 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


 
Property Detail

allowMultiple

boolean allowMultiple


comboBoxModel

DefaultComboBoxModel comboBoxModel


pcs

PropertyChangeSupport pcs


selectedValues

List selectedValues


template

Template template


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)


render

String render(def value)


replaceSelectedValues

void replaceSelectedValues(Collection selectedValues)


replaceValues

void replaceValues(Collection values)


setAllowMultiple

void setAllowMultiple(boolean allowMultiple)


setSelectedValues

void setSelectedValues(Collection selectedValues)


setTemplateString

void setTemplateString(String templateString)


setValues

void setValues(Collection values)


 

Groovy Documentation