|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectqx.core.Object
qx.log.LogEventProcessor
qx.log.appender.Abstract
qx.log.appender.Window
public class Window
An appender that writes all messages to a log window.
This class does not depend on qooxdoo widgets, so it also works when there are problems with widgets or when the widgets are not yet initialized.
Constructor Summary | |
---|---|
Window()
|
|
Window(java.lang.String name)
|
Method Summary | |
---|---|
void |
_applyAutoCloseWithErrors(java.lang.Object value,
java.lang.Object old)
|
void |
_autoCloseWindow()
Called when the window should be automatically closed (because the page that opened is is unloaded). |
void |
_openWindowCallback()
|
void |
_setDivVisibility(java.lang.Object divDataSet)
|
void |
_showMessageInLog(java.lang.String msg)
Appends a line to the log showing the given text |
void |
appendLogEvent(java.lang.Object evt)
Appends a log event to the log. |
void |
closeWindow()
Closes the log window. |
boolean |
getAutoCloseWithErrors()
Returns the (computed) value of the property autoCloseWithErrors . |
java.lang.Integer |
getMaxMessages()
Returns the (computed) value of the property maxMessages . |
boolean |
getPopUnder()
Returns the (computed) value of the property popUnder . |
java.lang.Integer |
getWindowHeight()
Returns the (computed) value of the property windowHeight . |
java.lang.Integer |
getWindowLeft()
Returns the (computed) value of the property windowLeft . |
java.lang.Integer |
getWindowTop()
Returns the (computed) value of the property windowTop . |
java.lang.Integer |
getWindowWidth()
Returns the (computed) value of the property windowWidth . |
void |
initAutoCloseWithErrors(boolean arg)
Calls the apply method and dispatches the change event of the property autoCloseWithErrors
with the default value defined by the class developer. |
void |
initMaxMessages(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property maxMessages
with the default value defined by the class developer. |
void |
initPopUnder(boolean arg)
Calls the apply method and dispatches the change event of the property popUnder
with the default value defined by the class developer. |
void |
initWindowHeight(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property windowHeight
with the default value defined by the class developer. |
void |
initWindowLeft(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property windowLeft
with the default value defined by the class developer. |
void |
initWindowTop(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property windowTop
with the default value defined by the class developer. |
void |
initWindowWidth(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property windowWidth
with the default value defined by the class developer. |
boolean |
isAutoCloseWithErrors()
Check whether the (computed) value of the boolean property autoCloseWithErrors equals true . |
boolean |
isPopUnder()
Check whether the (computed) value of the boolean property popUnder equals true . |
void |
openWindow()
Creates and opens the log window if it doesn’t alread exist. |
void |
resetAutoCloseWithErrors()
Resets the user value of the property autoCloseWithErrors . |
void |
resetMaxMessages()
Resets the user value of the property maxMessages . |
void |
resetPopUnder()
Resets the user value of the property popUnder . |
void |
resetWindowHeight()
Resets the user value of the property windowHeight . |
void |
resetWindowLeft()
Resets the user value of the property windowLeft . |
void |
resetWindowTop()
Resets the user value of the property windowTop . |
void |
resetWindowWidth()
Resets the user value of the property windowWidth . |
void |
setAutoCloseWithErrors(boolean arg)
Sets the user value of the property autoCloseWithErrors . |
void |
setFilterText(java.lang.String text)
Sets the filter text to use. |
void |
setMaxMessages(java.lang.Integer arg)
Sets the user value of the property maxMessages . |
void |
setPopUnder(boolean arg)
Sets the user value of the property popUnder . |
void |
setWindowHeight(java.lang.Integer arg)
Sets the user value of the property windowHeight . |
void |
setWindowLeft(java.lang.Integer arg)
Sets the user value of the property windowLeft . |
void |
setWindowTop(java.lang.Integer arg)
Sets the user value of the property windowTop . |
void |
setWindowWidth(java.lang.Integer arg)
Sets the user value of the property windowWidth . |
boolean |
toggleAutoCloseWithErrors()
Toggles the (computed) value of the boolean property autoCloseWithErrors . |
boolean |
togglePopUnder()
Toggles the (computed) value of the boolean property popUnder . |
Methods inherited from class qx.log.appender.Abstract |
---|
formatLogEvent, getUseLongFormat, handleLogEvent, initUseLongFormat, isUseLongFormat, resetUseLongFormat, setUseLongFormat, toggleUseLongFormat |
Methods inherited from class qx.log.LogEventProcessor |
---|
_getDefaultFilter, addFilter, clearFilters, decideLogEvent, getHeadFilter, setEnabled, setMinLevel |
Methods inherited from class qx.core.Object |
---|
_disposeFields, _disposeObjectDeep, _disposeObjects, base, dispose, get, getDisposed, isDisposed, reset, self, set, toHashCode, toString_ |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Window()
public Window(java.lang.String name)
Method Detail |
---|
public void _applyAutoCloseWithErrors(java.lang.Object value, java.lang.Object old)
public void _autoCloseWindow()
Called when the window should be automatically closed (because the page that opened is is unloaded). Will only close the window if the autoClose***-Properties allow it
public void _openWindowCallback()
public void _setDivVisibility(java.lang.Object divDataSet)
public void _showMessageInLog(java.lang.String msg)
Appends a line to the log showing the given text
public void appendLogEvent(java.lang.Object evt)
Abstract
Appends a log event to the log.
appendLogEvent
in class Abstract
public void closeWindow()
Closes the log window.
public boolean getAutoCloseWithErrors()
Returns the (computed) value of the property autoCloseWithErrors
.
For further details take a look at the property definition: autoCloseWithErrors
.
public java.lang.Integer getMaxMessages()
Returns the (computed) value of the property maxMessages
.
For further details take a look at the property definition: maxMessages
.
public boolean getPopUnder()
Returns the (computed) value of the property popUnder
.
For further details take a look at the property definition: popUnder
.
public java.lang.Integer getWindowHeight()
Returns the (computed) value of the property windowHeight
.
For further details take a look at the property definition: windowHeight
.
public java.lang.Integer getWindowLeft()
Returns the (computed) value of the property windowLeft
.
For further details take a look at the property definition: windowLeft
.
public java.lang.Integer getWindowTop()
Returns the (computed) value of the property windowTop
.
For further details take a look at the property definition: windowTop
.
public java.lang.Integer getWindowWidth()
Returns the (computed) value of the property windowWidth
.
For further details take a look at the property definition: windowWidth
.
public void initAutoCloseWithErrors(boolean arg)
Calls the apply method and dispatches the change event of the property autoCloseWithErrors
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: autoCloseWithErrors
.
public void initMaxMessages(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property maxMessages
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: maxMessages
.
public void initPopUnder(boolean arg)
Calls the apply method and dispatches the change event of the property popUnder
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: popUnder
.
public void initWindowHeight(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property windowHeight
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: windowHeight
.
public void initWindowLeft(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property windowLeft
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: windowLeft
.
public void initWindowTop(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property windowTop
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: windowTop
.
public void initWindowWidth(java.lang.Integer arg)
Calls the apply method and dispatches the change event of the property windowWidth
with the default value defined by the class developer. This function can
only be called from the constructor of a class.
For further details take a look at the property definition: windowWidth
.
public boolean isAutoCloseWithErrors()
Check whether the (computed) value of the boolean property autoCloseWithErrors
equals true
.
For further details take a look at the property definition: autoCloseWithErrors
.
public boolean isPopUnder()
Check whether the (computed) value of the boolean property popUnder
equals true
.
For further details take a look at the property definition: popUnder
.
public void openWindow()
Creates and opens the log window if it doesn’t alread exist.
public void resetAutoCloseWithErrors()
Resets the user value of the property autoCloseWithErrors
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: autoCloseWithErrors
.
public void resetMaxMessages()
Resets the user value of the property maxMessages
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: maxMessages
.
public void resetPopUnder()
Resets the user value of the property popUnder
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: popUnder
.
public void resetWindowHeight()
Resets the user value of the property windowHeight
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: windowHeight
.
public void resetWindowLeft()
Resets the user value of the property windowLeft
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: windowLeft
.
public void resetWindowTop()
Resets the user value of the property windowTop
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: windowTop
.
public void resetWindowWidth()
Resets the user value of the property windowWidth
.
The computed value falls back to the next available value e.g. appearance, init or inheritance value depeneding on the property configuration and value availability.
For further details take a look at the property definition: windowWidth
.
public void setAutoCloseWithErrors(boolean arg)
Sets the user value of the property autoCloseWithErrors
.
For further details take a look at the property definition: autoCloseWithErrors
.
public void setFilterText(java.lang.String text)
Sets the filter text to use. Only log events containing all words of the given text will be shown
public void setMaxMessages(java.lang.Integer arg)
Sets the user value of the property maxMessages
.
For further details take a look at the property definition: maxMessages
.
public void setPopUnder(boolean arg)
Sets the user value of the property popUnder
.
For further details take a look at the property definition: popUnder
.
public void setWindowHeight(java.lang.Integer arg)
Sets the user value of the property windowHeight
.
For further details take a look at the property definition: windowHeight
.
public void setWindowLeft(java.lang.Integer arg)
Sets the user value of the property windowLeft
.
For further details take a look at the property definition: windowLeft
.
public void setWindowTop(java.lang.Integer arg)
Sets the user value of the property windowTop
.
For further details take a look at the property definition: windowTop
.
public void setWindowWidth(java.lang.Integer arg)
Sets the user value of the property windowWidth
.
For further details take a look at the property definition: windowWidth
.
public boolean toggleAutoCloseWithErrors()
Toggles the (computed) value of the boolean property autoCloseWithErrors
.
For further details take a look at the property definition: autoCloseWithErrors
.
public boolean togglePopUnder()
Toggles the (computed) value of the boolean property popUnder
.
For further details take a look at the property definition: popUnder
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |