de.mguennewig.pobjects.metadata
Class ValueEntry
java.lang.Object
de.mguennewig.pobjects.metadata.Column
de.mguennewig.pobjects.metadata.FormEntry
de.mguennewig.pobjects.metadata.ValueEntry
- Direct Known Subclasses:
- ArrayEntry, InputEntry, RecordEntry
public abstract class ValueEntry
- extends FormEntry
Abstract base class for all form entries, which handle values.
- Author:
- Michael Günnewig
|
Constructor Summary |
ValueEntry(java.lang.String name,
Type type)
Creates a new normal rendered form entry with standard layout. |
ValueEntry(java.lang.String name,
Type type,
int layout)
Creates a new normal rendered form entry. |
ValueEntry(java.lang.String name,
Type type,
int layout,
int renderAs)
Creates a new form entry for values. |
|
Method Summary |
int |
getRenderAs()
Returns how this form entry will be rendered. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RENDER_AS_INPUT
public static final int RENDER_AS_INPUT
- See Also:
- Constant Field Values
RENDER_AS_TEXT
public static final int RENDER_AS_TEXT
- See Also:
- Constant Field Values
RENDER_AS_HIDDEN
public static final int RENDER_AS_HIDDEN
- See Also:
- Constant Field Values
RENDER_AS_DISABLED
public static final int RENDER_AS_DISABLED
- See Also:
- Constant Field Values
ValueEntry
public ValueEntry(java.lang.String name,
Type type)
- Creates a new normal rendered form entry with standard layout.
- Parameters:
name - A unique string, which represents this form entry.type - Specifies the attribute type, which this entry will use.
ValueEntry
public ValueEntry(java.lang.String name,
Type type,
int layout)
- Creates a new normal rendered form entry.
- Parameters:
name - A unique string, which represents this form entry.type - Specifies the attribute type, which this entry will use.layout - Specifies the layout for this form entry.
ValueEntry
public ValueEntry(java.lang.String name,
Type type,
int layout,
int renderAs)
- Creates a new form entry for values.
- Parameters:
name - A unique string, which represents this form entry.type - Specifies the attribute type, which this entry will use.layout - Specifies the layout for this form entry.renderAs - Specifies how this entry will be rendered.
getRenderAs
public final int getRenderAs()
- Returns how this form entry will be rendered.