com.ldodds.foafamatic
Class FriendManager
java.lang.Object
|
+--com.ldodds.foafamatic.AbstractPanelManager
|
+--com.ldodds.foafamatic.FriendManager
- public class FriendManager
- extends AbstractPanelManager
Manages the Friend data in the user interface, and provides it to the
ModelBuilder for populating the model.
This code is Public Domain
- Author:
- ccslrd
Method Summary |
void |
addFriendToTable(boolean update)
Add/update a Person in the table. |
boolean |
addToArray(java.lang.String[] fields,
java.lang.Object field,
int index,
boolean required)
Add field data to the provided array. |
boolean |
isNullOrEmpty(java.lang.String value)
|
void |
populateTableWithItem(java.lang.Object item)
Add a friend to the internal list, and make it visible in the UI |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FriendManager
public FriendManager()
populateTableWithItem
public void populateTableWithItem(java.lang.Object item)
- Add a friend to the internal list, and make it visible in the UI
- Specified by:
populateTableWithItem
in class AbstractPanelManager
addFriendToTable
public void addFriendToTable(boolean update)
- Add/update a Person in the table. Performs validation on the entered fields
addToArray
public boolean addToArray(java.lang.String[] fields,
java.lang.Object field,
int index,
boolean required)
- Add field data to the provided array. As a side-effect will trigger showing of data entry
hints if required fields aren't provided.
isNullOrEmpty
public boolean isNullOrEmpty(java.lang.String value)