|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sdm.quasar.client.showcase.swing.util.ShowcaseUtilities
Utility class for the swing showcase.
It offers the simple creation of a browser component (see createHtmlTextPane(URL))
which can also be created to be a part of a JSplitPane
combined with another JComponent.
| Constructor Summary | |
ShowcaseUtilities()
|
|
| Method Summary | |
static javax.swing.JComponent |
createHtmlTextPane(java.net.URL url)
Creates a miniature html browser ( MiniBrowser)
that initially displays the given url. |
static javax.swing.JComponent |
createInfoContentSplit(java.net.URL infoUrl,
javax.swing.JComponent content)
Creates a split pane with the where the upper part is filled by a html browser (created using createHtmlTextPane(URL))
and the lower part with the given content component.
|
static javax.swing.JComponent |
createInfoContentSplit(java.net.URL infoUrl,
javax.swing.JComponent content,
int deviderLocation)
Creates a split pane with the where the upper part is filled by a html browser (created using createHtmlTextPane(URL))
and the lower part with the given content component.
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ShowcaseUtilities()
| Method Detail |
public static javax.swing.JComponent createInfoContentSplit(java.net.URL infoUrl,
javax.swing.JComponent content,
int deviderLocation)
createHtmlTextPane(URL))
and the lower part with the given content component.
The divider location is initially set to the given value.
infoUrl - the url that provides the content for the html browsercontent - the content component that is displayed below the browserdeviderLocation - the initial divider location
public static javax.swing.JComponent createInfoContentSplit(java.net.URL infoUrl,
javax.swing.JComponent content)
createHtmlTextPane(URL))
and the lower part with the given content component.
This implementation calls createInfoContentSplit(URL, JComponent, int)
with a divider location of 300.
infoUrl - the url that provides the content for the html browsercontent - the content component that is displayed below the browser
public static javax.swing.JComponent createHtmlTextPane(java.net.URL url)
MiniBrowser)
that initially displays the given url.
url - the url to display in the browser
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||