|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SwoglRenderer
This interface is a SwoglComponentHandler
that additionally
allows accessing and rendering the individual
SwoglComponents
. Instances of classes
implementing this interface are part of a SwoglApplication
.
Method Summary | |
---|---|
java.util.List<SwoglComponent> |
getSwoglComponents()
Returns an immutable list of all SwoglComponents. |
void |
renderAllSwoglComponents()
Shortcut for
for (SwoglComponent s : getSwoglComponents()) renderSwoglComponent(s);
|
void |
renderSwoglComponent(SwoglComponent swoglComponent)
Causes a rendering of the current state of the given SwoglComponent. |
Methods inherited from interface de.javagl.swogl.SwoglComponentHandler |
---|
handleSwoglComponent, releaseSwoglComponent |
Method Detail |
---|
java.util.List<SwoglComponent> getSwoglComponents()
SwoglComponentHandler.handleSwoglComponent(SwoglComponent)
but for which no
internal representation has been created yet. The implementation
must make sure that when one of the components from this list is
passed to the renderSwoglComponent(SwoglComponent)
method,
the component can actually be rendered.
void renderAllSwoglComponents()
for (SwoglComponent s : getSwoglComponents()) renderSwoglComponent(s);
void renderSwoglComponent(SwoglComponent swoglComponent)
swoglComponent
- The SwoglComponent to render
java.lang.IllegalArgumentException
- If the given SwoglComponent is
not handled by this class.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |