org.apache.myfaces.orchestra.dynaForm.metadata
Class Selection

java.lang.Object
  extended by org.apache.myfaces.orchestra.dynaForm.metadata.Selection
All Implemented Interfaces:
Serializable

public class Selection
extends Object
implements Serializable

represents a selection (e.g. for select menus)

See Also:
Serialized Form

Constructor Summary
Selection(Object value)
          let the gui determine how to display this value
Selection(String label, Object value)
          selection with fixed label
 
Method Summary
 String getLabel()
           
 Object getValue()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Selection

public Selection(Object value)
let the gui determine how to display this value


Selection

public Selection(String label,
                 Object value)
selection with fixed label

Method Detail

getLabel

public String getLabel()

getValue

public Object getValue()


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.