|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsbr.items.ItemString
public class ItemString
Methods to convert a survey item into the string array format used to hold this information for storage in a file or to be used to create the the survey web page later. This item is then added to the larger string array that holds all of the items for the survey.
Constructor Summary | |
---|---|
ItemString()
|
Method Summary | |
---|---|
java.lang.String[][][] |
addItem(java.lang.String[][][] curItems,
int type,
java.lang.String[][] item)
Add an item to the string array that holds all items for a survey. |
java.lang.String[][][] |
delItem(java.lang.String[][][] curItems,
int delItem)
Delete an item from the current list of questions |
java.lang.String[][][] |
insertItem(java.lang.String[][][] curItems,
int pos,
java.lang.String[][] newItem)
Delete an item from the current list of questions |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ItemString()
Method Detail |
---|
public java.lang.String[][][] addItem(java.lang.String[][][] curItems, int type, java.lang.String[][] item)
curItems
- The string array that holds all items
that are currently in the survey.type
- The type of the new item to be added.item
- The information about the current item to
be added to the string array.
public java.lang.String[][][] delItem(java.lang.String[][][] curItems, int delItem)
String
- [][] curItems array of itemsint
- delItem the index of the item to be deleted
public java.lang.String[][][] insertItem(java.lang.String[][][] curItems, int pos, java.lang.String[][] newItem)
String
- [][] curItems array of itemsint
- delItem the index of the item to be deleted
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |