public interface LabelManager
Modifier and Type | Method and Description |
---|---|
String |
getLabel(int index,
String defaultStr)
Returns a label for the specified index.
|
byte[] |
getLabelData()
Returns a serialized byte array of label data.
|
String[] |
getLabelModel()
Returns the label model.
|
boolean |
hasLabels()
Returns true if labels are found.
|
void |
labelChanged()
Notifies listener that labels have changed.
|
void |
setLabel(int index,
String label)
Sets the specified label at the specified index.
|
void |
setLabel(int index,
String label,
boolean notify)
Sets the specified label at the specified index.
|
void |
setLabelData(byte[] data)
Sets the label data.
|
String getLabel(int index, String defaultStr)
index
- the series indexdefaultStr
- the default label to return if none is foundbyte[] getLabelData()
String[] getLabelModel()
boolean hasLabels()
void labelChanged()
void setLabel(int index, String label)
index
- the series indexlabel
- the labelvoid setLabel(int index, String label, boolean notify)
index
- the series indexlabel
- the labelnotify
- true to notify any listeners, false otherwisevoid setLabelData(byte[] data)
data
- a serialized byte array of label data