IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.rcp.wizard
Class TitileAreaDialogComposite

java.lang.Object
  extended by org.eclipse.swt.widgets.Widget
      extended by org.eclipse.swt.widgets.Control
          extended by org.eclipse.swt.widgets.Scrollable
              extended by org.eclipse.swt.widgets.Composite
                  extended by com.ibm.btt.rcp.wizard.DialogComposite
                      extended by com.ibm.btt.rcp.wizard.TitileAreaDialogComposite
All Implemented Interfaces:
org.eclipse.swt.graphics.Drawable
Direct Known Subclasses:
WizardComposite

public class TitileAreaDialogComposite
extends DialogComposite


Field Summary
static java.lang.String DLG_IMG_TITLE_BANNER
          Image registry key for banner image (value "dialog_title_banner_image").
static java.lang.String DLG_IMG_TITLE_ERROR
          Image registry key for error message image.
(package private)  org.eclipse.swt.graphics.Color titleAreaColor
           
 
Fields inherited from class com.ibm.btt.rcp.wizard.DialogComposite
buttonBar, dialogArea, INN_DLG_IMG_HELP, INN_DLG_IMG_MESSAGE_ERROR, INN_DLG_IMG_MESSAGE_INFO, INN_DLG_IMG_MESSAGE_WARNING
 
Fields inherited from class org.eclipse.swt.widgets.Control
handle
 
Constructor Summary
TitileAreaDialogComposite(org.eclipse.swt.widgets.Composite parent, int style)
           
 
Method Summary
protected  org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
           
 void setErrorMessage(java.lang.String newErrorMessage)
          Display the given error message.
 void setMessage(java.lang.String newMessage)
           
 void setMessage(java.lang.String newMessage, int newType)
          Sets the message for this dialog with an indication of what type of message it is.
 void setTitle(java.lang.String newTitle)
          Sets the title to be shown in the title area of this dialog.
 void setTitleImage(org.eclipse.swt.graphics.Image newTitleImage)
          Sets the title image to be shown in the title area of this dialog.
 
Methods inherited from class com.ibm.btt.rcp.wizard.DialogComposite
applyDialogFont, buttonPressed, convertHorizontalDLUsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertVerticalDLUsToPixels, createButton, createButtonBar, createButtonsForButtonBar, createDialogArea, dialogFontIsDefault, getButton, getButtonBar, getDialogArea, initializeDialogUnits, setButtonLayoutData
 
Methods inherited from class org.eclipse.swt.widgets.Composite
changed, checkSubclass, computeSize, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
 
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getClientArea, getHorizontalBar, getVerticalBar
 
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addDragDetectListener, addFocusListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getRegion, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setRegion, setSize, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
 
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DLG_IMG_TITLE_ERROR

public static final java.lang.String DLG_IMG_TITLE_ERROR
Image registry key for error message image.

See Also:
Constant Field Values

DLG_IMG_TITLE_BANNER

public static final java.lang.String DLG_IMG_TITLE_BANNER
Image registry key for banner image (value "dialog_title_banner_image").

See Also:
Constant Field Values

titleAreaColor

org.eclipse.swt.graphics.Color titleAreaColor
Constructor Detail

TitileAreaDialogComposite

public TitileAreaDialogComposite(org.eclipse.swt.widgets.Composite parent,
                                 int style)
Method Detail

createContents

protected org.eclipse.swt.widgets.Control createContents(org.eclipse.swt.widgets.Composite parent)
Overrides:
createContents in class DialogComposite

setMessage

public void setMessage(java.lang.String newMessage,
                       int newType)
Sets the message for this dialog with an indication of what type of message it is.

The valid message types are one of NONE, INFORMATION,WARNING, or ERROR.

Note that for backward compatibility, a message of type ERROR is different than an error message (set using setErrorMessage). An error message overrides the current message until the error message is cleared. This method replaces the current message and does not affect the error message.

Parameters:
newMessage - the message, or null to clear the message
newType - the message type
Since:
2.0

setMessage

public void setMessage(java.lang.String newMessage)

setErrorMessage

public void setErrorMessage(java.lang.String newErrorMessage)
Display the given error message. The currently displayed message is saved and will be redisplayed when the error message is set to null.

Parameters:
newErrorMessage - the newErrorMessage to display or null

setTitleImage

public void setTitleImage(org.eclipse.swt.graphics.Image newTitleImage)
Sets the title image to be shown in the title area of this dialog.

Parameters:
newTitleImage - the title image to be shown

setTitle

public void setTitle(java.lang.String newTitle)
Sets the title to be shown in the title area of this dialog.

Parameters:
newTitle - the title show

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011