|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.oddjob.arooa.design.screem.MultiTypeTable
public class MultiTypeTable
A model for a DesignElement which can contain multiple child DesignElements of various types. This model supports both name types, as used in a Map or unnamed types as used in a List.
Nested Class Summary | |
---|---|
static interface |
MultiTypeTable.KeyAccess
|
Constructor Summary | |
---|---|
MultiTypeTable(DesignElementProperty designProperty)
|
|
MultiTypeTable(String heading,
DesignElementProperty designProperty)
|
Method Summary | |
---|---|
String |
getChildName(int index)
|
DesignElementProperty |
getDesignProperty()
|
String |
getTitle()
The title will either be the title for a field or the title round a group or the title on a dialog depending on how the visual component is presented. |
int |
getVisibleRows()
|
boolean |
isKeyed()
|
boolean |
isPopulated()
Used by certain summary views to indicate that there is more detail. |
void |
setChildName(int index,
String key)
|
void |
setKeyAccess(MultiTypeTable.KeyAccess keyAccess)
|
MultiTypeTable |
setTitle(String title)
Set the title that will be displayed on the view for this form item. |
MultiTypeTable |
setVisibleRows(int visibleRows)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MultiTypeTable(DesignElementProperty designProperty)
public MultiTypeTable(String heading, DesignElementProperty designProperty)
Method Detail |
---|
public MultiTypeTable setTitle(String title)
FormItem
DesignProperty
that
creates this model.
setTitle
in interface FormItem
title
- The String title.
public String getTitle()
FormItem
getTitle
in interface FormItem
public boolean isKeyed()
public void setKeyAccess(MultiTypeTable.KeyAccess keyAccess)
public boolean isPopulated()
FormItem
isPopulated
in interface FormItem
public DesignElementProperty getDesignProperty()
public String getChildName(int index)
public void setChildName(int index, String key)
public int getVisibleRows()
public MultiTypeTable setVisibleRows(int visibleRows)
visibleRows
- The visibleRows to set.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |