Building Parsers with Java

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.


Field Summary
protected  java.util.Vector renderables
           
 
Constructor Summary
RenderableCollection()
           
 
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
 

Field Detail

renderables

protected java.util.Vector renderables
Constructor Detail

RenderableCollection

public RenderableCollection()
Method Detail

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.

by Steve Metsker