Class QuicklinkPanel

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, EventListener, Accessible, HyperlinkListener, Scrollable
Direct Known Subclasses:
QuicklinkPanel.Bundle, QuicklinkPanel.Control, QuicklinkPanel.FileHistory, QuicklinkPanel.Html

public abstract class QuicklinkPanel extends JEditorPane implements HyperlinkListener
Class MyEditorPane shows the html listing
Version:
$Revision: 1.8 $
Author:
IDV Development Team
See Also:
  • Field Details

    • showMap

      protected Hashtable showMap
      _more_
  • Constructor Details

  • Method Details

    • updateQuicklinks

      public static void updateQuicklinks()
      Update all of the quicklinks
    • updateQuicklinks

      public static void updateQuicklinks(List panels)
      Update all of the quicklink panels in the list
      Parameters:
      panels - panels
    • updateHistoryLinks

      public static void updateHistoryLinks()
      Update the history html display
    • createQuicklinksFromResources

      public static JComponent createQuicklinksFromResources(IntegratedDataViewer idv)
      Create the quicklinks panel from the resource definitions
      Parameters:
      idv - the idv
      Returns:
      the panel
    • getName

      public String getName()
      get the name
      Overrides:
      getName in class Component
      Returns:
      name
    • getIdv

      public IntegratedDataViewer getIdv()
      get idv
      Returns:
      idv
    • getContents

      public JComponent getContents()
      Get the gui contents
      Returns:
      gui
    • logException

      public void logException(String msg, Exception exc)
      log error
      Parameters:
      msg - message
      exc - exception
    • showWaitCursor

      public void showWaitCursor()
      show wait cursor
    • showNormalCursor

      public void showNormalCursor()
      show regular cursor
    • getScroller

      protected JScrollPane getScroller()
      make a scroller
      Returns:
      scroller
    • doUpdate

      public void doUpdate()
      update the html
    • registerObject

      protected String registerObject(Object object, String command)
      Register the object
      Parameters:
      object - object_
      command - what to do_
      Returns:
      string to put into html
    • getMouseOverString

      protected String getMouseOverString(String id)
      Get the label to be used when mousing over a link
      Parameters:
      id - link id
      Returns:
      label
    • hyperlinkUpdate

      public void hyperlinkUpdate(HyperlinkEvent e)
      handle event
      Specified by:
      hyperlinkUpdate in interface HyperlinkListener
      Parameters:
      e - event
    • getHeader

      protected String getHeader(String header)
      _more_
      Parameters:
      header - _more_
      Returns:
      _more_
    • isOpen

      protected boolean isOpen(String cat)
      _more_
      Parameters:
      cat - _more_
      Returns:
      _more_
    • handleHyperLink

      protected void handleHyperLink(String id)
      Handle a hyperlinke
      Parameters:
      id - the hyperlink ID
    • getHtml

      protected abstract String getHtml()
      Create the html to display
      Returns:
      the html
    • objectClicked

      public abstract void objectClicked(String command, Object object)
      user clicked on something
      Parameters:
      command - command
      object - object