|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectde.cbse.jeasy.JEObject
de.cbse.jeasy.JEComponent
de.cbse.jeasy.JEEditorPane
public class JEEditorPane
Implements a JEditorPane.
Properties :
| Nested Class Summary | |
|---|---|
(package private) class |
JEEditorPane.PageLoader
Temporary class that loads synchronously (although later than the request so that a cursor change can be done). |
| Field Summary |
|---|
| Fields inherited from class de.cbse.jeasy.JEComponent |
|---|
animated, backup, buttonBehind, caretPosition, component, endMarkPosition, enterPressed, isPressed, jeButtonBehind, label, labelBehind, labelText, parentId, scrollPane, tree, treeNode, window |
| Constructor Summary | |
|---|---|
JEEditorPane(JELocaleProperties hm)
Reads the properties from a HashMap |
|
JEEditorPane(JENode jen)
Constructor based on a XML file parsed to a TreeNode. |
|
| Method Summary | |
|---|---|
void |
clear()
Clears the JEditorPane |
javax.swing.JEditorPane |
getJEditorPane()
Gets the swing JEditorpane |
void |
hyperlinkUpdate(javax.swing.event.HyperlinkEvent e)
|
void |
init()
Creates jfc-Objects with the given properties. |
boolean |
isEditable()
Gets whether the component is editable or not |
protected void |
linkActivated(java.net.URL u)
Follows the reference in an link. |
void |
setEditable(boolean b)
Makes the component editable or not |
void |
setEnableLinks(boolean b)
If an Hyperlink Event occurs this will call the callBack of the application. |
void |
setPage(java.lang.String surl)
Sets the URL getting from surl being displayed. |
void |
setPage(java.net.URL url)
Sets the current URL beeing displayed. |
void |
setupComponent()
Set the property values to the component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JEEditorPane(JELocaleProperties hm)
hm - HashMappublic JEEditorPane(JENode jen)
jen - JESaxParser| Method Detail |
|---|
public void init()
JEComponent
init in class JEComponentpublic void setupComponent()
setupComponent in class JEComponentpublic void setPage(java.lang.String surl)
public void setPage(java.net.URL url)
public javax.swing.JEditorPane getJEditorPane()
public void setEditable(boolean b)
public boolean isEditable()
isEditable in class JEComponentpublic void clear()
public void setEnableLinks(boolean b)
b - protected void linkActivated(java.net.URL u)
u - the URL to followpublic void hyperlinkUpdate(javax.swing.event.HyperlinkEvent e)
hyperlinkUpdate in interface javax.swing.event.HyperlinkListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||