Class FXOutputPane

All Implemented Interfaces:
Styleable, EventTarget

public class FXOutputPane extends BorderPane
The `FXOutputPane` class extends the JavaFX BorderPane class to provide a panel that displays an agent's logging activity. This component is the default panel used for the frames created using the default implementation.
See Also:
  • Constructor Details

    • FXOutputPane

      public FXOutputPane(Agent agent)
      Builds the panel for the agent
      Parameters:
      agent - the agent for which this panel is created
  • Method Details

    • getTextArea

      public TextArea getTextArea()
      Returns the text area used to display the agent's logging activity
      Returns:
      the textArea used to display the agent's logging
    • clearOutput

      public void clearOutput()
      Remove all the text contained in the text area
    • setBackground

      public void setBackground(Color bg)
      Sets the background color of the text area
      Parameters:
      bg - the color to set