org.asyrinx.brownie.swing
クラス DatePicker

java.lang.Object
  拡張java.awt.Component
      拡張java.awt.Container
          拡張javax.swing.JComponent
              拡張javax.swing.JPanel
                  拡張org.asyrinx.brownie.swing.DatePicker
すべての実装インタフェース:
javax.accessibility.Accessible, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public final class DatePicker
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
 
フィールドの概要
 
クラス 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
 
コンストラクタの概要
DatePicker()
          Default constructor that sets the currently selected date to the current date.
DatePicker(java.util.Date initialDate)
          Alternate constructor that sets the currently selected date to the specified date if non-null.
 
メソッドの概要
 java.util.Date getDate()
          Returns the currently selected date.
 java.text.DateFormat getTitleDateFormat()
           
 boolean isHideOnSelect()
          Returns true if the panel will be made invisible after a day is selected.
protected  void onCancel(java.awt.event.ActionEvent evt)
          Event handler for the Cancel button that unsets the currently selected date.
protected  void onDayClicked(java.awt.event.MouseEvent evt)
          Event handler that sets the currently selected date to the clicked day.
protected  void onMonthBackClicked(java.awt.event.ActionEvent evt)
          Event handler for the back button that decrements the currently selected month.
protected  void onMonthForwardClicked(java.awt.event.ActionEvent evt)
          Event handler for the forward button that increments the currently selected month.
protected  void onToday(java.awt.event.ActionEvent evt)
          Event handler for the Today button that sets the currently selected date to the current date.
protected  void onYearBackClicked(java.awt.event.ActionEvent evt)
          Event handler for the back button that decrements the currently selected month.
protected  void onYearForwardClicked(java.awt.event.ActionEvent evt)
          Event handler for the forward button that increments the currently selected month.
 void setHideOnSelect(boolean hideOnSelect)
          Controls whether the panel will be made invisible after a day is selected.
 void setTitleDateFormat(java.text.DateFormat titleDateFormat)
           
 
クラス 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
 

コンストラクタの詳細

DatePicker

public DatePicker()
Default constructor that sets the currently selected date to the current date.


DatePicker

public DatePicker(java.util.Date initialDate)
Alternate constructor that sets the currently selected date to the specified date if non-null.

パラメータ:
initialDate -
メソッドの詳細

isHideOnSelect

public boolean isHideOnSelect()
Returns true if the panel will be made invisible after a day is selected.

戻り値:
true or false

setHideOnSelect

public void setHideOnSelect(boolean hideOnSelect)
Controls whether the panel will be made invisible after a day is selected.

パラメータ:
hideOnSelect -

getDate

public java.util.Date getDate()
Returns the currently selected date.

戻り値:
date

onToday

protected void onToday(java.awt.event.ActionEvent evt)
Event handler for the Today button that sets the currently selected date to the current date.

パラメータ:
evt -

onCancel

protected void onCancel(java.awt.event.ActionEvent evt)
Event handler for the Cancel button that unsets the currently selected date.

パラメータ:
evt -

onMonthForwardClicked

protected void onMonthForwardClicked(java.awt.event.ActionEvent evt)
Event handler for the forward button that increments the currently selected month.

パラメータ:
evt -

onMonthBackClicked

protected void onMonthBackClicked(java.awt.event.ActionEvent evt)
Event handler for the back button that decrements the currently selected month.

パラメータ:
evt -

onYearForwardClicked

protected void onYearForwardClicked(java.awt.event.ActionEvent evt)
Event handler for the forward button that increments the currently selected month.

パラメータ:
evt -

onYearBackClicked

protected void onYearBackClicked(java.awt.event.ActionEvent evt)
Event handler for the back button that decrements the currently selected month.

パラメータ:
evt -

onDayClicked

protected void onDayClicked(java.awt.event.MouseEvent evt)
Event handler that sets the currently selected date to the clicked day.

パラメータ:
evt -

getTitleDateFormat

public java.text.DateFormat getTitleDateFormat()
戻り値:
Returns the titleDateFormat.

setTitleDateFormat

public void setTitleDateFormat(java.text.DateFormat titleDateFormat)
パラメータ:
titleDateFormat - The titleDateFormat to set.


Copyright © 2004 asyrinx organization. All Rights Reserved.