org.tbee.swing
Class JOptionPane
java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JOptionPane
org.tbee.swing.JOptionPane
- All Implemented Interfaces:
- ImageObserver, MenuContainer, Serializable, Accessible
public class JOptionPane
- extends JOptionPane
- Author:
- toeu
TODO: move all the showDialogInternal to regular option pane calls? What is better in the current setup? Keyboardcontrol (N instead of alt-N)?
- See Also:
- Serialized Form
| Fields inherited from class javax.swing.JOptionPane |
CANCEL_OPTION, CLOSED_OPTION, DEFAULT_OPTION, ERROR_MESSAGE, icon, ICON_PROPERTY, INFORMATION_MESSAGE, INITIAL_SELECTION_VALUE_PROPERTY, INITIAL_VALUE_PROPERTY, initialSelectionValue, initialValue, INPUT_VALUE_PROPERTY, inputValue, message, MESSAGE_PROPERTY, MESSAGE_TYPE_PROPERTY, messageType, NO_OPTION, OK_CANCEL_OPTION, OK_OPTION, OPTION_TYPE_PROPERTY, options, OPTIONS_PROPERTY, optionType, PLAIN_MESSAGE, QUESTION_MESSAGE, SELECTION_VALUES_PROPERTY, selectionValues, UNINITIALIZED_VALUE, value, VALUE_PROPERTY, WANTS_INPUT_PROPERTY, wantsInput, WARNING_MESSAGE, YES_NO_CANCEL_OPTION, YES_NO_OPTION, YES_OPTION |
|
Method Summary |
static int |
showConfirmDialogYN(Component c,
String message)
|
static int |
showConfirmDialogYN(String message)
|
static int |
showConfirmDialogYNC(Component c,
String message)
|
static int |
showConfirmDialogYNC(String message)
|
static void |
showErrorMessageDialog(Component c,
String message)
|
static void |
showErrorMessageDialog(Component c,
Throwable t)
|
static void |
showErrorMessageDialog(String message)
|
static void |
showErrorMessageDialog(Throwable t)
|
static void |
showInfoMessageDialog(Component c,
String message)
|
static void |
showInfoMessageDialog(String message)
|
static int |
showOkDialog(Container container,
String pMessage,
String pTitle)
|
static int |
showOkDialog(JDialog pJDialog,
String pMessage,
String pTitle)
|
static int |
showOkDialog(JFrame pJFrame,
String pMessage,
String pTitle)
|
static void |
showWarningMessageDialog(Component c,
String message)
|
static void |
showWarningMessageDialog(String message)
|
static int |
showYNCDialog(Container container,
String pMessage,
String pTitle)
|
static int |
showYNCDialog(JDialog pJDialog,
String pMessage,
String pTitle)
|
static int |
showYNCDialog(JFrame pJFrame,
String pMessage,
String pTitle)
|
static int |
showYNDialog(Container container,
String pMessage,
String pTitle)
|
static int |
showYNDialog(JDialog pJDialog,
String pMessage,
String pTitle)
|
static int |
showYNDialog(JFrame pJDialog,
String pMessage,
String pTitle)
|
static int |
showYNDialog(JFrame pJFrame,
String pMessage,
String pTitle,
int pType)
|
| Methods inherited from class javax.swing.JOptionPane |
createDialog, createDialog, createInternalFrame, getAccessibleContext, getDesktopPaneForComponent, getFrameForComponent, getIcon, getInitialSelectionValue, getInitialValue, getInputValue, getMaxCharactersPerLineCount, getMessage, getMessageType, getOptions, getOptionType, getRootFrame, getSelectionValues, getUI, getUIClassID, getValue, getWantsInput, paramString, selectInitialValue, setIcon, setInitialSelectionValue, setInitialValue, setInputValue, setMessage, setMessageType, setOptions, setOptionType, setRootFrame, setSelectionValues, setUI, setValue, setWantsInput, showConfirmDialog, showConfirmDialog, showConfirmDialog, showConfirmDialog, showInputDialog, showInputDialog, showInputDialog, showInputDialog, showInputDialog, showInputDialog, showInternalConfirmDialog, showInternalConfirmDialog, showInternalConfirmDialog, showInternalConfirmDialog, showInternalInputDialog, showInternalInputDialog, showInternalInputDialog, showInternalMessageDialog, showInternalMessageDialog, showInternalMessageDialog, showInternalOptionDialog, showMessageDialog, showMessageDialog, showMessageDialog, showOptionDialog, updateUI |
| Methods inherited from class javax.swing.JComponent |
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update |
| Methods inherited from class java.awt.Container |
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree |
| Methods inherited from class java.awt.Component |
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle |
JOptionPane
public JOptionPane()
showYNCDialog
public static int showYNCDialog(JFrame pJFrame,
String pMessage,
String pTitle)
showYNCDialog
public static int showYNCDialog(JDialog pJDialog,
String pMessage,
String pTitle)
showYNCDialog
public static int showYNCDialog(Container container,
String pMessage,
String pTitle)
showYNDialog
public static int showYNDialog(JFrame pJFrame,
String pMessage,
String pTitle,
int pType)
showYNDialog
public static int showYNDialog(JDialog pJDialog,
String pMessage,
String pTitle)
showYNDialog
public static int showYNDialog(JFrame pJDialog,
String pMessage,
String pTitle)
showYNDialog
public static int showYNDialog(Container container,
String pMessage,
String pTitle)
showOkDialog
public static int showOkDialog(JFrame pJFrame,
String pMessage,
String pTitle)
showOkDialog
public static int showOkDialog(JDialog pJDialog,
String pMessage,
String pTitle)
showOkDialog
public static int showOkDialog(Container container,
String pMessage,
String pTitle)
showConfirmDialogYN
public static int showConfirmDialogYN(Component c,
String message)
showConfirmDialogYN
public static int showConfirmDialogYN(String message)
showConfirmDialogYNC
public static int showConfirmDialogYNC(Component c,
String message)
showConfirmDialogYNC
public static int showConfirmDialogYNC(String message)
showInfoMessageDialog
public static void showInfoMessageDialog(Component c,
String message)
showInfoMessageDialog
public static void showInfoMessageDialog(String message)
showWarningMessageDialog
public static void showWarningMessageDialog(Component c,
String message)
showWarningMessageDialog
public static void showWarningMessageDialog(String message)
showErrorMessageDialog
public static void showErrorMessageDialog(Component c,
String message)
showErrorMessageDialog
public static void showErrorMessageDialog(String message)
showErrorMessageDialog
public static void showErrorMessageDialog(Component c,
Throwable t)
showErrorMessageDialog
public static void showErrorMessageDialog(Throwable t)
Copyright © 2011 KnowledgePlaza. All Rights Reserved.