|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgcs.GcsMessageFactory
public abstract class GcsMessageFactory
Using an GcsMessageFactory object, a number of the same messages as one given
by the argument of the constructor or with setDefault(GcsMessage)
can be produced. To create new message createMessage() should be
called.
| Constructor Summary | |
|---|---|
protected |
GcsMessageFactory(GcsMessage message)
Constructor. |
| Method Summary | |
|---|---|
abstract GcsMessage |
createMessage()
Creates new message, a copy of the default message. |
abstract void |
setDefault(GcsMessage message)
Sets the new default message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected GcsMessageFactory(GcsMessage message)
createMessage() is called. The default message can be
changed with setDefault(GcsMessage).
message - | Method Detail |
|---|
public abstract GcsMessage createMessage()
public abstract void setDefault(GcsMessage message)
message - the new default message
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||