|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.croftsoft.core.gui.GuiCreator
public final class GuiCreator
Creates pre-configured GUI widgets.
Useful for instantiating GUI widgets without creating a subclass.
| Method Summary | |
|---|---|
static JEditorPane |
createHtmlPane(String html,
HyperlinkListener hyperlinkListener)
Creates a JEditorPane for displaying HTML text. |
static JEditorPane |
createHtmlPane(URL initialPage,
HyperlinkListener hyperlinkListener)
Creates a JEditorPane for displaying HTML text. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static JEditorPane createHtmlPane(String html,
HyperlinkListener hyperlinkListener)
The pane in non-editable and the caret position is set to zero.
Reference:
Kim Topley,
Core Swing: Advanced Programming,
2000,
Chapter 4 "JEditorPane and the Swing HTML Package",
Section "Hypertext Links",
p476.
hyperlinkListener - May be null.
public static JEditorPane createHtmlPane(URL initialPage,
HyperlinkListener hyperlinkListener)
throws IOException
The pane in non-editable and the caret position is set to zero.
Reference:
Kim Topley,
Core Swing: Advanced Programming,
2000,
Chapter 4 "JEditorPane and the Swing HTML Package",
Section "Hypertext Links",
p476.
hyperlinkListener - May be null.
IOException - If URL is null or cannot be accessed.
|
CroftSoft Javadoc | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||