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

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

public class Selection
extends java.lang.Object
implements java.io.Serializable

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

See Also:
Serialized Form

Constructor Summary
Selection(java.lang.Object value)
          let the gui determine how to display this value
Selection(java.lang.String label, java.lang.Object value)
          selection with fixed label
 
Method Summary
 java.lang.String getLabel()
           
 java.lang.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(java.lang.Object value)
let the gui determine how to display this value


Selection

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

Method Detail

getLabel

public java.lang.String getLabel()

getValue

public java.lang.Object getValue()


Copyright © 2011. All Rights Reserved.