public interface EqualizerModel
| Modifier and Type | Method and Description |
|---|---|
void |
addEqualizerModelListener(EqualizerModelListener eml)
Adds a new
EqualizerModelListener to this model. |
String |
getEqualizerCategory(int index)
Getter for the category name at the specified index.
|
int |
getEqualizerCategoryCount()
Getter for the total amount of available categories.
|
Range |
getRange()
Getter for the range this equalizer model covers (boundaries included).
|
int |
getValueAt(int index)
Getter for the current value at the specified index.
|
void |
removeEqualizerModelListener(EqualizerModelListener eml)
Remove the specified
EqualizerModelListener. |
void |
setValueAt(int index,
int value)
Setter for the a new value at the specified index.
|
Range getRange()
Range this model coversString getEqualizerCategory(int index)
IndexOutOfBoundsException if index is
< 0 or >= getEqualizerCategoryCount().index - the category indexint getEqualizerCategoryCount()
int getValueAt(int index)
IndexOutOfBoundsException if index is
< 0 or >= getEqualizerCategoryCount().index - the category indexvoid setValueAt(int index,
int value)
Range of this
model. Otherwise an IllegalArgumentException shall be thrown. Shall throw
IndexOutOfBoundsException if index is < 0 or >=
getEqualizerCategoryCount().index - the category indexvalue - the new valuevoid addEqualizerModelListener(EqualizerModelListener eml)
EqualizerModelListener to this model. Any registered listener will be informed of model
changes. If a listener has already been added any subsequent calls with the same instance shall be ignore. This
means that any listener shall only be called once when a change happens. If null is passed nothing
shall be done.eml - the EqualizerModelListener to addvoid removeEqualizerModelListener(EqualizerModelListener eml)
EqualizerModelListener. It will not be informed of changes anymore. If there is
no such listener or if null is passed nothing shall be done.eml - the EqualizerModelListener to removeCopyright © 2012–2026 cismet GmbH. All rights reserved.