Class MultiFormatPane

All Implemented Interfaces:
ImageObserver, MenuContainer, Printable, Serializable, Accessible

public class MultiFormatPane extends JPanel implements Printable
A panel to display files which may be linked together by hyperlinks. This panel can also display a list of local files. The type of the file to be shown is identified if possible and the display panel put into the right mode to show an image, rendered HTML, etc. If the file is not known, the user may be prompted to display the file as raw text.
See Also:
  • Field Details

  • Constructor Details

    • MultiFormatPane

      public MultiFormatPane(UIFactory uif)
  • Method Details

    • setNoteField

      public void setNoteField(JTextField noteField)
    • setNavigationPane

      public void setNavigationPane(NavigationPane navPane)
    • addMediaPane

      public void addMediaPane(int mode, MultiFormatPane.MediaPane pane)
    • getMediaPane

      public MultiFormatPane.MediaPane getMediaPane(int mode)
    • clear

      public void clear()
    • getPage

      public URL getPage()
    • getCurrentMode

      public int getCurrentMode()
    • getCurrentPane

      public MultiFormatPane.MediaPane getCurrentPane()
    • loadPage

      public void loadPage(URL url)
    • showText

      public void showText(String text, String MIME)
    • showText

      public void showText(URL url)
    • showAudio

      public void showAudio(URL url)
    • stopAudio

      public void stopAudio()
    • showImage

      public void showImage(URL url)
    • showError

      public void showError(String errorMessage)
    • print

      public int print(Graphics g, PageFormat pf, int pageIndex)
      Specified by:
      print in interface Printable