JIDE 3.5.15

com.jidesoft.alert
Class InputPopup

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by com.jidesoft.popup.JidePopup
                  extended by com.jidesoft.alert.Alert
                      extended by com.jidesoft.alert.InputPopup
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, WindowConstants

public class InputPopup
extends Alert

Popup to allow user input a new text.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.jidesoft.popup.JidePopup
JidePopup.AccessiblePopup
 
Nested classes/interfaces inherited from class javax.swing.JComponent
JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
 
Field Summary
protected  Object _defaultValue
           
protected  String _help
           
protected  JLabel _helpLabel
           
protected  JLabel _statusLabel
           
protected  JTextField _textField
           
protected  String _title
           
 
Fields inherited from class com.jidesoft.popup.JidePopup
_actualOwner, _actualOwnerLocation, _detached, _insets, _panel, _previousSize, _resizableSupport, _window, ATTACHABLE_PROPERTY, CLIENT_PROPERTY_POPUP_ACTUAL_OWNER, CLIENT_PROPERTY_POPUP_TYPE, CLIENT_PROPERTY_VALUE_POPUP_TYPE_COMBOBOX, CLIENT_PROPERTY_WINDOW_OPACITY, CLIENT_PROPERTY_WINDOW_OPAQUE, CLIENT_PROPERTY_WINDOW_SHAPE, CONTENT_PANE_PROPERTY, DETACHED_PROPERTY, DISTANCE_TO_SCREEN_BORDER, DO_NOTHING_ON_MOVED, GLASS_PANE_PROPERTY, HEAVY_WEIGHT_POPUP, HIDE_ON_MOVED, LAYERED_PANE_PROPERTY, LIGHT_WEIGHT_POPUP, MENU_BAR_PROPERTY, MOVABLE_PROPERTY, MOVE_ON_MOVED, OWNER_PROPERTY, PROPERTY_GRIPPER_LOCATION, RESIZABLE_PROPERTY, ROOT_PANE_PROPERTY, TRANSIENT_PROPERTY, VISIBLE_PROPERTY
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface javax.swing.WindowConstants
DISPOSE_ON_CLOSE, DO_NOTHING_ON_CLOSE, EXIT_ON_CLOSE, HIDE_ON_CLOSE
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
InputPopup(String title, String helpMessage, Object defaultValue)
           
 
Method Summary
protected  JTextField createTextField(Object defaultValue)
           
 JLabel getHelpLabel()
           
 JLabel getStatusLabel()
           
 JTextField getTextField()
           
protected  void initComponents()
           
 
Methods inherited from class com.jidesoft.alert.Alert
contentResized, createHeavyweightPopupContainer, getAlertGroup, getDisplayStartLocation, getHideAnimation, getShowAnimation, hidePopup, hidePopupImmediately, internalShowPopup, isAlwaysOnTop, setAlertGroup, setAlwaysOnTop, setHideAnimation, setShowAnimation, showAnimationEnds, showPopupImmediately
 
Methods inherited from class com.jidesoft.popup.JidePopup
addExcludedComponent, addImpl, addPopupMenuListener, ancestorHidden, ancestorMoved, beginDragging, createLightweightPopupContainer, createRootPane, createWindow, drag, endDragging, firePopupMenuCanceled, firePopupMenuWillBecomeInvisible, firePopupMenuWillBecomeVisible, getAccessibleContext, getActualOwner, getAdjustedRectangle, getBackToOriginalInsets, getContentPane, getDefaultFocusComponent, getDefaultMoveOperation, getDisplayScreenBounds, getFrame, getGlassPane, getGripperLocation, getJMenuBar, getLayeredPane, getOwner, getPopupBorder, getPopupBounds, getPopupLocation, getPopupMenuListeners, getPopupType, getRealParent, getRootPane, getTimeout, getTopLevelAncestor, getUI, getUIClassID, handleComponentEvent, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMousePressed, handleMouseReleased, handleWindowEvent, hidePopup, hidePopupImmediately, installBorder, installListeners, internalShowPopup, isAttachable, isClickOnPopup, isDetached, isDragging, isExcludedComponent, isKeepPreviousSize, isMovable, isPopupAncestorOf, isPopupVisible, isResizable, isReturnFocusToOwner, isRootPaneCheckingEnabled, isTransient, movePopup, packPopup, remove, removeAllExcludedComponents, removeExcludedComponent, removePopupMenuListener, setAttachable, setBackToOriginalInsets, setContentPane, setDefaultFocusComponent, setDefaultMoveOperation, setDetached, setDisplayStartLocation, setGlassPane, setGripperLocation, setJMenuBar, setKeepPreviousSize, setLayeredPane, setLayout, setMovable, setOwner, setPopupBorder, setPopupType, setPreferredPopupSize, setResizable, setReturnFocusToOwner, setRootPane, setRootPaneCheckingEnabled, setTimeout, setTransient, setUI, setupResizeCorner, setVisible, shouldAWTEventListenerBeUsed, showPopup, showPopup, showPopup, showPopup, showPopup, showPopup, showPopup, showPopup, 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, 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, paramString, 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, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, 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, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_textField

protected JTextField _textField

_statusLabel

protected JLabel _statusLabel

_title

protected String _title

_help

protected String _help

_defaultValue

protected Object _defaultValue

_helpLabel

protected JLabel _helpLabel
Constructor Detail

InputPopup

public InputPopup(String title,
                  String helpMessage,
                  Object defaultValue)
Method Detail

initComponents

protected void initComponents()

createTextField

protected JTextField createTextField(Object defaultValue)

getTextField

public JTextField getTextField()

getStatusLabel

public JLabel getStatusLabel()

getHelpLabel

public JLabel getHelpLabel()

JIDE 3.5.15