Save This Page
Home » j2ssh-0.2.9-src » com.sshtools.common.ui » [javadoc | source]
com.sshtools.common.ui
public class: NumericTextField [javadoc | source]
java.lang.Object
   java.awt.Component
      java.awt.Container
         javax.swing.JComponent
            javax.swing.text.JTextComponent
               javax.swing.JTextField
                  com.sshtools.common.ui.XTextField
                     com.sshtools.common.ui.NumericTextField

All Implemented Interfaces:
    ClipboardOwner, SwingConstants, Scrollable, Accessible, TransferHandler$HasGetTransferHandler, Serializable, MenuContainer, ImageObserver

Nested Class Summary:
class  NumericTextField.ADocument   
Fields inherited from javax.swing.JTextField:
notifyAction
Fields inherited from javax.swing.text.JTextComponent:
FOCUS_ACCELERATOR_KEY,  DEFAULT_KEYMAP
Fields inherited from javax.swing.JComponent:
WHEN_FOCUSED,  WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,  WHEN_IN_FOCUSED_WINDOW,  UNDEFINED_CONDITION,  TOOL_TIP_TEXT_KEY
Fields inherited from java.awt.Component:
TOP_ALIGNMENT,  CENTER_ALIGNMENT,  BOTTOM_ALIGNMENT,  LEFT_ALIGNMENT,  RIGHT_ALIGNMENT
Constructor:
 public NumericTextField(Number min,
    Number max) 
    Creates a new NumericTextField object.
    Parameters:
    min -
    max -
 public NumericTextField(Number min,
    Number max,
    Number initial) 
    Creates a new NumericTextField object.
    Parameters:
    min -
    max -
    initial -
 public NumericTextField(Number min,
    Number max,
    Number initial,
    boolean rightJustify) 
    Creates a new NumericTextField object.
    Parameters:
    min -
    max -
    initial -
    rightJustify -
 public NumericTextField(Number min,
    Number max,
    Number initial,
    boolean rightJustify,
    NumberFormat numberFormat) 
    Creates a new NumericTextField object.
    Parameters:
    min -
    max -
    initial -
    rightJustify -
    numberFormat -
    Throws:
    IllegalArgumentException -
