|
|||||||||
Home >> All >> openfuture >> editxml >> [ applet overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |
openfuture.editxml.applet
Class MainPanel

java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JTabbedPane
openfuture.editxml.applet.MainPanel
- All Implemented Interfaces:
- javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.swing.SwingConstants
- public class MainPanel
- extends javax.swing.JTabbedPane
Panel holding the for the XML editors.
Created: Sun Jul 01 22:44:10 2001
- Version:
- $Revision: 1.5 $
Nested Class Summary |
Nested classes inherited from class javax.swing.JTabbedPane |
javax.swing.JTabbedPane.AccessibleJTabbedPane, javax.swing.JTabbedPane.ModelListener |
Nested classes inherited from class javax.swing.JComponent |
javax.swing.JComponent.AccessibleJComponent |
Nested classes inherited from class java.awt.Container |
java.awt.Container.AccessibleAWTContainer |
Nested classes inherited from class java.awt.Component |
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy |
Field Summary | |
static java.lang.String |
HTML_EDITOR
|
protected javax.swing.JEditorPane |
htmlEditor
|
protected TextEditorPanel |
textEditor
|
Fields inherited from class javax.swing.JTabbedPane |
changeEvent, changeListener, model, SCROLL_TAB_LAYOUT, tabPlacement, WRAP_TAB_LAYOUT |
Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Container |
|
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
Constructor Summary | |
MainPanel(RootController controller,
java.util.ResourceBundle resourceBundle,
java.util.Locale locale,
java.lang.String imagedirURL)
Creates a new MainPanel instance. |
Method Summary | |
java.lang.String |
getContent()
Retrieve the content of the editor panel |
openfuture.util.misc.DocumentHistory |
getDocumentHistory()
Retrieve the text document of the editor panel |
javax.swing.JEditorPane |
getHtmlEditor()
Get the value of htmlEditor. |
TextEditorPanel |
getTextEditor()
Get the value of textEditor. |
void |
init(RootController rootController,
java.util.ResourceBundle resourceBundle,
java.util.Locale locale,
java.lang.String imagedirURL)
Initialize the panel. |
void |
refreshView()
Refresh the display. |
void |
setContent(java.lang.String content)
Set the content of the editor panels. |
void |
setDocumentHistory(openfuture.util.misc.DocumentHistory history)
Set the document of the editor panels. |
void |
setHtmlEditor(javax.swing.JEditorPane v)
Set the value of htmlEditor. |
void |
setTextEditor(TextEditorPanel v)
Set the value of textEditor. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
htmlEditor
protected javax.swing.JEditorPane htmlEditor
textEditor
protected TextEditorPanel textEditor
HTML_EDITOR
public static java.lang.String HTML_EDITOR
Constructor Detail |
MainPanel
public MainPanel(RootController controller, java.util.ResourceBundle resourceBundle, java.util.Locale locale, java.lang.String imagedirURL)
- Creates a new
MainPanel
instance.
Method Detail |
init
public void init(RootController rootController, java.util.ResourceBundle resourceBundle, java.util.Locale locale, java.lang.String imagedirURL)
- Initialize the panel.
setContent
public void setContent(java.lang.String content)
- Set the content of the editor panels.
getContent
public java.lang.String getContent()
- Retrieve the content of the editor panel
setDocumentHistory
public void setDocumentHistory(openfuture.util.misc.DocumentHistory history)
- Set the document of the editor panels.
getDocumentHistory
public openfuture.util.misc.DocumentHistory getDocumentHistory()
- Retrieve the text document of the editor panel
refreshView
public void refreshView()
- Refresh the display. Actually calls
TextEditorPanel.refreshView() 55
getTextEditor
public TextEditorPanel getTextEditor()
- Get the value of textEditor.
setTextEditor
public void setTextEditor(TextEditorPanel v)
- Set the value of textEditor.
getHtmlEditor
public javax.swing.JEditorPane getHtmlEditor()
- Get the value of htmlEditor.
setHtmlEditor
public void setHtmlEditor(javax.swing.JEditorPane v)
- Set the value of htmlEditor.
|
|||||||||
Home >> All >> openfuture >> editxml >> [ applet overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: ![]() ![]() ![]() |
DETAIL: FIELD | CONSTR | METHOD |