qx.log.appender
Class HtmlElement

java.lang.Object
  extended by qx.core.Object
      extended by qx.log.LogEventProcessor
          extended by qx.log.appender.Abstract
              extended by qx.log.appender.HtmlElement

public class HtmlElement
extends Abstract

An appender that writes all messages to an HTML element.

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
HtmlElement()
           
 
Method Summary
 void _applyElement(java.lang.Object value, java.lang.Object old)
          Applies changes of the property value of the property element.
 void _prepare()
           
 void appendLogEvent(java.lang.Object evt)
          Appends a log event to the log.
 void clear()
           
 java.lang.Object getElement()
          Returns the (computed) value of the property element.
 java.lang.Integer getMaxMessages()
          Returns the (computed) value of the property maxMessages.
 void initElement(java.lang.Object arg)
          Calls the apply method and dispatches the change event of the property element 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 resetElement()
          Resets the user value of the property element.
 void resetMaxMessages()
          Resets the user value of the property maxMessages.
 void setElement(java.lang.Object arg)
          Sets the user value of the property element.
 void setMaxMessages(java.lang.Integer arg)
          Sets the user value of the property maxMessages.
 
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

HtmlElement

public HtmlElement()
Method Detail

_applyElement

public void _applyElement(java.lang.Object value,
                          java.lang.Object old)

Applies changes of the property value of the property element.

For further details take a look at the property definition: _applyElement(java.lang.Object, java.lang.Object).


_prepare

public void _prepare()

appendLogEvent

public void appendLogEvent(java.lang.Object evt)
Description copied from class: Abstract

Appends a log event to the log.

Overrides:
appendLogEvent in class Abstract

clear

public void clear()

getElement

public java.lang.Object getElement()

Returns the (computed) value of the property element.

For further details take a look at the property definition: element.


getMaxMessages

public java.lang.Integer getMaxMessages()

Returns the (computed) value of the property maxMessages.

For further details take a look at the property definition: maxMessages.


initElement

public void initElement(java.lang.Object arg)

Calls the apply method and dispatches the change event of the property element 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: element.


initMaxMessages

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.


resetElement

public void resetElement()

Resets the user value of the property element.

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: element.


resetMaxMessages

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.


setElement

public void setElement(java.lang.Object arg)

Sets the user value of the property element.

For further details take a look at the property definition: element.


setMaxMessages

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.



Copyright © 2008 1&1. All Rights Reserved.