Class REPLPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class REPLPanel extends JPanel
Panel presenting a general purpose REPL terminal
See Also:
  • Field Details

    • input

      protected final CodePane input
    • output

      protected final CodePane output
    • inputScrollPane

      protected final JScrollPane inputScrollPane
    • outputScrollPane

      protected final JScrollPane outputScrollPane
  • Constructor Details

    • REPLPanel

      public REPLPanel(Convex convex)
      Create the panel.
      Parameters:
      convex - Convex connection instance
  • Method Details

    • setInput

      public void setInput(String s)
    • setVisible

      public void setVisible(boolean value)
      Overrides:
      setVisible in class JComponent
    • handleResult

      protected void handleResult(long start, Result r)
    • showResultValue

      protected void showResultValue(ACell m)
    • handleError

      protected void handleError(ACell code, ACell msg, AVector<AString> trace)
    • getKeyPair

      protected AKeyPair getKeyPair()
    • getAddress

      protected Address getAddress()
    • updateHighlight

      protected void updateHighlight()
    • updateHighlight

      protected void updateHighlight(BaseTextPane pane, int start, int end)
    • scrollHistory

      public void scrollHistory(int scroll)