|
|||||||||
| Home >> All >> org >> [ gui4j overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.gui4j
Interface Gui4j

- public interface Gui4j
| Method Summary | |
Gui4jDialog |
createDialog(Gui4jWindow owner,
java.lang.String viewResourceName,
Gui4jController gui4jController,
java.lang.String title,
boolean readOnlyMode)
|
Gui4jValidator |
createValidator()
Creates an instance of Gui4jValidator to validate xml files |
Gui4jView |
createView(java.lang.String viewResourceName,
Gui4jController gui4jController,
java.lang.String title,
boolean readOnlyMode)
|
java.util.Set |
getViewCollector()
Returns the set of active (open) views. |
void |
handleException(Gui4jCallBase gui4jCallBase,
java.lang.Throwable t,
java.lang.Object context)
Is called for all exceptions occuring during execution of methods. |
void |
handleSuccess(Gui4jCallBase gui4jCallBase,
java.lang.Object context)
Is called after the setter of an edit field returns without raising an exception. |
void |
setErrorHandler(org.gui4j.exception.Gui4jErrorHandler errorHandler)
Sets the errorHandler. |
void |
setTraceWorkerInvocation(boolean b)
Defines if the call stack of invokers of WorkerThreads should always be saved so that it can be printed together with the thread's own stack trace in case of an internal error. This feature is recommended only for debugging purposes since the negative performance impact of creating a call stack (i.e. |
void |
writeDTD(java.io.File outputFile)
Writes the DTD to the specified file |
| Method Detail |
handleException
public void handleException(Gui4jCallBase gui4jCallBase, java.lang.Throwable t, java.lang.Object context)
- Is called for all exceptions occuring during execution of methods. If the
given Controller (Gui4jCallBase) defines a suitable error handler, that
error handler is called. Otherwise an internal error is raisen.
handleSuccess
public void handleSuccess(Gui4jCallBase gui4jCallBase, java.lang.Object context)
- Is called after the setter of an edit field returns without raising an
exception. If the given Controller (Gui4jCallBase) implements a suitable
method, that method is called, otherwise, nothing happens.
createView
public Gui4jView createView(java.lang.String viewResourceName, Gui4jController gui4jController, java.lang.String title, boolean readOnlyMode)
createDialog
public Gui4jDialog createDialog(Gui4jWindow owner, java.lang.String viewResourceName, Gui4jController gui4jController, java.lang.String title, boolean readOnlyMode)
getViewCollector
public java.util.Set getViewCollector()
- Returns the set of active (open) views.
setTraceWorkerInvocation
public void setTraceWorkerInvocation(boolean b)
- Defines if the call stack of invokers of WorkerThreads should
always be saved so that it can be printed together with the
thread's own stack trace in case of an internal error.
This feature is recommended only for debugging purposes since the negative performance impact of creating a call stack (i.e. instance of Throwable) for each invocation of a WorkerThread has not been measured.
setErrorHandler
public void setErrorHandler(org.gui4j.exception.Gui4jErrorHandler errorHandler)
- Sets the errorHandler.
writeDTD
public void writeDTD(java.io.File outputFile) throws org.gui4j.exception.Gui4jException
- Writes the DTD to the specified file
createValidator
public Gui4jValidator createValidator()
- Creates an instance of Gui4jValidator to validate xml files
|
|||||||||
| Home >> All >> org >> [ gui4j overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC