com.lightdev.app.shtm
public abstract class SHTMLPanel extends JPanel
| Method Summary | |
|---|---|
| static SHTMLPanel | createSHTMLPanel() |
| abstract Action | getAction(String actionName) |
| abstract int | getCaretPosition() |
| abstract HTMLDocument | getDocument() |
| abstract String | getDocumentText() |
| abstract JEditorPane | getEditorPane() |
| abstract JMenuBar | getMenuBar() |
| abstract JEditorPane | getMostRecentFocusOwner() |
| static TextResources | getResources() |
| abstract JEditorPane | getSourceEditorPane() |
| abstract boolean | needsSaving() |
| abstract JMenuItem | newActionMenuItem(String actionName)
Returns a new menu item for a named action of SimplyHTML. |
| abstract void | setContentPanePreferredSize(Dimension dimension) |
| abstract void | setCurrentDocumentContent(String sText) |
| abstract void | setOpenHyperlinkHandler(ActionListener openHyperlinkHandler)
Sets the handler for the Open Hyperlink action. |
| static void | setResources(TextResources resources) |
| abstract void | switchViews()
Switches between the rich text view and the source view, given
tabbed panes are not used. |