|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjaxx.runtime.swing.editor.config.model.CategoryModel
public class CategoryModel
le modele d'une categorie d'options. Une categorie est un ensemble d'options.
| Field Summary | |
|---|---|
protected String |
category
category short name (i18n key) |
protected String |
categoryLabel
category long name (i18n key) |
protected List<OptionModel> |
entries
options of the category |
static String |
MODIFIED_PROPERTY_NAME
|
protected PropertyChangeSupport |
pcs
suport of modification |
static String |
RELOAD_PROPERTY_NAME
|
static String |
VALID_PROPERTY_NAME
|
| Constructor Summary | |
|---|---|
protected |
CategoryModel(String category,
String categoryLabel)
|
|
CategoryModel(String category,
String categoryLabel,
OptionModel[] entries)
Deprecated. |
| Method Summary | |
|---|---|
protected void |
addOption(OptionModel option)
|
void |
addPropertyChangeListener(PropertyChangeListener listener)
|
void |
addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
|
void |
destroy()
|
protected void |
finalize()
|
void |
firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
|
String |
getCategory()
|
String |
getCategoryLabel()
|
List<OptionModel> |
getEntries()
|
List<OptionModel> |
getInvalidOptions()
|
List<OptionModel> |
getModifiedOptions()
|
PropertyChangeListener[] |
getPropertyChangeListeners()
|
PropertyChangeListener[] |
getPropertyChangeListeners(String propertyName)
|
List<OptionModel> |
getSavedOptions()
|
boolean |
hasListeners(String propertyName)
|
boolean |
isModified()
|
boolean |
isValid()
|
Iterator<OptionModel> |
iterator()
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
|
void |
removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
|
void |
setValue(OptionModel key,
Object val)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String RELOAD_PROPERTY_NAME
public static final String MODIFIED_PROPERTY_NAME
public static final String VALID_PROPERTY_NAME
protected String category
protected String categoryLabel
protected List<OptionModel> entries
protected PropertyChangeSupport pcs
| Constructor Detail |
|---|
protected CategoryModel(String category,
String categoryLabel)
@Deprecated
public CategoryModel(String category,
String categoryLabel,
OptionModel[] entries)
| Method Detail |
|---|
protected void addOption(OptionModel option)
public String getCategory()
public String getCategoryLabel()
public List<OptionModel> getEntries()
public boolean isModified()
public boolean isValid()
public void setValue(OptionModel key,
Object val)
public Iterator<OptionModel> iterator()
iterator in interface Iterable<OptionModel>public List<OptionModel> getInvalidOptions()
public List<OptionModel> getModifiedOptions()
public List<OptionModel> getSavedOptions()
public void firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
public void addPropertyChangeListener(PropertyChangeListener listener)
public void addPropertyChangeListener(String propertyName,
PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(String propertyName,
PropertyChangeListener listener)
public boolean hasListeners(String propertyName)
public PropertyChangeListener[] getPropertyChangeListeners(String propertyName)
public PropertyChangeListener[] getPropertyChangeListeners()
public void destroy()
protected void finalize()
throws Throwable
finalize in class ObjectThrowable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||