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 PreviewPanel
public void stop()
PreviewPanel
stop
in interface PreviewPanel
public boolean isHeavy()
PreviewPanel
isHeavy
in interface PreviewPanel
protected javax.swing.JComponent getTextComponent(java.lang.String locator) throws java.lang.Exception
java.lang.Exception
public javax.swing.JPanel getGui()
PreviewPanel
getGui
in interface PreviewPanel
protected java.lang.String getContent(java.lang.String locator) throws java.lang.Exception
java.lang.Exception
protected javax.swing.JComponent getJToolBar()
public void actionPerformed(java.awt.event.ActionEvent actionEvent)
actionPerformed
in interface java.awt.event.ActionListener
public static boolean canView(java.lang.String url)
Copyright 2004-2015 Wandora Team