|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.gridsystems.config.tools.console.Field
com.gridsystems.config.tools.console.GroupField
public class GroupField
A Field that acts as a container for other fields.
| Field Summary | |
|---|---|
protected java.util.List<Field> |
fields
Collection of fields. |
protected java.lang.String |
title
Group title. |
| Fields inherited from class com.gridsystems.config.tools.console.Field |
|---|
bundle |
| Constructor Summary | |
|---|---|
GroupField(java.util.ResourceBundle bundle,
java.lang.String title)
Creates a new instance with an empty field list. |
|
GroupField(java.util.ResourceBundle bundle,
java.lang.String title,
java.util.List<Field> fields)
Creates a new instance with the specified list of fields. |
|
| Method Summary | |
|---|---|
void |
addField(Field field)
Adds another field to the list. |
void |
clearFields()
Clears all fields in the list. |
java.util.List<ConsoleViewAction> |
getActionList()
Gets the list of actions in this group. |
ConsoleViewAction[] |
getActions()
Gets the list of actions in this group. |
java.lang.String[] |
getContents()
Gets the contents of this field. |
java.util.List |
getFields()
Gets the list of fields in this group. |
Field |
removeField(int pos)
Removes the field at position pos from the list. |
| Methods inherited from class com.gridsystems.config.tools.console.Field |
|---|
getString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String title
protected java.util.List<Field> fields
| Constructor Detail |
|---|
public GroupField(java.util.ResourceBundle bundle,
java.lang.String title)
bundle - The resource bundle to usetitle - The bundle key for the title
public GroupField(java.util.ResourceBundle bundle,
java.lang.String title,
java.util.List<Field> fields)
bundle - The resource bundle to usetitle - The bundle key for the titlefields - The initial field list| Method Detail |
|---|
public void addField(Field field)
field - The field to addpublic Field removeField(int pos)
pos from the list.
pos - the position of the field to remove
public void clearFields()
public java.util.List getFields()
public ConsoleViewAction[] getActions()
public java.util.List<ConsoleViewAction> getActionList()
public java.lang.String[] getContents()
getContents in class Field
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||