|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Describes a method of reaching a Contact
Field Summary | |
---|---|
static int |
VIEW_TYPE_MULTI
Constant for ContactMethods that are best displayed in a Msg dialog |
static int |
VIEW_TYPE_SINGLE
Constant for ContactMethods that are best displayed one Msg at a time |
Method Summary | |
---|---|
Contact |
getContact()
Accessor for the associated Contact |
java.lang.String |
getDisplayName()
Accessor for the user-friendly name |
java.lang.String |
getIdentifier()
Accessor for the identifier |
int |
getPreferredViewType()
Returns the prefered view type |
java.lang.String |
getProtocol()
Accessor for the protocol |
java.lang.String |
idString()
Returns a String representing this ContactMethod in a parseable form (protocol:id) |
void |
setContact(Contact c)
Mutator for the associated Contact |
void |
setIdentifier(java.lang.String id)
Mutator for the identifier |
Methods inherited from interface net.sourceforge.mflow.api.Iconable |
---|
getIcon |
Field Detail |
---|
static final int VIEW_TYPE_SINGLE
static final int VIEW_TYPE_MULTI
Method Detail |
---|
java.lang.String getProtocol()
void setIdentifier(java.lang.String id)
id
- the new identifierjava.lang.String getIdentifier()
java.lang.String getDisplayName()
void setContact(Contact c)
c
- the Contact to associate with this ContactMethodContact getContact()
java.lang.String idString()
ContactMethodManager.parse(String)
int getPreferredViewType()
VIEW_TYPE_SINGLE
,
VIEW_TYPE_MULTI
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |