org.apache.tapestry.contrib.palette
Class PaletteOption

java.lang.Object
  extended byorg.apache.tapestry.contrib.palette.PaletteOption
All Implemented Interfaces:
org.apache.tapestry.IRender

public class PaletteOption
extends java.lang.Object
implements org.apache.tapestry.IRender

Used to hold options editable by a Palette component, so that they may be sorted into an appropriate order.

Author:
Howard Lewis Ship

Constructor Summary
PaletteOption(java.lang.String value, java.lang.String label)
           
 
Method Summary
 java.lang.String getLabel()
           
 java.lang.String getValue()
           
 void render(org.apache.tapestry.IMarkupWriter writer, org.apache.tapestry.IRequestCycle cycle)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaletteOption

public PaletteOption(java.lang.String value,
                     java.lang.String label)
Method Detail

render

public void render(org.apache.tapestry.IMarkupWriter writer,
                   org.apache.tapestry.IRequestCycle cycle)
Specified by:
render in interface org.apache.tapestry.IRender

getLabel

public java.lang.String getLabel()

getValue

public java.lang.String getValue()