public interface IBrowser
JEditorPane
.
By default editing is disabled, and handles hyperlinks (shows proper tool tip text and opens them in the default external browser).
IGuiFactory.newBrowser()
,
IGuiFactory.newBrowserPage(String, hu.scelightapibase.gui.icon.IRIcon, hu.scelightapibase.util.IRHtml)
Modifier and Type | Method and Description |
---|---|
javax.swing.JEditorPane |
asEditorPanel()
Casts this instance to
JEditorPane . |
void |
setMessage(java.lang.String msg)
Sets the specified message.
|
void |
setMessage(java.lang.String msg,
boolean error)
Sets the specified (error) message.
|
javax.swing.JEditorPane asEditorPanel()
JEditorPane
.this
as a JEditorPane
void setMessage(java.lang.String msg)
The message must be a plain text message.
msg
- error message to be setvoid setMessage(java.lang.String msg, boolean error)
The message must be a plain text message.
msg
- (error) message to be seterror
- tells if the message is an error message
This API documentation is public and is intended for / allowed to be used by anyone.
Scelight home page: https://sites.google.com/site/scelight/
Scelight is a trademark of András Belicza. Copyright © András Belicza, 2013-2015. All rights reserved.