|
IBM Rational Functional Tester Version 8.1.1000 IBM Rational Functional Tester API Reference Project Version 2.3 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rational.test.ft.ui.wizarddialog.Wizard
com.rational.test.ft.services.MessageOptionsWizard
public class MessageOptionsWizard
The wizard that controls the message filter level, message color, and whether to include a time stamp with each message.
Constructor Summary | |
---|---|
MessageOptionsWizard(MonitorUIPreferences preferences)
|
Method Summary | |
---|---|
void |
addPages()
The Wizard implementation of this IWizard
method does nothing. |
javax.swing.ImageIcon |
getDefaultPageImage()
Returns the default page image for this wizard. |
java.awt.Color |
getErrorMessageColor()
Return the error level message text color. |
java.awt.Color |
getInfoMessageColor()
Return the information level message text color. |
int |
getMessageLevelFilter()
Return the message level filter. |
java.awt.Color |
getWarningMessageColor()
Return the warning level message text color. |
java.lang.String |
getWindowTitle()
Returns the window title string for this wizard. |
boolean |
isIncludeTimeStamp()
Return whether to include a time stamp with the message display |
boolean |
isShowHelpOnStartup()
Return whether to show help on startup |
boolean |
performFinish()
Performs any actions appropriate in response to the user having pressed the Finish button, or refuse if finishing now is not permitted. |
void |
setErrorMessageColor(java.awt.Color color)
Set the error level message text color. |
void |
setIncludeTimeStamp(boolean state)
Set whether to include a time stamp with the message display |
void |
setInfoMessageColor(java.awt.Color color)
Set the information level message text color. |
void |
setMessageLevelFilter(int level)
Set the message level filter. |
void |
setShowHelpOnStartup(boolean state)
Set whether to show help on startup |
void |
setWarningMessageColor(java.awt.Color color)
Set the warning level message text color. |
Methods inherited from class com.rational.test.ft.ui.wizarddialog.Wizard |
---|
addPage, canFinish, createPageControls, dispose, getContainer, getNeedsProgressMonitor, getNextPage, getPage, getPageCount, getPages, getPreviousPage, getStartingPage, isHelpAvailable, needsCancelButtonOnly, needsPreviousAndNextButtons, needsProgressMonitor, needsTitleBar, performCancel, setContainer, setDefaultPageImage, setForcePreviousAndNextButtons, setHelpAvailable, setNeedsProgressMonitor, setNeedsTitleBar, setTitle, setWindowTitle |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageOptionsWizard(MonitorUIPreferences preferences)
Method Detail |
---|
public void addPages()
com.rational.test.ft.ui.wizarddialog.Wizard
Wizard
implementation of this IWizard
method does nothing.
Subclasses should extend if extra pages need to be added before
the wizard opens. New pages should be added by calling addPage
.
addPages
in interface com.rational.test.ft.ui.wizarddialog.IWizard
addPages
in class com.rational.test.ft.ui.wizarddialog.Wizard
public javax.swing.ImageIcon getDefaultPageImage()
This image can be used for pages which do not supply their own image.
getDefaultPageImage
in interface com.rational.test.ft.ui.wizarddialog.IWizard
getDefaultPageImage
in class com.rational.test.ft.ui.wizarddialog.Wizard
public java.lang.String getWindowTitle()
getWindowTitle
in interface com.rational.test.ft.ui.wizarddialog.IWizard
getWindowTitle
in class com.rational.test.ft.ui.wizarddialog.Wizard
null
for no titlepublic boolean performFinish()
performFinish
in interface com.rational.test.ft.ui.wizarddialog.IWizard
performFinish
in class com.rational.test.ft.ui.wizarddialog.Wizard
true
to indicate the finish request
was duly processed, and false
to indicate
that the finish request was refusedpublic void setIncludeTimeStamp(boolean state)
setIncludeTimeStamp
in interface IMessageOptions
b
- true - include timestamp, otherwise nopublic void setShowHelpOnStartup(boolean state)
setShowHelpOnStartup
in interface IMessageOptions
state
- true - show help otherwise notpublic boolean isIncludeTimeStamp()
isIncludeTimeStamp
in interface IMessageOptions
public boolean isShowHelpOnStartup()
isShowHelpOnStartup
in interface IMessageOptions
public void setMessageLevelFilter(int level)
setMessageLevelFilter
in interface IMessageOptions
level
- Message severity levelIMonitor.ERROR_MSG
,
IMonitor.WARNING_MSG
,
IMonitor.INFO_MSG
public int getMessageLevelFilter()
getMessageLevelFilter
in interface IMessageOptions
public void setErrorMessageColor(java.awt.Color color)
setErrorMessageColor
in interface IMessageOptions
color
- The new text colorpublic java.awt.Color getErrorMessageColor()
getErrorMessageColor
in interface IMessageOptions
public void setWarningMessageColor(java.awt.Color color)
setWarningMessageColor
in interface IMessageOptions
color
- The new text colorpublic java.awt.Color getWarningMessageColor()
getWarningMessageColor
in interface IMessageOptions
public void setInfoMessageColor(java.awt.Color color)
setInfoMessageColor
in interface IMessageOptions
color
- The new text colorpublic java.awt.Color getInfoMessageColor()
getInfoMessageColor
in interface IMessageOptions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |