|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--amisample.ASMessageBox
A message box contains several message according a commun goal ( sent, inbox..).
Messages box model, contains every messages through different lists
Inner Class Summary | |
(package private) class |
ASMessageBox.ASMessageBoxModel
|
Field Summary | |
(package private) boolean |
bSent
If true, is a message box with output messages ( without need for transmiter storage ) |
(package private) HashMap |
hLists
Messages stored this way: hashtable : list name -> Array lists of messages |
(package private) static HashMap |
hMessagesBoxes
Contains all loaded message boxes |
(package private) ASMessageBox.ASMessageBoxModel |
model
Table model used for data representation |
(package private) SimpleDateFormat |
sdf
A date formater |
(package private) String |
sList
Filter on list currently used by view |
(package private) String |
sName
Box name |
Constructor Summary | |
private |
ASMessageBox(String sName,
boolean bSent)
Method ASMessageBox. |
Method Summary | |
void |
appendMessage(ASMessage asm)
Append a message in the box |
(package private) static void |
commit(ASMessageBox amb)
Serialize the box on disk |
(package private) static void |
commitAll()
Serialize all boxes on disk |
(package private) static ASMessageBox |
getBox(String sName,
boolean bSent)
Load the message box. |
String |
getName()
Returns the sName. |
boolean |
isSent()
Returns the bSent. |
void |
removeRow(int[] iSelection)
Remove an interval of rows |
void |
setList(String sList)
Sets the sList. |
Methods inherited from class java.lang.Object |
|
Field Detail |
transient ASMessageBox.ASMessageBoxModel model
String sName
HashMap hLists
String sList
boolean bSent
static HashMap hMessagesBoxes
SimpleDateFormat sdf
Constructor Detail |
private ASMessageBox(String sName, boolean bSent)
sName
- Name of the message boxbSent
- Is it an output box ?Method Detail |
public void appendMessage(ASMessage asm)
public void removeRow(int[] iSelection)
static void commit(ASMessageBox amb) throws ASException
static void commitAll() throws ASException
static ASMessageBox getBox(String sName, boolean bSent)
public String getName()
public void setList(String sList)
sList
- The sList to setpublic boolean isSent()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |