|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sofya.ed.structural.EventDispatcherConfiguration
public class EventDispatcherConfiguration
An event dispatcher configuration stores global configuration parameters and resources that may be required by various components attached to an event dispatcher.
Constructor Summary | |
---|---|
EventDispatcherConfiguration()
Creates a new event dispatcher configuration set to defaults. |
Method Summary | |
---|---|
void |
clear()
Resets this configuration to defaults. |
java.io.PrintStream |
getStandardError()
Gets the output stream to which standard error outputs will be printed. |
java.io.PrintStream |
getStandardOutput()
Gets the output stream to which standard outputs will be printed. |
java.io.PrintStream |
getSubjectOutput()
Gets the output stream to which subject outputs will be printed. |
boolean |
isSubjectDispatcher()
Reports whether the subject program is itself an event dispatcher. |
void |
setStandardError(java.io.PrintStream stderr)
Sets the output stream to which standard error outputs will be printed. |
void |
setStandardOutput(java.io.PrintStream stdout)
Sets the output stream to which standard outputs will be printed. |
void |
setSubjectIsDispatcher(boolean status)
Specifies whether the subject program is itself an event dispatcher. |
void |
setSubjectOutput(java.io.PrintStream sbjout)
Sets the output stream to which subject outputs will be printed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EventDispatcherConfiguration()
Method Detail |
---|
public void clear()
public java.io.PrintStream getStandardOutput()
public void setStandardOutput(java.io.PrintStream stdout)
stdout
- The output stream on which standard outputs produced
by the event dispatcher and any registered components should be
printed.public java.io.PrintStream getStandardError()
public void setStandardError(java.io.PrintStream stderr)
stderr
- The output stream on which standard error outputs produced
by the event dispatcher and any registered components should be
printed.public java.io.PrintStream getSubjectOutput()
public void setSubjectOutput(java.io.PrintStream sbjout)
sbjout
- The output stream on which outputs produced
by the subject program should be printed.public boolean isSubjectDispatcher()
true
if the subject program has been identified
as being an event dispatcher.public void setSubjectIsDispatcher(boolean status)
status
- true
to indicate that the subject program
is itself an event dispatcher, false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |