net.sf.tacos.ajax.components.palette
Class PaletteOption

java.lang.Object
  extended by net.sf.tacos.ajax.components.palette.PaletteOption
All Implemented Interfaces:
org.apache.tapestry.IRender

public class PaletteOption
extends 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(String value, String label)
          Creates new option
 
Method Summary
 String getLabel()
          Label
 String getValue()
          Value
 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(String value,
                     String label)
Creates new option

Parameters:
value -
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 String getLabel()
Label

Returns:

getValue

public String getValue()
Value

Returns: