net.quartzware
Class Message
java.lang.Object
|
+--net.quartzware.Value
|
+--net.quartzware.Message
- All Implemented Interfaces:
- java.lang.Cloneable
- public class Message
- extends Value
Message
Encapsulates the data and function of an internationalization 'Message'
Constructor Summary |
Message()
Constructs a Message with a default value
PRE: none
POST: This class is created |
Message(java.lang.String msg)
Constructs this Message using the given String which is a properly
formated message |
Method Summary |
java.lang.Object |
clone()
|
boolean |
editValue()
creates a new MessageDlg so user can edit the message
PRE: none
POST: new MessageDlg is created |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Message
public Message(java.lang.String msg)
- Constructs this Message using the given String which is a properly
formated message
- Parameters:
msg
- the message to use to construct this Message
PRE: msg is not null
POST: This class is created
Message
public Message()
- Constructs a Message with a default value
PRE: none
POST: This class is created
editValue
public boolean editValue()
- creates a new MessageDlg so user can edit the message
PRE: none
POST: new MessageDlg is created
- Overrides:
editValue
in class Value
- Following copied from class:
net.quartzware.Value
- Returns:
- Whether to do in label editing of this value
PRE: The entry that this Value is a part of must be in an open Edior
Window
POST: This value may be modified.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
clone
public java.lang.Object clone()