Top Description Fields Constructors Methods
org.apache.pdfbox.debugger.ui

public Class TextDialog

extends JDialog
Class Inheritance
Annotations
@SuppressWarnings:serial, squid:MaximumInheritanceDepth
Imports
java.awt.Container, .Font, .Frame, javax.swing.JDialog, .JScrollPane, .JTextPane

Window for text extraction result.
Authors
Tilman Hausherr, John Hewson

Field Summary

Modifier and TypeField and Description
private static TextDialog
private final JScrollPane
private final JTextPane
Inherited from javax.swing.JDialog:
accessibleContextrootPanerootPaneCheckingEnabled

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
public final Container
getContentPane()

Overrides javax.swing.JDialog.getContentPane.

Implements javax.swing.RootPaneContainer.getContentPane.

Returns the contentPane object for this dialog.

public static void
init(Frame owner)

public static TextDialog
public final void
pack()

Overrides java.awt.Window.pack.

Causes this Window to be sized to fit the preferred size and layouts of its subcomponents.

public void
Inherited from javax.swing.JDialog:
addImplcreateRootPanedialogInitgetAccessibleContextgetDefaultCloseOperationgetGlassPanegetGraphicsgetJMenuBargetLayeredPanegetRootPanegetTransferHandlerisDefaultLookAndFeelDecoratedisRootPaneCheckingEnabledparamStringprocessWindowEventremoverepaintsetContentPanesetDefaultCloseOperationsetDefaultLookAndFeelDecoratedsetGlassPanesetJMenuBarsetLayeredPanesetLayoutsetRootPanesetRootPaneCheckingEnabledsetTransferHandlerupdate

Field Detail

instanceback to summary
private static TextDialog instance
scrollPaneback to summary
private final JScrollPane scrollPane
textPaneback to summary
private final JTextPane textPane

Constructor Detail

TextDialogback to summary
private TextDialog(Frame owner)

Method Detail

clearback to summary
public void clear()
getContentPaneback to summary
public final Container getContentPane()

Overrides javax.swing.JDialog.getContentPane.

Implements javax.swing.RootPaneContainer.getContentPane.

Doc from javax.swing.JDialog.getContentPane.

Returns the contentPane object for this dialog.

Returns:Container

the contentPane property

Annotations
@Override
initback to summary
public static void init(Frame owner)
instanceback to summary
public static TextDialog instance()
packback to summary
public final void pack()

Overrides java.awt.Window.pack.

Doc from java.awt.Window.pack.

Causes this Window to be sized to fit the preferred size and layouts of its subcomponents. The resulting width and height of the window are automatically enlarged if either of dimensions is less than the minimum size as specified by the previous call to the setMinimumSize method.

If the window and/or its owner are not displayable yet, both of them are made displayable before calculating the preferred size. The Window is validated after its size is being calculated.

Annotations
@Override
setTextback to summary
public void setText(String text)