|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.zfqjava.swing.AbstractBasicChartModel
public abstract class AbstractBasicChartModel
AbstractBasicChartModel provides a abstract implements of chart model.
| Field Summary | |
|---|---|
protected EventListenerList |
listenerList
The list of ChangeListeners for this model. |
| Constructor Summary | |
|---|---|
AbstractBasicChartModel()
|
|
| Method Summary | |
|---|---|
void |
addBasicChartModelListener(BasicChartModelListener l)
Adds a BasicChartModelListener to the model's listener list. |
protected void |
fireCategoryDeleted(int firstIndex,
int lastIndex)
|
protected void |
fireCategoryInserted(int firstIndex,
int lastIndex)
|
protected void |
fireCategoryNameUpdated(int firstIndex,
int lastIndex)
|
protected void |
fireCategoryUpdated(int firstIndex,
int lastIndex)
|
protected void |
fireChartChanged(BasicChartModelEvent e)
Forwards the given notification event to all BasicChartModelListeners that registered
themselves as listeners for this basic chart model. |
protected void |
fireSeriesDeleted(int firstIndex,
int lastIndex)
|
protected void |
fireSeriesInserted(int firstIndex,
int lastIndex)
|
protected void |
fireSeriesNameUpdated(int firstIndex,
int lastIndex)
|
protected void |
fireSeriesUpdated(int firstIndex,
int lastIndex)
|
protected void |
fireValueUpdated(int category,
int series)
|
protected void |
fireValueUpdated(int firstCategory,
int lastCategory,
int firstSeries,
int lastSeries)
|
BasicChartModelListener[] |
getBasicChartModelListeners()
Returns an array of all the basic chart model listeners registered on this AbstractBasicChartModel. |
EventListener[] |
getListeners(Class listenerType)
Return an array of all the listeners of the given type that were added to this model. |
void |
removeBasicChartModelListener(BasicChartModelListener l)
Removes a BasicChartModelListener from the model's listener list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.zfqjava.swing.BasicChartModel |
|---|
getCategoryCount, getCategoryName, getSeriesCount, getSeriesName, getValue, setCategoryName, setSeriesName, setValue |
| Field Detail |
|---|
protected EventListenerList listenerList
| Constructor Detail |
|---|
public AbstractBasicChartModel()
| Method Detail |
|---|
public void addBasicChartModelListener(BasicChartModelListener l)
BasicChartModelListener to the model's listener list. The
BasicChartModelListeners must be notified when models value
changes.
addBasicChartModelListener in interface BasicChartModell - the BasicChartModelListener to addremoveBasicChartModelListener(com.zfqjava.swing.event.BasicChartModelListener)public void removeBasicChartModelListener(BasicChartModelListener l)
BasicChartModelListener from the model's listener list.
removeBasicChartModelListener in interface BasicChartModell - the BasicChartModelListener to removeaddBasicChartModelListener(com.zfqjava.swing.event.BasicChartModelListener)public BasicChartModelListener[] getBasicChartModelListeners()
AbstractBasicChartModel.
BasicChartModelListeners,
or an empty array if no basicchart model listeners
are currently registeredaddBasicChartModelListener(com.zfqjava.swing.event.BasicChartModelListener),
removeBasicChartModelListener(com.zfqjava.swing.event.BasicChartModelListener)
protected void fireCategoryInserted(int firstIndex,
int lastIndex)
protected void fireCategoryUpdated(int firstIndex,
int lastIndex)
protected void fireCategoryDeleted(int firstIndex,
int lastIndex)
protected void fireCategoryNameUpdated(int firstIndex,
int lastIndex)
protected void fireChartChanged(BasicChartModelEvent e)
BasicChartModelListeners that registered
themselves as listeners for this basic chart model.
e - the event to be forwardedaddBasicChartModelListener(com.zfqjava.swing.event.BasicChartModelListener),
BasicChartModelEvent,
EventListenerList
protected void fireSeriesInserted(int firstIndex,
int lastIndex)
protected void fireSeriesUpdated(int firstIndex,
int lastIndex)
protected void fireSeriesDeleted(int firstIndex,
int lastIndex)
protected void fireSeriesNameUpdated(int firstIndex,
int lastIndex)
protected void fireValueUpdated(int category,
int series)
protected void fireValueUpdated(int firstCategory,
int lastCategory,
int firstSeries,
int lastSeries)
public EventListener[] getListeners(Class listenerType)
myAbstractSpinnerModel.getListeners(ChangeListener.class);
listenerType - the type of listeners to return, e.g. ChangeListener.class
|
JComponentPack 1.5.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||