Package net.sf.basedb.util.extensions
Interface WrappingRenderer<A extends Action>
- All Superinterfaces:
Renderer<A>
- All Known Implementing Classes:
PrefixSuffixRenderer
An extension to the regular renderer interface
intended for renderers that wants to wrap an existing
renderer to give the result their own touch.
- Version:
- 2.12
- Author:
- nicklas
- Last modified
- $Date: 2009-04-01 13:38:59 +0200 (on, 01 apr 2009) $
-
Method Summary
-
Method Details
-
setParent
Set a parent renderer. Some implementations may have restrictions on this method. For example, they may not allow a parent renderer to be set after the object has been constructed, or they may not allow the parent to be set to null, etc.- Parameters:
parent
- The parent renderer that should be wrapped by this renderer- Throws:
UnsupportedOperationException
- If the implementation doesn't support this method
-
getParent
Get the current parent renderer.- Returns:
- A renderer or null if there is no parent
-