| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JOptionPane | +--org.apache.fop.viewer.MessagesDialog
Die Klasse MessagesDialog
dient der Anzeige von Meldungen.
Die Klasse erweitert JOptionPane
um die Möglichkeit, auf Knopfdruck
eine Detailanzeige einzublenden, in der z.B. bei Fehlern der StackTrace ausgegeben
werden kann.
Inner classes inherited from class javax.swing.JOptionPane |
JOptionPane.AccessibleJOptionPane |
Inner classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Inner classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
Inner classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent |
Field Summary | |
(package private) static String | CANCEL_OPTION |
(package private) static String[] | defaultDetailOption |
(package private) static String[] | defaultOption |
(package private) static String | DETAIL_OPTION |
(package private) static String | NO_OPTION |
(package private) static String | OK_OPTION |
(package private) static String[] | okCancelDetailOption |
(package private) static String[] | okCancelOption |
(package private) static Translator | res |
(package private) static String | YES_OPTION |
(package private) static String[] | yesNoCancelDetailOption |
(package private) static String[] | yesNoCancelOption |
(package private) static String[] | yesNoDetailOption |
(package private) static String[] | yesNoOption |
Fields inherited from class javax.swing.JOptionPane |
UNINITIALIZED_VALUE, DEFAULT_OPTION, YES_NO_OPTION, YES_NO_CANCEL_OPTION, OK_CANCEL_OPTION, CLOSED_OPTION, ERROR_MESSAGE, INFORMATION_MESSAGE, WARNING_MESSAGE, QUESTION_MESSAGE, PLAIN_MESSAGE, ICON_PROPERTY, MESSAGE_PROPERTY, VALUE_PROPERTY, OPTIONS_PROPERTY, INITIAL_VALUE_PROPERTY, MESSAGE_TYPE_PROPERTY, OPTION_TYPE_PROPERTY, SELECTION_VALUES_PROPERTY, INITIAL_SELECTION_VALUE_PROPERTY, INPUT_VALUE_PROPERTY, WANTS_INPUT_PROPERTY |
Fields inherited from class javax.swing.JComponent |
WHEN_FOCUSED, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_IN_FOCUSED_WINDOW, UNDEFINED_CONDITION, TOOL_TIP_TEXT_KEY |
Fields inherited from class java.awt.Component |
TOP_ALIGNMENT, CENTER_ALIGNMENT, BOTTOM_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT |
Constructor Summary | |
MessagesDialog(Object message, int messageType, int optionType, Icon icon, Object[] options, Object initialValue) |
Method Summary | |
String | getDetailInformation() |
JDialog | getDialog() |
void | setDetailInformation(String aValue) |
void | setDialog(JDialog aValue) |
static void | setTranslator(Translator aRes) |
void | setValue(Object aValue) |
static int | showConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType) |
static int | showDetailDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, String newDetailInformation) Öffnet ein Dialogfenster, bei dem zusätzlich zu den spez. |
Methods inherited from class javax.swing.JOptionPane |
showInputDialog, showInputDialog, showInputDialog, showInputDialog, showMessageDialog, showMessageDialog, showMessageDialog, showConfirmDialog, showConfirmDialog, showConfirmDialog, showOptionDialog, createDialog, showInternalMessageDialog, showInternalMessageDialog, showInternalMessageDialog, showInternalConfirmDialog, showInternalConfirmDialog, showInternalConfirmDialog, showInternalConfirmDialog, showInternalOptionDialog, showInternalInputDialog, showInternalInputDialog, showInternalInputDialog, createInternalFrame, getFrameForComponent, getDesktopPaneForComponent, setRootFrame, getRootFrame, setUI, getUI, updateUI, getUIClassID, setMessage, getMessage, setIcon, getIcon, getValue, setOptions, getOptions, setInitialValue, getInitialValue, setMessageType, getMessageType, setOptionType, getOptionType, setSelectionValues, getSelectionValues, setInitialSelectionValue, getInitialSelectionValue, setInputValue, getInputValue, getMaxCharactersPerLineCount, setWantsInput, getWantsInput, selectInitialValue, getAccessibleContext |
Methods inherited from class javax.swing.JComponent |
update, paint, printAll, print, isPaintingTile, isFocusCycleRoot, isManagingFocus, setNextFocusableComponent, getNextFocusableComponent, setRequestFocusEnabled, isRequestFocusEnabled, requestFocus, grabFocus, setVerifyInputWhenFocusTarget, getVerifyInputWhenFocusTarget, setPreferredSize, getPreferredSize, setMaximumSize, getMaximumSize, setMinimumSize, getMinimumSize, isMinimumSizeSet, isPreferredSizeSet, isMaximumSizeSet, contains, setBorder, getBorder, getInsets, getInsets, getAlignmentY, setAlignmentY, getAlignmentX, setAlignmentX, setInputVerifier, getInputVerifier, getGraphics, setDebugGraphicsOptions, getDebugGraphicsOptions, registerKeyboardAction, registerKeyboardAction, unregisterKeyboardAction, getRegisteredKeyStrokes, getConditionForKeyStroke, getActionForKeyStroke, resetKeyboardActions, setInputMap, getInputMap, getInputMap, setActionMap, getActionMap, requestDefaultFocus, setVisible, hide, setEnabled, setForeground, setBackground, setFont, isFocusTraversable, setToolTipText, getToolTipText, getToolTipText, getToolTipLocation, createToolTip, scrollRectToVisible, setAutoscrolls, getAutoscrolls, enable, disable, getClientProperty, putClientProperty, isLightweightComponent, reshape, getBounds, getSize, getLocation, getX, getY, getWidth, getHeight, hasFocus, isOpaque, setOpaque, computeVisibleRect, getVisibleRect, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener, addVetoableChangeListener, removeVetoableChangeListener, getTopLevelAncestor, addAncestorListener, removeAncestorListener, getListeners, addNotify, removeNotify, repaint, repaint, revalidate, isValidateRoot, isOptimizedDrawingEnabled, paintImmediately, paintImmediately, setDoubleBuffered, isDoubleBuffered, getRootPane |
Methods inherited from class java.awt.Container |
getComponentCount, countComponents, getComponent, getComponents, insets, add, add, add, add, add, remove, remove, removeAll, getLayout, setLayout, doLayout, layout, invalidate, validate, preferredSize, minimumSize, paintComponents, printComponents, addContainerListener, removeContainerListener, deliverEvent, getComponentAt, locate, getComponentAt, findComponentAt, findComponentAt, isAncestorOf, list, list |
Methods inherited from class java.awt.Component |
getName, setName, getParent, getPeer, setDropTarget, getDropTarget, getGraphicsConfiguration, getTreeLock, getToolkit, isValid, isDisplayable, isVisible, isShowing, isEnabled, enable, enableInputMethods, show, show, getForeground, getBackground, getFont, getLocale, setLocale, getColorModel, getLocation, getLocationOnScreen, location, setLocation, move, setLocation, getSize, size, setSize, resize, setSize, resize, getBounds, bounds, setBounds, setBounds, isLightweight, getFontMetrics, setCursor, getCursor, paintAll, repaint, repaint, repaint, imageUpdate, createImage, createImage, prepareImage, prepareImage, checkImage, checkImage, inside, contains, dispatchEvent, postEvent, addComponentListener, removeComponentListener, addFocusListener, removeFocusListener, addHierarchyListener, removeHierarchyListener, addHierarchyBoundsListener, removeHierarchyBoundsListener, addKeyListener, removeKeyListener, addMouseListener, removeMouseListener, addMouseMotionListener, removeMouseMotionListener, addInputMethodListener, removeInputMethodListener, getInputMethodRequests, getInputContext, handleEvent, mouseDown, mouseDrag, mouseUp, mouseMove, mouseEnter, mouseExit, keyDown, keyUp, action, gotFocus, lostFocus, transferFocus, nextFocus, add, remove, toString, list, list, list, setComponentOrientation, getComponentOrientation |
Methods inherited from class java.lang.Object |
getClass, hashCode, equals, notify, notifyAll, wait, wait, wait |
Field Detail |
static String CANCEL_OPTION
static String[] defaultDetailOption
static String[] defaultOption
static String DETAIL_OPTION
static String NO_OPTION
static String OK_OPTION
static String[] okCancelDetailOption
static String[] okCancelOption
static Translator res
static String YES_OPTION
static String[] yesNoCancelDetailOption
static String[] yesNoCancelOption
static String[] yesNoDetailOption
static String[] yesNoOption
Constructor Detail |
public MessagesDialog(Object message, int messageType, int optionType, Icon icon, Object[] options, Object initialValue)
Method Detail |
public String getDetailInformation()
public JDialog getDialog()
public void setDetailInformation(String aValue)
public void setDialog(JDialog aValue)
public static void setTranslator(Translator aRes)
public void setValue(Object aValue)
public static int showConfirmDialog(Component parentComponent, Object message, String title, int optionType, int messageType)
public static int showDetailDialog(Component parentComponent, Object message, String title, int optionType, int messageType, Icon icon, String newDetailInformation)
Association Links |
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class java.lang.String
to Class javax.swing.JDialog
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |