public interface PaletteModel
Palette control.| Modifier and Type | Method and Description |
|---|---|
void |
addListDataListener(javax.swing.event.ListDataListener l)
Adds a listener for changes in the model.
|
java.util.List<PaletteCategory> |
getCategories()
Gets all categories in the model.
|
PaletteCategory |
getElementAt(int index)
Gets the category at the specified index.
|
int |
getSize()
Gets the number of categories in the model.
|
void |
removeListDataListener(javax.swing.event.ListDataListener l)
Removes a listener for changes in the model.
|
int getSize()
PaletteCategory getElementAt(int index)
index - The index of the category.PaletteCategory at the specified index.void addListDataListener(javax.swing.event.ListDataListener l)
l - The ListDataListener to add.void removeListDataListener(javax.swing.event.ListDataListener l)
l - The ListDataListener to remove.java.util.List<PaletteCategory> getCategories()
PaletteCategory objects.