sjm.examples.sling
Class RenderableCollection
java.lang.Object
|
+--sjm.examples.sling.RenderableCollection
- public class RenderableCollection
- extends java.lang.Object
This class holds a collection of renderable Sling
functions.
|
Method Summary |
void |
add(Renderable r)
Adds a renderable function to the collection. |
java.util.Enumeration |
elements()
Returns an enumeration of the renderable functions in
this collection. |
Extrema |
getExtrema()
Find the extreme points the functions will reach. |
boolean |
isEmpty()
Returns true if this collection contains no renderables. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
renderables
protected java.util.Vector renderables
RenderableCollection
public RenderableCollection()
add
public void add(Renderable r)
- Adds a renderable function to the collection.
elements
public java.util.Enumeration elements()
- Returns an enumeration of the renderable functions in
this collection.
getExtrema
public Extrema getExtrema()
- Find the extreme points the functions will reach.
- Returns:
- the extreme points the functions will reach
isEmpty
public boolean isEmpty()
- Returns true if this collection contains no renderables.