|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.mguennewig.pobjects.metadata.Column
de.mguennewig.pobjects.metadata.FormEntry
public class FormEntry
A form entry describes (usually) a line of an form, including a label and any interactive elements associated with it.
| Field Summary | |
|---|---|
static int |
ADD_METHOD
The add method that allows to extend the array of an ArrayEntry. |
static int |
CHANGED_METHOD
The method that returns the "changed" status of the element. |
static int |
CLASS_NAME
The class name of the nested class that holds the element (or elements) for this entry. |
static int |
LAYOUT_NO_HEADER_CELL
Place the form entry at the beginning of the row, without any leading header cell. |
static int |
LAYOUT_PULL_IN
Place the form entry after the preceding entry. |
static int |
LAYOUT_PULL_IN_CELL
Place the form entry after the preceding entry, but in a new table cell. |
static int |
LAYOUT_STANDARD
Place the form entry in a separate line (default). |
| 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 | |
|---|---|
FormEntry(java.lang.String name,
Type type,
int layout)
Creates a new FormEntry. |
|
| Method Summary | |
|---|---|
int |
getLayout()
|
java.lang.String |
name(int variant)
Returns different names depending on variant for the code
generator. |
| 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 |
|---|
public static final int CLASS_NAME
name(int),
Constant Field Valuespublic static final int ADD_METHOD
ArrayEntry.
name(int),
Constant Field Valuespublic static final int CHANGED_METHOD
name(int),
Constant Field Valuespublic static final int LAYOUT_STANDARD
public static final int LAYOUT_PULL_IN
public static final int LAYOUT_PULL_IN_CELL
public static final int LAYOUT_NO_HEADER_CELL
This is only applicable to entries that start a new table row.
| Constructor Detail |
|---|
public FormEntry(java.lang.String name,
Type type,
int layout)
| Method Detail |
|---|
public final int getLayout()
public java.lang.String name(int variant)
variant for the code
generator.
name in class Columnvariant | return value |
|---|---|
Column.MEMBER_ATTR |
entry< |
Column.MEMBER_ATTR_TYPE |
etype< |
CLASS_NAME |
< |
ADD_METHOD |
add< |
CHANGED_METHOD |
changed< |
other values see super class |
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||