org.apache.log4j.varia
クラス ListModelAppender

java.lang.Object
  上位を拡張 org.apache.log4j.AppenderSkeleton
      上位を拡張 org.apache.log4j.varia.ListModelAppender
すべての実装されたインタフェース:
org.apache.log4j.Appender, org.apache.log4j.spi.OptionHandler

public final class ListModelAppender
extends org.apache.log4j.AppenderSkeleton

A very basic appender that takes the events and stores them in to a ListModel for late retrieval.

作成者:
Paul Smith (psmith@apache.org)

フィールドの概要
 
クラス org.apache.log4j.AppenderSkeleton から継承されたフィールド
closed, errorHandler, headFilter, layout, name, tailFilter, threshold
 
コンストラクタの概要
ListModelAppender()
          Constructs a ListModelAppender.
 
メソッドの概要
protected  void append(org.apache.log4j.spi.LoggingEvent event)
          
 void clearModel()
          Removes all the Events from the model.
 void close()
          
 javax.swing.ListModel getModel()
          Returns a reference to the ListModel that contains all the LoggingEvents that have been appended to this class.
 boolean requiresLayout()
          
 
クラス org.apache.log4j.AppenderSkeleton から継承されたメソッド
activateOptions, addFilter, clearFilters, doAppend, finalize, getErrorHandler, getFilter, getFirstFilter, getLayout, getName, getThreshold, isAsSevereAsThreshold, setErrorHandler, setLayout, setName, setThreshold
 
クラス java.lang.Object から継承されたメソッド
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

ListModelAppender

public ListModelAppender()
Constructs a ListModelAppender.

メソッドの詳細

getModel

public javax.swing.ListModel getModel()
Returns a reference to the ListModel that contains all the LoggingEvents that have been appended to this class.

戻り値:
the list model

append

protected void append(org.apache.log4j.spi.LoggingEvent event)

定義:
クラス org.apache.log4j.AppenderSkeleton 内の append

close

public void close()


clearModel

public void clearModel()
Removes all the Events from the model.


requiresLayout

public boolean requiresLayout()



Copyright © 2010 Apache Software Foundation. All Rights Reserved.