OracleJavaScript API Reference for Oracle ADF Faces

 

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

oracle.adf.view.js.logging
Class AdfStatusLogWriter

org.ecmascript.object.Object
   |
   +--oracle.adf.view.js.base.AdfObject
         |
         +--oracle.adf.view.js.logging.AdfLogWriter
               |
               +--oracle.adf.view.js.logging.AdfStatusLogWriter

public class AdfStatusLogWriter
extends AdfLogWriter
AdfLogWriter subclass that writes the logged messages to the window's status bar. This is handy for logging in cases where we want to minimize interference with the displayed page (when testing drag and drop for example), and no native LogWriter is available. The main limitations of the AdfStatusLogWriter are:
  1. The status bar might not be visible by default on the target platform
  2. The available space for messages is limited


Field Summary


Fields inherited from oracle.adf.view.js.base.AdfObject

constructor, superclass

Fields inherited from org.ecmascript.object.Object

prototype

Constructor Summary

public
AdfStatusLogWriter()
AdfLogWriter subclass that writes the logged messages to the window's status bar.

Method Summary

protected Object
PublishImpl(Object logRecord)
Write the record to the top window's status bar

Methods inherited from oracle.adf.view.js.logging.AdfLogWriter

CheckIfClosed, close, flush, FormatError, FormatLevel, FormatLogRecord, FormatMessage, FormatWhen, getFilter, Init, publish, setFilter

Methods inherited from oracle.adf.view.js.base.AdfObject

adopt, clone, createCallback, createInitializedObject, createSubclass, ensureClassInitialization, equals, exportPrototypeSymbol, getClass, GetLazyArrayProperty, GetLazyMapProperty, getTypeName, toDebugString, toString

Field Detail


Constructor Detail


AdfStatusLogWriter

public AdfStatusLogWriter()

AdfLogWriter subclass that writes the logged messages to the window's status bar. This is handy for logging in cases where we want to minimize interference with the displayed page (when testing drag and drop for example), and no native LogWriter is available. The main limitations of the AdfStatusLogWriter are:
  1. The status bar might not be visible by default on the target platform
  2. The available space for messages is limited

Method Detail


PublishImpl

protected Object PublishImpl(Object logRecord)

Write the record to the top window's status bar

Parameters:
logRecord  
Return:
Object
Overrides:
AdfLogWriter.PublishImpl(Object)

SUMMARY: FIELD | CONSTR | METHOD    DETAIL: FIELD | CONSTR | METHOD

 

Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.