|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jthomas.mailfaces.Face
Class to handle the display of a "face" that represents one or more e-mail messages. This class maintains a hashtable of Mailmsgs that are related to this face and a reference to a FaceButton object that contains the Picon. The actual display of the Face is handled by FaceBoard.
FaceBoard Mailmsg
Method Summary | |
FaceButton |
getButton()
Get a reference to the FaceButton that contains the Picon. |
Mailmsg[] |
getMailmsgs()
getMailmsgs() will return an array of Mailmsgs associated with this Face. |
int |
getNumber()
access the count of mailmsgs that are represented by this face. |
void |
reset()
reset() is called when the containing FaceBoard is reset. |
void |
setButton(FaceButton button)
save a reference to the FaceButton that contains the Picon |
void |
update(Mailmsg mailmsg)
update(mailmsg,imageurl) will update an existing Face object with a mailmsg. |
void |
update(Mailmsg mailmsg,
java.lang.String imageurl)
update(mailmsg,imageurl) will update a new Face object with a mailmsg and a URL. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public void reset()
This will reflect the reset action to the associated FaceButton.
public void update(Mailmsg mailmsg, java.lang.String imageurl)
public void update(Mailmsg mailmsg)
public int getNumber()
public void setButton(FaceButton button)
public FaceButton getButton()
public Mailmsg[] getMailmsgs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |