Klasse FxLogPane

Alle implementierten Schnittstellen:
Styleable, EventTarget

public class FxLogPane extends BorderPane
FxLogPane is a custom JavaFX component that provides a log viewer with filtering and search capabilities. It extends BorderPane and consists of a TableView for displaying log entries and a TextArea for showing details of the selected log entry. The log entries can be filtered by log level, logger name, and message content. Additionally, it supports text search within the log messages.
  • Konstruktordetails

    • FxLogPane

      public FxLogPane()
      Construct a new FxLogPane instance with default buffer capacity.
    • FxLogPane

      public FxLogPane(int bufferSize)
      Construct a new FxLogPane instance with the given buffer capacity.
      Parameter:
      bufferSize - the buffer size
    • FxLogPane

      public FxLogPane(com.dua3.utility.logging.LogBuffer logBuffer)
      Construct a new FxLogPane instance with the given buffer.
      Parameter:
      logBuffer - the logBuffer to use
      Löst aus:
      NullPointerException - if logBuffer is null
    • FxLogPane

      public FxLogPane(com.dua3.utility.logging.LogBuffer logBuffer, Function<? super com.dua3.utility.logging.LogEntry,com.dua3.utility.data.Color> colorize)
      Constructs a new FxLogPane instance with the given LogBuffer and colorize function.
      Parameter:
      logBuffer - the LogBuffer to use for storing log entries
      colorize - the function used to determine the color of log entries
      Löst aus:
      NullPointerException - if logBuffer or colorize is null
  • Methodendetails

    • getLogBuffer

      public com.dua3.utility.logging.LogBuffer getLogBuffer()
      Retrieves the LogBuffer associated with this FxLogPane instance.
      Gibt zurück:
      the LogBuffer object