org.apache.tapestry.contrib.palette
Class PaletteOption
java.lang.Object
   org.apache.tapestry.contrib.palette.PaletteOption
org.apache.tapestry.contrib.palette.PaletteOption
- All Implemented Interfaces: 
- IRender
- public class PaletteOption 
- extends Object- implements IRender
Used to hold options editable by a Palette component, so that they may
 be sorted into an appropriate order.
- Version:
- $Id: PaletteOption.java 243835 2004-03-09 20:17:21Z hlship $
- Author:
- Howard Lewis Ship
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
PaletteOption
public PaletteOption(String value,
                     String label)
render
public void render(IMarkupWriter writer,
                   IRequestCycle cycle)
- Description copied from interface: IRender
- The principal rendering/rewinding method.  This will cause
  the receiving component to render its top level elements (HTML
  text and components).
  Renderring and rewinding are the exact same process.  The
  same code that renders must be able to restore state by going
  through the exact same operations (even though the output is
  discarded).
 
 
- 
- Specified by:
- renderin interface- IRender
 
- 
 
getLabel
public String getLabel()
- 
 
- 
 
getValue
public String getValue()
- 
 
-