de.mguennewig.pobjects.metadata
Class SpacerEntry

java.lang.Object
  extended by de.mguennewig.pobjects.metadata.Column
      extended by de.mguennewig.pobjects.metadata.FormEntry
          extended by de.mguennewig.pobjects.metadata.SpacerEntry

public class SpacerEntry
extends FormEntry

A form entry for adding an empty line into the form.

Author:
Michael Günnewig

Field Summary
static int RENDER_AS_EMPTY_ROW
          Spacer is displayed as empty row in the form.
static int RENDER_AS_HR_ROW
          Spacer is displayed as horizontal line in the row.
 
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
SpacerEntry(java.lang.String name, int renderAs)
          Creates a new spacer entry.
 
Method Summary
 int getRenderAs()
          Returns how this entry will be rendered.
 
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
 

Field Detail

RENDER_AS_EMPTY_ROW

public static final int RENDER_AS_EMPTY_ROW
Spacer is displayed as empty row in the form.

See Also:
Constant Field Values

RENDER_AS_HR_ROW

public static final int RENDER_AS_HR_ROW
Spacer is displayed as horizontal line in the row.

See Also:
Constant Field Values
Constructor Detail

SpacerEntry

public SpacerEntry(java.lang.String name,
                   int renderAs)
Creates a new spacer entry.

Parameters:
name - A unique string, which represents this form entry.
renderAs - Switches between different output variants.
Method Detail

getRenderAs

public final int getRenderAs()
Returns how this entry will be rendered.