PageRenderTime 40ms CodeModel.GetById 14ms RepoModel.GetById 0ms app.codeStats 0ms

/jEdit/tags/jedit-4-3-pre5/org/gjt/sp/jedit/help/HelpViewerInterface.java

#
Java | 40 lines | 14 code | 7 blank | 19 comment | 0 complexity | 8fd08021102a7766dc9ce25ca1c0ae6f MD5 | raw file
Possible License(s): BSD-3-Clause, AGPL-1.0, Apache-2.0, LGPL-2.0, LGPL-3.0, GPL-2.0, CC-BY-SA-3.0, LGPL-2.1, GPL-3.0, MPL-2.0-no-copyleft-exception, IPL-1.0
  1. package org.gjt.sp.jedit.help;
  2. import java.awt.Component;
  3. import java.beans.PropertyChangeListener;
  4. /**
  5. * Interface supported by all HelpViewer classes.
  6. * Currently used by @ref infoviewer.InfoViewerPlugin and @ref HelpViewer
  7. *
  8. * @since Jedit 4.2pre5
  9. * @version $Id: HelpViewerInterface.java 5417 2006-05-19 22:33:12Z ezust $
  10. */
  11. public interface HelpViewerInterface
  12. {
  13. /**
  14. *
  15. * @param url
  16. * @param addToHistory
  17. * @param scrollPos desired vertical scrollbar position after we go there
  18. */
  19. public void gotoURL(String url, boolean addToHistory, int scrollPos);
  20. public String getBaseURL();
  21. public void addPropertyChangeListener(PropertyChangeListener l);
  22. /**
  23. * Called when the helpviewer is closed
  24. */
  25. public void dispose();
  26. /**
  27. * @return the root pane of this help viewer
  28. */
  29. public Component getComponent();
  30. public String getShortURL();
  31. public void queueTOCReload();
  32. public void setTitle(String newTitle);
  33. }