de.mguennewig.pobjects.metadata
Class RadioEntry

java.lang.Object
  extended by de.mguennewig.pobjects.metadata.Column
      extended by de.mguennewig.pobjects.metadata.FormEntry
          extended by de.mguennewig.pobjects.metadata.ValueEntry
              extended by de.mguennewig.pobjects.metadata.RecordEntry
                  extended by de.mguennewig.pobjects.metadata.RadioEntry

public class RadioEntry
extends RecordEntry

A special kind of form entry, which adds a radio button to a fixed set of form entries.

Author:
Michael Günnewig

Field Summary
 
Fields inherited from class de.mguennewig.pobjects.metadata.ValueEntry
RENDER_AS_DISABLED, RENDER_AS_HIDDEN, RENDER_AS_INPUT, RENDER_AS_TEXT
 
Fields inherited from class de.mguennewig.pobjects.metadata.FormEntry
ADD_METHOD, CHANGED_METHOD, CLASS_NAME, LAYOUT_NO_HEADER_CELL, LAYOUT_PULL_IN, LAYOUT_PULL_IN_CELL, LAYOUT_STANDARD
 
Fields inherited from class de.mguennewig.pobjects.metadata.Column
GET_METHOD, GET_METHOD_VISUAL, MEMBER_ATTR, MEMBER_ATTR_TYPE, MEMBER_NAME, SET_METHOD
 
Constructor Summary
RadioEntry(java.lang.String name, FormEntry[] childEntries)
          Creates a new radio entry with standard layout.
 
Method Summary
 
Methods inherited from class de.mguennewig.pobjects.metadata.RecordEntry
getChildEntry, getNumChildEntries
 
Methods inherited from class de.mguennewig.pobjects.metadata.ValueEntry
getRenderAs
 
Methods inherited from class de.mguennewig.pobjects.metadata.FormEntry
getLayout, name
 
Methods inherited from class de.mguennewig.pobjects.metadata.Column
getDescription, getIndex, getName, getSchemaName, getType, setDescription, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RadioEntry

public RadioEntry(java.lang.String name,
                  FormEntry[] childEntries)
Creates a new radio entry with standard layout.

Parameters:
name - A unique string, which represents this form entry.
childEntries - The form entry specification for the elements of the radio button.
Throws:
java.lang.IllegalArgumentException - if no child entry declarations are given.