|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.swfm.mica.core.MiHelpInfo
A basic implementation of the MiiHelpInfo interface.
This class is used to specify ToolHints, StatusBar help, etc. and
allows the programmer to specify unique color and fonts for each
help message.
MiPart.setToolHintHelp(com.swfm.mica.core.MiiHelpInfo),
MiPart.setBalloonHelp(com.swfm.mica.core.MiiHelpInfo),
MiPart.setBalloonHelp(com.swfm.mica.core.MiiHelpInfo),
MiPart.setDialogHelp(com.swfm.mica.core.MiiHelpInfo)
| Field Summary | |
static MiHelpInfo |
ignoreThis
A special MiHelpInfo instance that indicates that the user, for example the status bar, is to just ignore this help message. |
static MiHelpInfo |
noneForThis
|
| Constructor Summary | |
MiHelpInfo(java.lang.String msg)
Contructs a new MiHelpInfo. |
|
MiHelpInfo(java.lang.String msg,
MiAttributes atts)
Contructs a new MiHelpInfo. |
|
| Method Summary | |
MiAttributes |
getAttributes()
Gets the attributes of the message display. |
java.lang.String |
getMessage()
Gets the helpful message to display. |
boolean |
isEnabled()
Gets whether this help is enabled. |
void |
setAttributes(MiAttributes atts)
Sets the attributes of the message display. |
void |
setEnabled(boolean flag)
Sets whether this help is enabled. |
void |
setMessage(java.lang.String msg)
Sets the helpful message to display. |
java.lang.String |
toString()
Prints information about this class. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final MiHelpInfo ignoreThis
public static final MiHelpInfo noneForThis
| Constructor Detail |
public MiHelpInfo(java.lang.String msg)
msg - the helpful text message
public MiHelpInfo(java.lang.String msg,
MiAttributes atts)
msg - the helpful text messageatts - the attributes to use to display
the message| Method Detail |
public void setMessage(java.lang.String msg)
setMessage in interface MiiHelpInfomsg - the messagepublic java.lang.String getMessage()
getMessage in interface MiiHelpInfopublic void setAttributes(MiAttributes atts)
setAttributes in interface MiiHelpInfoatts - the attributespublic MiAttributes getAttributes()
getAttributes in interface MiiHelpInfopublic void setEnabled(boolean flag)
setEnabled in interface MiiHelpInfoflag - true if this help message is enabledpublic boolean isEnabled()
isEnabled in interface MiiHelpInfopublic java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||