org.jdrawing
Interface CompoundDrawingElement
- public interface CompoundDrawingElement
Interface for drawing elements which consist of several subelements.
Implementors of this interface can be rendered by default element
renderer of JDrawing.
Method Summary |
java.util.Enumeration |
elements()
Returns an enumeration of subelements of the compound element. |
elements
public java.util.Enumeration elements()
- Returns an enumeration of subelements of the compound element.
The returned Enumeration object will generate all subelements in
this compound element. The elements will be generated by this
enumeration in order suitable for painting. The elements generated
by this enumeration must not be elements of the parent model, but
thay must be renderable by the current element renderer.
- Returns:
- en enumeration of the subelements of this compound element