All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.ibm.aglets.util.MessagePanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----com.ibm.aglets.util.MessagePanel

public class MessagePanel
extends Panel
The MessagePanel class is a common and generic dialog to display the messages


Variable Index

 o lineSeparator
Line separator constants
 o lineSeparatorChar

Constructor Index

 o MessagePanel(String, boolean)
 o MessagePanel(String, int, boolean)

Method Index

 o paint(Graphics)
 o setAlignment(int)
Sets aligment
 o setMessage(String)
Sets message string to be shown

Variables

 o lineSeparator
 public static final String lineSeparator
Line separator constants

 o lineSeparatorChar
 public static final char lineSeparatorChar

Constructors

 o MessagePanel
 public MessagePanel(String message,
                     boolean raised)
 o MessagePanel
 public MessagePanel(String message,
                     int alignment,
                     boolean raised)

Methods

 o setMessage
 public void setMessage(String message)
Sets message string to be shown

Parameters:
message - the message
 o setAlignment
 public void setAlignment(int alignment)
Sets aligment

 o paint
 public void paint(Graphics g)
Overrides:
paint in class Container

All Packages  Class Hierarchy  This Package  Previous  Next  Index