Method from com.sshtools.common.ui.NumericTextField Summary:
getMaximum,   getMinimum,   getNumberFormat,   getValue,   isRightJustify,   isSelectAllOnFocusGain,   processFocusEvent,   setMaximum,   setMinimum,   setNumberFormat,   setRightJustify,   setSelectAllOnFocusGain,   setText,   setValue
Methods from com.sshtools.common.ui.XTextField:
lostOwnership
Methods from javax.swing.JTextField:
addActionListener,   getAccessibleContext,   getAction,   getActionListeners,   getActions,   getColumns,   getHorizontalAlignment,   getHorizontalVisibility,   getPreferredSize,   getScrollOffset,   getUIClassID,   isValidateRoot,   postActionEvent,   removeActionListener,   scrollRectToVisible,   setAction,   setActionCommand,   setColumns,   setDocument,   setFont,   setHorizontalAlignment,   setScrollOffset
Methods from javax.swing.text.JTextComponent:
addCaretListener,   addInputMethodListener,   addKeymap,   copy,   cut,   getAccessibleContext,   getActions,   getCaret,   getCaretColor,   getCaretListeners,   getCaretPosition,   getDisabledTextColor,   getDocument,   getDragEnabled,   getDropLocation,   getDropMode,   getFocusAccelerator,   getHighlighter,   getInputMethodRequests,   getKeymap,   getKeymap,   getMargin,   getNavigationFilter,   getPreferredScrollableViewportSize,   getPrintable,   getScrollableBlockIncrement,   getScrollableTracksViewportHeight,   getScrollableTracksViewportWidth,   getScrollableUnitIncrement,   getSelectedText,   getSelectedTextColor,   getSelectionColor,   getSelectionEnd,   getSelectionStart,   getText,   getText,   getToolTipText,   getUI,   isEditable,   loadKeymap,   modelToView,   moveCaretPosition,   paste,   print,   print,   print,   read,   removeCaretListener,   removeKeymap,   removeNotify,   replaceSelection,   select,   selectAll,   setCaret,   setCaretColor,   setCaretPosition,   setComponentOrientation,   setDisabledTextColor,   setDocument,   setDragEnabled,   setDropMode,   setEditable,   setFocusAccelerator,   setHighlighter,   setKeymap,   setMargin,   setNavigationFilter,   setSelectedTextColor,   setSelectionColor,   setSelectionEnd,   setSelectionStart,   setText,   setUI,   updateUI,   viewToModel,   write
Methods from javax.swing.JComponent:
addAncestorListener,   addNotify,   addVetoableChangeListener,   computeVisibleRect,   contains,   createToolTip,   disable,   enable,   firePropertyChange,   firePropertyChange,   firePropertyChange,   getAccessibleContext,   getActionForKeyStroke,   getActionMap,   getAlignmentX,   getAlignmentY,   getAncestorListeners,   getAutoscrolls,   getBaseline,   getBaselineResizeBehavior,   getBorder,   getBounds,   getClientProperty,   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,   getUIClassID,   getVerifyInputWhenFocusTarget,   getVetoableChangeListeners,   getVisibleRect,   getWidth,   getX,   getY,   grabFocus,   isDoubleBuffered,   isLightweightComponent,   isManagingFocus,   isOpaque,   isOptimizedDrawingEnabled,   isPaintingForPrint,   isPaintingTile,   isRequestFocusEnabled,   isValidateRoot,   paint,   paintImmediately,   paintImmediately,   print,   printAll,   putClientProperty,   registerKeyboardAction,   registerKeyboardAction,   removeAncestorListener,   removeNotify,   removeVetoableChangeListener,   repaint,   repaint,   requestDefaultFocus,   requestFocus,   requestFocus,   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,   setVerifyInputWhenFocusTarget,   setVisible,   unregisterKeyboardAction,   update,   updateUI
Methods from java.awt.Container:
add,   add,   add,   add,   add,   addContainerListener,   addNotify,   addPropertyChangeListener,   addPropertyChangeListener,   applyComponentOrientation,   areFocusTraversalKeysSet,   countComponents,   deliverEvent,   doLayout,   findComponentAt,   findComponentAt,   getAlignmentX,   getAlignmentY,   getComponent,   getComponentAt,   getComponentAt,   getComponentCount,   getComponentZOrder,   getComponents,   getContainerListeners,   getFocusTraversalKeys,   getFocusTraversalPolicy,   getInsets,   getLayout,   getListeners,   getMaximumSize,   getMinimumSize,   getMousePosition,   getPreferredSize,   insets,   invalidate,   isAncestorOf,   isFocusCycleRoot,   isFocusCycleRoot,   isFocusTraversalPolicyProvider,   isFocusTraversalPolicySet,   layout,   list,   list,   locate,   minimumSize,   paint,   paintComponents,   preferredSize,   print,   printComponents,   remove,   remove,   removeAll,   removeContainerListener,   removeNotify,   setComponentZOrder,   setFocusCycleRoot,   setFocusTraversalKeys,   setFocusTraversalPolicy,   setFocusTraversalPolicyProvider,   setFont,   setLayout,   transferFocusBackward,   transferFocusDownCycle,   update,   validate
Methods from java.awt.Component:
action,   add,   addComponentListener,   addFocusListener,   addHierarchyBoundsListener,   addHierarchyListener,   addInputMethodListener,   addKeyListener,   addMouseListener,   addMouseMotionListener,   addMouseWheelListener,   addNotify,   addPropertyChangeListener,   addPropertyChangeListener,   applyComponentOrientation,   areFocusTraversalKeysSet,   bounds,   checkImage,   checkImage,   contains,   contains,   createImage,   createImage,   createVolatileImage,   createVolatileImage,   deliverEvent,   disable,   dispatchEvent,   doLayout,   enable,   enable,   enableInputMethods,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   firePropertyChange,   getAccessibleContext,   getAlignmentX,   getAlignmentY,   getBackground,   getBaseline,   getBaselineResizeBehavior,   getBounds,   getBounds,   getColorModel,   getComponentAt,   getComponentAt,   getComponentListeners,   getComponentOrientation,   getCursor,   getDropTarget,   getFocusCycleRootAncestor,   getFocusListeners,   getFocusTraversalKeys,   getFocusTraversalKeysEnabled,   getFont,   getFontMetrics,   getForeground,   getGraphics,   getGraphicsConfiguration,   getHeight,   getHierarchyBoundsListeners,   getHierarchyListeners,   getIgnoreRepaint,   getInputContext,   getInputMethodListeners,   getInputMethodRequests,   getKeyListeners,   getListeners,   getLocale,   getLocation,   getLocation,   getLocationOnScreen,   getMaximumSize,   getMinimumSize,   getMouseListeners,   getMouseMotionListeners,   getMousePosition,   getMouseWheelListeners,   getName,   getParent,   getPeer,   getPreferredSize,   getPropertyChangeListeners,   getPropertyChangeListeners,   getSize,   getSize,   getToolkit,   getTreeLock,   getWidth,   getX,   getY,   gotFocus,   handleEvent,   hasFocus,   hide,   imageUpdate,   inside,   invalidate,   isBackgroundSet,   isCursorSet,   isDisplayable,   isDoubleBuffered,   isEnabled,   isFocusCycleRoot,   isFocusOwner,   isFocusTraversable,   isFocusable,   isFontSet,   isForegroundSet,   isLightweight,   isMaximumSizeSet,   isMinimumSizeSet,   isOpaque,   isPreferredSizeSet,   isShowing,   isValid,   isVisible,   keyDown,   keyUp,   layout,   list,   list,   list,   list,   list,   locate,   location,   lostFocus,   minimumSize,   mouseDown,   mouseDrag,   mouseEnter,   mouseExit,   mouseMove,   mouseUp,   move,   nextFocus,   paint,   paintAll,   postEvent,   preferredSize,   prepareImage,   prepareImage,   print,   printAll,   remove,   removeComponentListener,   removeFocusListener,   removeHierarchyBoundsListener,   removeHierarchyListener,   removeInputMethodListener,   removeKeyListener,   removeMouseListener,   removeMouseMotionListener,   removeMouseWheelListener,   removeNotify,   removePropertyChangeListener,   removePropertyChangeListener,   repaint,   repaint,   repaint,   repaint,   requestFocus,   requestFocusInWindow,   reshape,   resize,   resize,   setBackground,   setBounds,   setBounds,   setComponentOrientation,   setCursor,   setDropTarget,   setEnabled,   setFocusTraversalKeys,   setFocusTraversalKeysEnabled,   setFocusable,   setFont,   setForeground,   setIgnoreRepaint,   setLocale,   setLocation,   setLocation,   setMaximumSize,   setMinimumSize,   setName,   setPreferredSize,   setSize,   setSize,   setVisible,   show,   show,   size,   toString,   transferFocus,   transferFocusBackward,   transferFocusUpCycle,   update,   validate
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sshtools.common.ui.NumericTextField Detail:
 public Number getMaximum() 
 public Number getMinimum() 
 public NumberFormat getNumberFormat() 
 public Number getValue() 
 public boolean isRightJustify() 
 public boolean isSelectAllOnFocusGain() 
 protected  void processFocusEvent(FocusEvent e) 
 public  void setMaximum(Number max) 
 public  void setMinimum(Number min) 
 public  void setNumberFormat(NumberFormat numberFormat) 
 public  void setRightJustify(boolean rightJustify) 
 public  void setSelectAllOnFocusGain(boolean selectAllOnFocusGain) 
 public  void setText(String s) 
 public  void setValue(Number i)