|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sri.emo.wizard.defaults.Log4jWizMonitor
public class Log4jWizMonitor
Default implementation that logs to Log4j Logger when the various events are invoked.
Constructor Summary | |
---|---|
Log4jWizMonitor()
|
Method Summary | |
---|---|
boolean |
equals(Object parm1)
Override of equals. |
int |
hashCode()
Since all log4j wizard monitors are equal, hash the class. |
void |
onBack(WizardPage src)
Logs with debug priority the source event toString(). |
void |
onCancel(WizardPage src)
Logs with info priority the source event toString(). |
void |
onEnterPage(WizardPage src)
Logs with debug priority the source event toString(). |
void |
onError(WizardPage src,
Throwable error)
Logs with error priority the source event toString() and the exception. |
void |
onFinish(WizardPage src)
Logs with debug priority the source event toString(). |
void |
onForward(WizardPage src)
Logs with debug priority the source event toString(). |
void |
readExternal(ObjectInput in)
Nothing to read. |
String |
toString()
Override of toString(); |
void |
writeExternal(ObjectOutput out)
Nothing to write. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Log4jWizMonitor()
Method Detail |
---|
public void onEnterPage(WizardPage src)
Debugging event for when a page is fired.
onEnterPage
in interface WizardMonitor
src
- the Wizard Page that is the source of the event.public void onForward(WizardPage src)
Fired when forward id pressed on a wizard page.
onForward
in interface WizardMonitor
src
- the Wizard Page that is the source of the event.public void onBack(WizardPage src)
Fired when back id is pressed on a wizard page.
onBack
in interface WizardMonitor
src
- the Wizard Page that is the source of the event.public void onFinish(WizardPage src)
Fired when the finish button is pressed on a wizard page.
onFinish
in interface WizardMonitor
src
- the Wizard Page that is the source of the event.public void onCancel(WizardPage src)
Fired when the cancel button is pressed on a wizard page.
onCancel
in interface WizardMonitor
src
- the Wizard Page that is the source of the event.public void onError(WizardPage src, Throwable error)
Fired when an error occurs while processing the wizard page.
onError
in interface WizardMonitor
src
- the Wizard Page that is the source of the event.error
- the Exception thrown while processing the wizard.public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
out
- the object output stream.
IOException
- upon error.public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
in
- the object input stream.
IOException
- when the class cannot be read from the stream.
ClassNotFoundException
- when the class cannot be found.public boolean equals(Object parm1)
equals
in class Object
parm1
- the other object.
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |