public class Text extends java.lang.Object implements java.awt.event.ActionListener, PreviewPanel
| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.String |
locator |
(package private) javax.swing.JEditorPane |
textPane |
(package private) javax.swing.JPanel |
ui |
| Constructor and Description |
|---|
Text(java.lang.String locator) |
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(java.awt.event.ActionEvent actionEvent) |
static boolean |
canView(java.lang.String url) |
void |
finish() |
protected java.lang.String |
getContent(java.lang.String locator) |
javax.swing.JPanel |
getGui()
Is called to get the actual preview component.
|
protected javax.swing.JComponent |
getJToolBar() |
protected javax.swing.JComponent |
getTextComponent(java.lang.String locator) |
boolean |
isHeavy()
This is a deprecated method to tell the preview is a heavy weight
AWT component.
|
void |
stop()
Called whenever the PreviewPanel should stop i.e.
|
java.lang.String locator
javax.swing.JPanel ui
javax.swing.JEditorPane textPane
public void finish()
finish in interface PreviewPanelpublic void stop()
PreviewPanelstop in interface PreviewPanelpublic boolean isHeavy()
PreviewPanelisHeavy in interface PreviewPanelprotected javax.swing.JComponent getTextComponent(java.lang.String locator)
throws java.lang.Exception
java.lang.Exceptionpublic javax.swing.JPanel getGui()
PreviewPanelgetGui in interface PreviewPanelprotected java.lang.String getContent(java.lang.String locator)
throws java.lang.Exception
java.lang.Exceptionprotected javax.swing.JComponent getJToolBar()
public void actionPerformed(java.awt.event.ActionEvent actionEvent)
actionPerformed in interface java.awt.event.ActionListenerpublic static boolean canView(java.lang.String url)
Copyright 2004-2015 Wandora Team