planetj.common
Class CMMessage

java.lang.Object
  |
  +--planetj.common.CMMessage

public class CMMessage
extends Object

This type was created in VisualAge.


Field Summary
static char CONFIRMATION
           
static char FATAL
           
static char INFO
           
static char WARNING
           
 
Constructor Summary
CMMessage()
          CMException constructor comment.
CMMessage(String key)
          CMException constructor comment.
CMMessage(String key, char type)
          CMException constructor comment.
CMMessage(String key, char type, Object[] vars)
          CMException constructor comment.
CMMessage(String key, char type, String parm1)
          CMException constructor comment.
CMMessage(String key, char type, String parm1, String parm2)
          CMException constructor comment.
CMMessage(String key, char type, String parm1, String parm2, String parm3)
          CMException constructor comment.
CMMessage(String key, Object[] vars)
          CMException constructor comment.
CMMessage(String key, String parm1)
          CMException constructor comment.
CMMessage(String key, String parm1, String parm2)
          CMException constructor comment.
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener listener)
          The addPropertyChangeListener method was generated to support the propertyChange field.
 void firePropertyChange(String propertyName, Object oldValue, Object newValue)
          The firePropertyChange method was generated to support the propertyChange field.
 boolean getConfirmation()
          Gets the confirmation property (boolean) value.
 String getDetailedMessage()
          Gets the detailedMessage property (java.lang.String) value.
 String getExceptionKey()
          Gets the exceptionKey property (java.lang.String) value.
 String getMessage()
          Gets the message property (java.lang.String) value.
 String getTitle()
          Gets the message property (java.lang.String) value.
 char getType()
          Gets the type property (char) value.
 boolean isConfirmationMessage()
          Gets the confirmation property (boolean) value, returns true if this is to be a confirmation
 boolean isNotConfirmationMessage()
          Gets the confirmation property (boolean) value, returns true if this is to be a confirmation
 void removePropertyChangeListener(PropertyChangeListener listener)
          The removePropertyChangeListener method was generated to support the propertyChange field.
 void returnConfirmation(boolean bool)
          tells the thing that requested the confirmation whether user pressed ok (true), or cancel (false)
 void setConfirmation(boolean confirmation)
          Sets the confirmation property (boolean) value.
 void setDetailedMessage(String detailedMessage)
          Sets the detailedMessage property (java.lang.String) value.
 void setExceptionKey(String exceptionKey)
          Sets the exceptionKey property (java.lang.String) value.
 void setMessage(String message)
          Sets the message property (java.lang.String) value.
 void setType(char type)
          Sets the type property (char) value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INFO

public static final char INFO
See Also:
Constant Field Values

WARNING

public static final char WARNING
See Also:
Constant Field Values

FATAL

public static final char FATAL
See Also:
Constant Field Values

CONFIRMATION

public static final char CONFIRMATION
See Also:
Constant Field Values
Constructor Detail

CMMessage

public CMMessage()
CMException constructor comment.


CMMessage

public CMMessage(String key)
CMException constructor comment.


CMMessage

public CMMessage(String key,
                 Object[] vars)
CMException constructor comment.

Parameters:
key - java.lang.String

CMMessage

public CMMessage(String key,
                 char type)
CMException constructor comment.


CMMessage

public CMMessage(String key,
                 char type,
                 Object[] vars)
CMException constructor comment.

Parameters:
key - java.lang.String

CMMessage

public CMMessage(String key,
                 char type,
                 String parm1)
CMException constructor comment.


CMMessage

public CMMessage(String key,
                 char type,
                 String parm1,
                 String parm2)
CMException constructor comment.


CMMessage

public CMMessage(String key,
                 char type,
                 String parm1,
                 String parm2,
                 String parm3)
CMException constructor comment.


CMMessage

public CMMessage(String key,
                 String parm1)
CMException constructor comment.


CMMessage

public CMMessage(String key,
                 String parm1,
                 String parm2)
CMException constructor comment.

Method Detail

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener listener)
The addPropertyChangeListener method was generated to support the propertyChange field.


firePropertyChange

public void firePropertyChange(String propertyName,
                               Object oldValue,
                               Object newValue)
The firePropertyChange method was generated to support the propertyChange field.


getConfirmation

public boolean getConfirmation()
Gets the confirmation property (boolean) value.

Returns:
The confirmation property value.
See Also:
setConfirmation(boolean)

getDetailedMessage

public String getDetailedMessage()
Gets the detailedMessage property (java.lang.String) value.

Returns:
The detailedMessage property value.
See Also:
setDetailedMessage(java.lang.String)

getExceptionKey

public String getExceptionKey()
Gets the exceptionKey property (java.lang.String) value.

Returns:
The exceptionKey property value.
See Also:
setExceptionKey(java.lang.String)

getMessage

public String getMessage()
Gets the message property (java.lang.String) value.

Returns:
The message property value.
See Also:
setMessage(java.lang.String)

getTitle

public String getTitle()
Gets the message property (java.lang.String) value.

Returns:
The message property value.
See Also:
setMessage(java.lang.String)

getType

public char getType()
Gets the type property (char) value.

Returns:
The type property value.
See Also:
setType(char)

isConfirmationMessage

public boolean isConfirmationMessage()
Gets the confirmation property (boolean) value, returns true if this is to be a confirmation


isNotConfirmationMessage

public boolean isNotConfirmationMessage()
Gets the confirmation property (boolean) value, returns true if this is to be a confirmation


removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener listener)
The removePropertyChangeListener method was generated to support the propertyChange field.


returnConfirmation

public void returnConfirmation(boolean bool)
tells the thing that requested the confirmation whether user pressed ok (true), or cancel (false)


setConfirmation

public void setConfirmation(boolean confirmation)
Sets the confirmation property (boolean) value.

Parameters:
confirmation - The new value for the property.
See Also:
getConfirmation()

setDetailedMessage

public void setDetailedMessage(String detailedMessage)
Sets the detailedMessage property (java.lang.String) value.

Parameters:
detailedMessage - The new value for the property.
See Also:
getDetailedMessage()

setExceptionKey

public void setExceptionKey(String exceptionKey)
Sets the exceptionKey property (java.lang.String) value.

Parameters:
exceptionKey - The new value for the property.
See Also:
getExceptionKey()

setMessage

public void setMessage(String message)
Sets the message property (java.lang.String) value.

Parameters:
message - The new value for the property.
See Also:
getMessage()

setType

public void setType(char type)
Sets the type property (char) value.

Parameters:
type - The new value for the property.
See Also:
getType()