|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ldodds.foaf.thinlet.FriendBuilder
Populates the Friend table in the user interface, and uses that data to populate the model.
This code is Public Domain
Constructor Summary | |
FriendBuilder()
|
Method Summary | |
void |
addFriendToTable(boolean update)
Add/update a friend in the table. |
boolean |
addToArray(java.lang.String[] fields,
java.lang.Object field,
int index,
boolean required)
Add field data to the provided array. |
void |
build()
Adds friends data, stored in the table, to the internal model |
java.lang.String |
getProperName(java.lang.String name)
|
java.lang.String |
getText(java.lang.Object field)
|
java.lang.String |
getText(java.lang.Object context,
java.lang.String field)
|
boolean |
isNullOrEmpty(java.lang.String value)
|
void |
populateModel()
Populate the current model with data stored in the friend table |
void |
removeFriendFromTable()
Remove existing friend(s) from the table |
void |
showCue(java.lang.Object field)
Show data entry hints |
void |
showSelected()
Populate the data entry fields from the row currently selected in the table. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FriendBuilder()
Method Detail |
public void addFriendToTable(boolean update)
public void showSelected()
public boolean addToArray(java.lang.String[] fields, java.lang.Object field, int index, boolean required)
public void showCue(java.lang.Object field)
public void build()
public boolean isNullOrEmpty(java.lang.String value)
public java.lang.String getText(java.lang.Object field)
public java.lang.String getText(java.lang.Object context, java.lang.String field)
public java.lang.String getProperName(java.lang.String name)
public void removeFriendFromTable()
public void populateModel()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |