Class AbstractExplorer

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, RootPaneContainer, WindowConstants

public abstract class AbstractExplorer extends JFrame
An abstract Swing JFrame to support exploration of HiSrc libraries. This class provides JPanes to:
  1. Display HTML documentation.
  2. Organize output streams.
Author:
Rick O'Sullivan
See Also:
  • Field Details

    • CONSOLE_FONT_POINTS

      protected static String CONSOLE_FONT_POINTS
    • DEFAULT_CONSOLE_FONT_POINTS

      protected static String DEFAULT_CONSOLE_FONT_POINTS
    • WINDOW_LEFT

      protected static String WINDOW_LEFT
    • WINDOW_TOP

      protected static String WINDOW_TOP
    • WINDOW_WIDTH

      protected static String WINDOW_WIDTH
    • WINDOW_HEIGHT

      protected static String WINDOW_HEIGHT
    • DEFAULT_WINDOW_LEFT

      protected static String DEFAULT_WINDOW_LEFT
    • DEFAULT_WINDOW_TOP

      protected static String DEFAULT_WINDOW_TOP
    • DEFAULT_WINDOW_WIDTH

      protected static String DEFAULT_WINDOW_WIDTH
    • DEFAULT_WINDOW_HEIGHT

      protected static String DEFAULT_WINDOW_HEIGHT
    • CONFIG_EXPLORE_PANE_WEIGHT

      protected static double CONFIG_EXPLORE_PANE_WEIGHT
    • CONFIG_STREAM_PANE_WEIGHT

      protected static double CONFIG_STREAM_PANE_WEIGHT
    • CONFIG_CHARSET

      protected static Charset CONFIG_CHARSET
    • OILPATH

      protected static final String OILPATH
      See Also:
  • Constructor Details

    • AbstractExplorer

      public AbstractExplorer(String htmlName)
      Construct application
  • Method Details

    • getStreamPane

      public JSplitPane getStreamPane()
    • setStreamPane

      public void setStreamPane(JSplitPane streamPane)
    • getLessonPane

      public JSplitPane getLessonPane()
    • setLessonPane

      public void setLessonPane(JSplitPane lessonPane)
    • getToolBar

      public JToolBar getToolBar()
    • setToolBar

      public void setToolBar(JToolBar toolBar)
    • getHtmlPane

      public HtmlPane getHtmlPane()
    • printStackTrace

      protected static void printStackTrace(Throwable ex)
    • getConsoleWriter

      public ConsoleWriter getConsoleWriter()
    • setConsoleWriter

      public void setConsoleWriter(ConsoleWriter consoleWriter)
    • getErrorWriter

      public ConsoleWriter getErrorWriter()
    • setErrorWriter

      public void setErrorWriter(ConsoleWriter errorWriter)
    • getPrintStream

      public PrintStream getPrintStream()
    • setPrintStream

      public void setPrintStream(PrintStream printStream)
    • getErrorStream

      public PrintStream getErrorStream()
    • setErrorStream

      public void setErrorStream(PrintStream errorStream)
    • println

      public void println()
    • println

      public void println(Object obj)
    • println

      public void println(Object[] objs)
    • errorln

      public void errorln(Object obj)
    • errorln

      public void errorln(Exception ex)
    • errorDialog

      public void errorDialog(String title, Exception ex)
    • sleep

      public void sleep(long millis)
    • ns

      public String ns(long nt1, long nt2)
    • getResourceAsString

      public String getResourceAsString(Class<?> clazz, String resourceName)
    • dispatchHyperLink

      public void dispatchHyperLink(String hyperLink)
      Dispatch hyperlink to local method invocation. Sub-class should override this method when local links are used. The markdown for hyperlinks is declared like this: [description](!hyperLink)
    • createImageIcon

      protected ImageIcon createImageIcon(Class<?> clazz, String path)
    • createImageButton

      protected JButton createImageButton(Class<?> clazz, String path)
    • createImageToggleButton

      protected JToggleButton createImageToggleButton(Class<?> clazz, String iconPath1, String iconPath2)