|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The interface that defines a suitable data model for a JDrawing.
| Method Summary | |
void |
addDrawingModelListener(DrawingModelListener listener)
Adds a listener which will be notified about changes in this model. |
java.util.Enumeration |
elements()
Returns an enumeration of the elements of this model. |
void |
removeDrawingModelListener(DrawingModelListener listener)
Removes a listener from the list that is notified about changes in this model. |
void |
sortElements(java.lang.Object[] elements)
Reorder elements to be in order suitable for painting. |
| Method Detail |
public java.util.Enumeration elements()
public void addDrawingModelListener(DrawingModelListener listener)
listener - the DrawingModelListenerpublic void removeDrawingModelListener(DrawingModelListener listener)
listener - the DrawingModelListenerpublic void sortElements(java.lang.Object[] elements)
elements to be in order suitable for painting.
elements - the elements to reorder
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||