public interface XalDocumentView
extends javax.swing.RootPaneContainer
Modifier and Type | Method and Description |
---|---|
void |
captureAsImage()
Capture the window as an image.
|
int |
displayConfirmDialog(java.lang.String title,
java.lang.String message)
Display a confirmation dialog with a title and message
|
void |
displayError(java.lang.Exception exception)
Display an error dialog box with information about the exception and
provide an audible alert.
|
void |
displayError(java.lang.String aTitle,
java.lang.String message)
Display an error dialog box and provide an audible alert.
|
void |
displayError(java.lang.String aTitle,
java.lang.String prefix,
java.lang.Exception exception)
Display an error dialog box with information about the exception and
provide an audible alert.
|
void |
displayWarning(java.lang.Exception exception)
Display a warning dialog box showing information about an exception that
has been thrown and provide an audible alert.
|
void |
displayWarning(java.lang.String aTitle,
java.lang.String message)
Display a warning dialog box and provide an audible alert.
|
void |
displayWarning(java.lang.String aTitle,
java.lang.String prefix,
java.lang.Exception exception)
Display a warning dialog box with information about the exception and provide
an audible alert.
|
javax.swing.JMenuBar |
getJMenuBar()
get the view's menu bar
|
java.awt.Point |
getLocation()
get the view's location
|
java.awt.Point |
getLocationOnScreen()
get the view's location relative to the screen
|
javax.swing.JToolBar |
getToolBar()
Get the toolbar associated with this window.
|
void |
hideWindow()
Iconify this window.
|
boolean |
isVisible()
determine the view's visibility
|
void |
setJMenuBar(javax.swing.JMenuBar menuBar) |
void |
setLocation(java.awt.Point location)
set the view's location
|
void |
setVisible(boolean state)
set the view's visibility
|
void |
showWindow()
Show this window.
|
void showWindow()
void hideWindow()
java.awt.Point getLocation()
java.awt.Point getLocationOnScreen()
void setLocation(java.awt.Point location)
void setVisible(boolean state)
boolean isVisible()
javax.swing.JMenuBar getJMenuBar()
void setJMenuBar(javax.swing.JMenuBar menuBar)
javax.swing.JToolBar getToolBar()
void captureAsImage()
int displayConfirmDialog(java.lang.String title, java.lang.String message)
title
- The title of the dialogmessage
- The message to displayvoid displayWarning(java.lang.String aTitle, java.lang.String message)
aTitle
- Title of the warning dialog box.message
- The warning message to appear in the warning dialog box.void displayWarning(java.lang.Exception exception)
exception
- The exception whose description is being displayed.void displayWarning(java.lang.String aTitle, java.lang.String prefix, java.lang.Exception exception)
aTitle
- Title of the warning dialog box.prefix
- Text that should appear in the dialog box before the exception messasge.exception
- The exception about which the warning dialog is displayed.void displayError(java.lang.String aTitle, java.lang.String message)
aTitle
- Title of the warning dialog box.message
- The warning message to appear in the warning dialog box.void displayError(java.lang.Exception exception)
exception
- The exception about which the warning dialog is displayed.void displayError(java.lang.String aTitle, java.lang.String prefix, java.lang.Exception exception)
aTitle
- Title of the warning dialog box.prefix
- Text that should appear in the dialog box before the exception messasge.exception
- The exception about which the warning dialog is displayed.