概要 | パッケージ | クラス | 使用 | 階層ツリー | 非推奨 API | 索引 | ヘルプ
前のクラス 次のクラス | フレームあり フレームなし
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド

## org.asyrinx.brownie.swing
クラス DateField

    java.lang.Object
      java.awt.Component
          java.awt.Container
              javax.swing.JComponent
                  javax.swing.JPanel
                      org.asyrinx.brownie.swing.DateField

すべての実装インタフェース:
  javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public final class DateField
extends javax.swing.JPanel

関連項目:
  直列化された形式

入れ子クラスの概要

クラス javax.swing.JPanel から継承した入れ子クラス
`javax.swing.JPanel.AccessibleJPanel`

クラス javax.swing.JComponent から継承した入れ子クラス
`javax.swing.JComponent.AccessibleJComponent`

クラス java.awt.Container から継承した入れ子クラス
`java.awt.Container.AccessibleAWTContainer`

クラス java.awt.Component から継承した入れ子クラス
`java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy`

フィールドの概要
`protected javax.swing.JTextField` | `dateText`

クラス javax.swing.JComponent から継承したフィールド
`accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW`

クラス java.awt.Container から継承したフィールド
``

クラス java.awt.Component から継承したフィールド
`BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT`

インタフェース java.awt.image.ImageObserver から継承したフィールド
`ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH`

コンストラクタの概要
`DateField()`
`DateField(java.util.Date initialDate)` Alternate constructor that initializes the currently selected date to the specified date.

メソッドの概要
`protected java.lang.String` | `dateToString(java.util.Date dt)` Returns a short string representation for the specified date (January 1, 2003).
`java.util.Date` | `getDate()` Returns the currently selected date or null if not set.
`java.text.DateFormat` | `getDateFormat()`
`java.lang.String` | `getPattern()`
`java.lang.String` | `getText()`
`boolean` | `isEditable()`
`protected void` | `onButtonClick(java.awt.event.ActionEvent e)` Event handler that displays the DatePicker when the button is clicked.
`void` | `setDate(java.util.Date date)`
`void` | `setDateFormat(java.text.DateFormat dateFormat)`
`void` | `setEditable(boolean b)`
`void` | `setPattern(java.lang.String pattern)`
`void` | `setText(java.lang.String t)`

クラス javax.swing.JPanel から継承したメソッド
`getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI`

クラス javax.swing.JComponent から継承したメソッド
`addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBorder, getBounds, getClientProperty, getComponentGraphics, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getPropertyChangeListeners, getPropertyChangeListeners, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update`

クラス java.awt.Container から継承したメソッド
`add, add, add, add, add, addContainerListener, addImpl, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree`

クラス 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, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMouseWheelListeners, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, 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, processMouseEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, 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`

クラス java.lang.Object から継承したメソッド
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

フィールドの詳細

### dateText

    protected final javax.swing.JTextField dateText

コンストラクタの詳細

### DateField

    public DateField()

### DateField

    public DateField(java.util.Date initialDate)

  Alternate constructor that initializes the currently selected date to the specified date.

パラメータ:
  `initialDate` -

メソッドの詳細

### getDate

    public java.util.Date getDate()

  Returns the currently selected date or null if not set.

  戻り値:
    date

### setDate

    public void setDate(java.util.Date date)

### onButtonClick

    protected void onButtonClick(java.awt.event.ActionEvent e)

  Event handler that displays the DatePicker when the button is clicked.

  パラメータ:
    `e` -

### dateToString

    protected java.lang.String dateToString(java.util.Date dt)

  Returns a short string representation for the specified date (January 1, 2003).

  パラメータ:
    `dt` -
  戻り値:
    short string

### getDateFormat

    public java.text.DateFormat getDateFormat()

  戻り値:
    Returns the dateFormat.

### setDateFormat

    public void setDateFormat(java.text.DateFormat dateFormat)

  パラメータ:
    `dateFormat` - The dateFormat to set.

### getPattern

    public java.lang.String getPattern()

  戻り値:
    Returns the pattern.

### setPattern

    public void setPattern(java.lang.String pattern)

  パラメータ:
    `pattern` - The pattern to set.

### getText

    public java.lang.String getText()

  戻り値:

### isEditable

    public boolean isEditable()

  戻り値:

### setEditable

    public void setEditable(boolean b)

  パラメータ:
    `b` -

### setText

    public void setText(java.lang.String t)

  パラメータ:
    `t` -

概要 | パッケージ | クラス | 使用 | 階層ツリー | 非推奨 API | 索引 | ヘルプ
前のクラス 次のクラス | フレームあり フレームなし
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド

Copyright © 2004 asyrinx organization. All Rights Reserved.