Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## datechooser.beans
Class DateChooserCombo

    java.lang.Object
      java.awt.Component
          java.awt.Container
              javax.swing.JComponent
                  javax.swing.JPanel
                      datechooser.beans.DateChooserVisual
                          datechooser.beans.DateChooserCombo

All Implemented Interfaces:
  DateChooserBean, java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, javax.accessibility.Accessible

    public class DateChooserCombo

extends DateChooserVisual

Bean "Combo date editor".
Компонент: "Раскрываюийся редактор даты"

Since:
  1.0
Author:
  Androsov Vadim
See Also:
  Serialized Form

Nested Class Summary

Nested classes/interfaces inherited from class javax.swing.JPanel
`javax.swing.JPanel.AccessibleJPanel`

Nested classes/interfaces inherited from class javax.swing.JComponent
`javax.swing.JComponent.AccessibleJComponent`

Nested classes/interfaces inherited from class java.awt.Container
`java.awt.Container.AccessibleAWTContainer`

Nested classes/interfaces inherited from class java.awt.Component
`java.awt.Component.AccessibleAWTComponent, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy`

Field Summary
`protected boolean` | `autoEdit`
`static java.lang.String` | `COMBO_PREFIX` Combo property's name prefix.
`static java.lang.String` | `PROPERTY_BORDER` Property name.
`static java.lang.String` | `PROPERTY_DATE_FORMAT` Property name.
`static java.lang.String` | `PROPERTY_FIELD_FONT` Property name.
`static long` | `serialVersionUID`

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 datechooser.beans.DateChooserBean
`PREFIX, PROPERTY_AUTOSCROLL, PROPERTY_BACK_COLOR, PROPERTY_BEHAVIOR, PROPERTY_CALENDAR_SIZE, PROPERTY_CURRENT, PROPERTY_DEFAULT_DATES, PROPERTY_ENABLED, PROPERTY_FORBID_DATES, PROPERTY_LOCALE, PROPERTY_LOCKED, PROPERTY_MAX_DATE, PROPERTY_MIN_DATE, PROPERTY_NAVIG_FONT, PROPERTY_NAVIG_PANE, PROPERTY_NOTHING_ALLOWED, PROPERTY_ONE_MONTH, PROPERTY_VIEW, PROPERTY_WEEK_STYLE`

Fields inherited from interface java.awt.image.ImageObserver
`ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH`

Constructor Summary
`DateChooserCombo()`

Method Summary
`void` | `addCommitListener(CommitListener listener)` Adds listener for commit event.
`void` | `addCursorMoveListener(CursorMoveListener listener)` Adds listener for cursor move event.
`void` | `addSelectionChangedListener(SelectionChangedListener listener)` Adds listener for selection changed event.
`void` | `commit()` Commits selection.
`AppearancesList` | `getAppearancesList()` Gets skins list.
`MultyModelBehavior` | `getBehavior()` Selection model: one date, single period, multy.
`java.awt.Color` | `getCalendarBackground()` Background color for calendar panel.
`java.awt.Dimension` | `getCalendarPreferredSize()` Calendar panel preferred size.
`java.util.Calendar` | `getCurrent()` Current date (date under cursor).
`int` | `getCurrentNavigateIndex()` Navigation panels: 1) ComboBox for month selection, textfield for year, 2) Use only buttons.
`AppearancesList` | `getCurrentView()` Current calendar appearance.
`java.text.DateFormat` | `getDateFormat()` Get date format.
`PeriodSet` | `getDefaultPeriods()` Default date(s).
`java.awt.Font` | `getFieldFont()` Date field font.
`PeriodSet` | `getForbiddenPeriods()` Forbidden date(s).
`int` | `getFormat()` Date output format.
`java.util.Calendar` | `getMaxDate()` Maximal date user can select.
`java.util.Calendar` | `getMinDate()` Minimal date user can select.
`java.awt.Font` | `getNavigateFont()` Navigate panel font.
`java.util.Calendar` | `getSelectedDate()` Selected date.
`PeriodSet` | `getSelectedPeriodSet()` All selected dates.
`java.lang.Iterable<Period>` | `getSelection()` All selected dates.
`java.lang.String` | `getText()` Text in date field.
`WeekDaysStyle` | `getWeekStyle()` Weeddays output style: one letter, short, full.
`boolean` | `isAutoScroll()` If true component automatically scrolls when date from the next month selected, otherwise user can not select next month's date.
`boolean` | `isLocked()` If true - user can use calendar only in readonly mode, you can move cursor, scroll month and year, but can not select anything.
`boolean` | `isNothingAllowed()` Allows null selection.
`boolean` | `isShowOneMonth()` If true - days of next month are visible.
`void` | `removeCommitListener(CommitListener listener)` Removes listener for commit event.
`void` | `removeCursorMoveListener(CursorMoveListener listener)` Removes listener for cursor move event.
`void` | `removeSelectionChangedListener(SelectionChangedListener listener)` Removes listener for selection change event.
`void` | `setAutoScroll(boolean autoScroll)`
`void` | `setBehavior(MultyModelBehavior behavior)`
`void` | `setBorder(javax.swing.border.Border border)` Celendar panel border.
`void` | `setCalendarBackground(java.awt.Color backColor)`
`void` | `setCalendarPreferredSize(java.awt.Dimension dim)`
`boolean` | `setCurrent(java.util.Calendar aDate)`
`void` | `setCurrentNavigateIndex(int currentNavigateIndex)`
`void` | `setCurrentView(AppearancesList aList)`
`void` | `setDateFormat(java.text.DateFormat dateFormat)` Set date format.
`void` | `setDefaultPeriods(PeriodSet periods)` Задает значение по умолчанию.
`void` | `setEnabled(boolean enabled)`
`void` | `setFieldFont(java.awt.Font font)`
`void` | `setForbidden(java.lang.Iterable<Period> forbiddenPeriods)`
`void` | `setForbiddenPeriods(PeriodSet periods)` Sets forbiddent date(s).
`void` | `setFormat(int format)`
`void` | `setLocale(java.util.Locale locale)`
`void` | `setLocked(boolean lock)`
`void` | `setMaxDate(java.util.Calendar aDate)`
`void` | `setMinDate(java.util.Calendar aDate)`
`void` | `setNavigateFont(java.awt.Font font)`
`void` | `setNothingAllowed(boolean allow)`
`void` | `setSelectedDate(java.util.Calendar aDate)`
`void` | `setSelection(java.lang.Iterable<Period> periods)`
`void` | `setSelection(PeriodSet periods)`
`void` | `setShowOneMonth(boolean showOneMonth)`
`boolean` | `setText(java.lang.String text)` Sets date from string, uses current format.
`void` | `setWeekStyle(WeekDaysStyle weekStyle)`

Methods inherited from class datechooser.beans.DateChooserVisual
`clone, createTableCellEditor, createTableCellEditor, createTableCellRenderer, createTableCellRenderer`

Methods inherited from class javax.swing.JPanel
`getAccessibleContext, getUI, getUIClassID, paramString, setUI, 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, 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, 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, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, 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, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle`

Methods inherited from class java.lang.Object
`equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Methods inherited from interface datechooser.beans.DateChooserBean
`getLocale, isEnabled`

Field Detail

### serialVersionUID

    public static final long serialVersionUID

See Also:
  Constant Field Values

### COMBO_PREFIX

    public static final java.lang.String COMBO_PREFIX

  Combo property's name prefix.
  Приставка к названиям всех свойтсв раскрывающегося редактора.

  Since:
    1.0
  See Also:
    Constant Field Values

### PROPERTY_BORDER

    public static final java.lang.String PROPERTY_BORDER

  Property name.
  Название свойства.

  Since:
    1.0
  See Also:
    `setBorder(Border)`, Constant Field Values

### PROPERTY_FIELD_FONT

    public static final java.lang.String PROPERTY_FIELD_FONT

  Property name.
  Название свойства.

  Since:
    1.0
  See Also:
    `getFieldFont()`, Constant Field Values

### PROPERTY_DATE_FORMAT

    public static final java.lang.String PROPERTY_DATE_FORMAT

  Property name.
  Название свойства.

  Since:
    1.0
  See Also:
    `getFormat()`, Constant Field Values

### autoEdit

    protected boolean autoEdit

Constructor Detail

### DateChooserCombo

    public DateChooserCombo()

Method Detail

### setBorder

    public void setBorder(javax.swing.border.Border border)

  Celendar panel border.
  Граница панели.

  Overrides:
    `setBorder` in class `javax.swing.JComponent`
  Since:
    1.0

### getText

    public java.lang.String getText()

  Text in date field.
  Возвращает выбранную дату в виде строки в заданном формате.

  Returns:
    Selected date(s) in text format.
    Выбранные даты в текстовом формате.
  See Also:
    `getFormat()`

### setText

    public boolean setText(java.lang.String text)

  Sets date from string, uses current format. Works only for single selection behavior
  `dateChooserCombo.setBehavior(MultyModelBehavior.SELECT_SINGLE);
  dateChooserCombo.setText("");`
  Устанавливает дату по строковому представлению. Учитывается установленный формат. Работает только для единичного выбора.

  Parameters:
    `text` - Text to set. Null or empty string selects empty date.
    Текст с датой. Null или пустая строка позволяют сделать пустой выбор (не выбрать ни одной даты)
  Returns:
    True if date was successfully set.
    Истина если значение даты было успешно установлено.
  See Also:
    `getFormat()`, `MultyModelBehavior`

### getCalendarPreferredSize

    public java.awt.Dimension getCalendarPreferredSize()

  Description copied from interface: `DateChooserBean`
  Calendar panel preferred size.
  Предпочтительный размер панели календаря.

### setCalendarPreferredSize

    public void setCalendarPreferredSize(java.awt.Dimension dim)

  See Also:
    `DateChooserBean.getCalendarPreferredSize()`

### getFieldFont

    public java.awt.Font getFieldFont()

  Date field font.
  Шрифт поля, в котором выводится дата.

  Since:
    1.0

### setFieldFont

    public void setFieldFont(java.awt.Font font)

  See Also:
    `getFieldFont()`

### getFormat

    public int getFormat()

  Date output format.
  Фомат вывода даты.

  Since:
    1.0
  See Also:
    `DateFormat`

### setFormat

    public void setFormat(int format)

  See Also:
    `getFormat()`, `DateFormat`

### getBehavior

    public MultyModelBehavior getBehavior()

  Description copied from interface: `DateChooserBean`
  Selection model: one date, single period, multy.
  Модель выбора календаря: одна дата, один период или множественный.

  See Also:
    `MultyModelBehavior`

### getCurrentView

    public AppearancesList getCurrentView()

  Description copied from interface: `DateChooserBean`
  Current calendar appearance.
  Текущий внешинй вид календаря.

  See Also:
    `AppearancesList`

### getDefaultPeriods

    public PeriodSet getDefaultPeriods()

  Description copied from interface: `DateChooserBean`
  Default date(s).
  Множество дат, выбранных по умолчанию.

  See Also:
    `PeriodSet`, `DateChooserBean.setDefaultPeriods(PeriodSet)`

### getForbiddenPeriods

    public PeriodSet getForbiddenPeriods()

  Description copied from interface: `DateChooserBean`
  Forbidden date(s).
  Множество запрещенных дат.

  See Also:
    `PeriodSet`, `DateChooserBean.setForbiddenPeriods(PeriodSet)`

### getMaxDate

    public java.util.Calendar getMaxDate()

  Description copied from interface: `DateChooserBean`
  Maximal date user can select.
  Максимально допустимая для выбора дата.

  See Also:
    `DateChooserBean.setMaxDate(Calendar)`

### getMinDate

    public java.util.Calendar getMinDate()

  Description copied from interface: `DateChooserBean`
  Minimal date user can select.
  Минимально допустимая для выбора дата.

  See Also:
    `DateChooserBean.setMinDate(Calendar)`

### getSelectedDate

    public java.util.Calendar getSelectedDate()

  Description copied from interface: `DateChooserBean`
  Selected date.
  Выбранная дата.

  Returns:
    Selected date. First date if some dates or period(s) selected
    Выбранная дата. Если выбрано несколько дат, вернет первую.

### getSelectedPeriodSet

    public PeriodSet getSelectedPeriodSet()

  Description copied from interface: `DateChooserBean`
  All selected dates.
  Множество выбранных дат.

  See Also:
    `PeriodSet`

### getSelection

    public java.lang.Iterable<Period> getSelection()

  Description copied from interface: `DateChooserBean`
  All selected dates.
  Множество выбранных дат.

  See Also:
    `Period`

### isAutoScroll

    public boolean isAutoScroll()

  Description copied from interface: `DateChooserBean`
  If true component automatically scrolls when date from the next month selected, otherwise user can not select next month's date.
  Если данное свойство истинно, календарь автоматически прокручивается при выборе даты из сосещнего месяца, иначе выбор дня из соседнего месяца не допускается.

### isShowOneMonth

    public boolean isShowOneMonth()

  Description copied from interface: `DateChooserBean`
  If true - days of next month are visible. Does not influence scroll property.
  Если свойство истинно, отображаются дни из соседнего месяца. На прокрутку это свойство никак не влияет.

### setAutoScroll

    public void setAutoScroll(boolean autoScroll)

  See Also:
    `DateChooserBean.isAutoScroll()`

### setBehavior

    public void setBehavior(MultyModelBehavior behavior)

  See Also:
    `DateChooserBean.getBehavior()`

### setCurrentView

    public void setCurrentView(AppearancesList aList)

  See Also:
    `DateChooserBean.getCurrentView()`

### setDefaultPeriods

    public void setDefaultPeriods(PeriodSet periods)
                           throws IncompatibleDataExeption

  Description copied from interface: `DateChooserBean`
  Задает значение по умолчанию. Нельзя сделать по умолчанию запрещенные даты, но можно лежащие за пределами минимальной и максимальной.

  Throws:
    `IncompatibleDataExeption` - Возникает при попытке задать по умолчанию запрещенные даты.
  See Also:
    `DateChooserBean.getDefaultPeriods()`, `PeriodSet`, `IncompatibleDataExeption`

### setEnabled

    public void setEnabled(boolean enabled)

  Specified by:
    `setEnabled` in interface `DateChooserBean`
  Overrides:
    `setEnabled` in class `javax.swing.JComponent`
  See Also:
    `DateChooserBean.isEnabled()`

### setForbidden

    public void setForbidden(java.lang.Iterable<Period> forbiddenPeriods)

  See Also:
    `DateChooserBean.setForbiddenPeriods(PeriodSet)`, `Period`

### setForbiddenPeriods

    public void setForbiddenPeriods(PeriodSet periods)
                             throws IncompatibleDataExeption

  Description copied from interface: `DateChooserBean`
  Sets forbiddent date(s). You can not forbid default date(s).
  Задает запрещенные даты. Нельзя запретить даты по умолчанию.

  Throws:
    `IncompatibleDataExeption` - If you are trying to forbid default date.
    Возникает при попытке запретить дату по умолчанию.
  See Also:
    `DateChooserBean.getForbiddenPeriods()`, `PeriodSet`, `IncompatibleDataExeption`

### setMaxDate

    public void setMaxDate(java.util.Calendar aDate)

  See Also:
    `DateChooserBean.getMaxDate()`

### setMinDate

    public void setMinDate(java.util.Calendar aDate)

  See Also:
    `DateChooserBean.getMinDate()`

### setSelectedDate

    public void setSelectedDate(java.util.Calendar aDate)

  See Also:
    `DateChooserBean.getSelectedDate()`

### setSelection

    public void setSelection(java.lang.Iterable<Period> periods)

  See Also:
    `DateChooserBean.getSelection()`

### setSelection

    public void setSelection(PeriodSet periods)

  See Also:
    `DateChooserBean.getSelectedPeriodSet()`

### setShowOneMonth

    public void setShowOneMonth(boolean showOneMonth)

  See Also:
    `DateChooserBean.isShowOneMonth()`

### getNavigateFont

    public java.awt.Font getNavigateFont()

  Description copied from interface: `DateChooserBean`
  Navigate panel font.
  Шрифт панели навигации.

  See Also:
    `DateChooserBean.setCurrentNavigateIndex(int)`

### setNavigateFont

    public void setNavigateFont(java.awt.Font font)

  See Also:
    `DateChooserBean.getNavigateFont()`

### setLocale

    public void setLocale(java.util.Locale locale)

  Specified by:
    `setLocale` in interface `DateChooserBean`
  Overrides:
    `setLocale` in class `java.awt.Component`
  See Also:
    `DateChooserBean.getLocale()`

### getCurrentNavigateIndex

    public int getCurrentNavigateIndex()

  Description copied from interface: `DateChooserBean`
  Navigation panels:
  1) ComboBox for month selection, textfield for year,
  2) Use only buttons.
  Навигационная панель: 1) Месяц выбирается с помощью раскрывающегося списка, год - поля 2) Все выбирается с помощью кнопок.

### setCurrentNavigateIndex

    public void setCurrentNavigateIndex(int currentNavigateIndex)

  See Also:
    `DateChooserBean.getCurrentNavigateIndex()`

### addCommitListener

    public void addCommitListener(CommitListener listener)

  Description copied from interface: `DateChooserBean`
  Adds listener for commit event.
  Добавляет слушателя события "подтверждение выбора" (commit).

  See Also:
    `CommitListener`, `CommitEvent`

### removeCommitListener

    public void removeCommitListener(CommitListener listener)

  Description copied from interface: `DateChooserBean`
  Removes listener for commit event.
  Удаляет слушателя события "подтверждение выбора" (commit).

  See Also:
    `CommitListener`, `CommitEvent`

### addSelectionChangedListener

    public void addSelectionChangedListener(SelectionChangedListener listener)

  Description copied from interface: `DateChooserBean`
  Adds listener for selection changed event. Добавляет слушателя события "изменение выбора".

  See Also:
    `SelectionChangedListener`, `SelectionChangedEvent`

### removeSelectionChangedListener

    public void removeSelectionChangedListener(SelectionChangedListener listener)

  Description copied from interface: `DateChooserBean`
  Removes listener for selection change event.
  Удаляет слушателя события "изменение выбора".

  See Also:
    `SelectionChangedListener`, `SelectionChangedEvent`

### commit

    public void commit()

  Description copied from interface: `DateChooserBean`
  Commits selection.
  Подтверждает выбор.

### isLocked

    public boolean isLocked()

  Description copied from interface: `DateChooserBean`
  If true - user can use calendar only in readonly mode, you can move cursor, scroll month and year, but can not select anything.
  Если истинно - календарь можно использовать только для просмотра значений. Можно перемещать курсор, переключать месяцы и годы, но нельзы что-то выбрать.

### setLocked

    public void setLocked(boolean lock)

  See Also:
    `DateChooserBean.isLocked()`

### getWeekStyle

    public WeekDaysStyle getWeekStyle()

  Description copied from interface: `DateChooserBean`
  Weeddays output style: one letter, short, full.
  Возвращает стиль вывода дней недели: одной буквой, кратко, полностью.

  See Also:
    `WeekDaysStyle`

### setWeekStyle

    public void setWeekStyle(WeekDaysStyle weekStyle)

  See Also:
    `DateChooserBean.getWeekStyle()`

### addCursorMoveListener

    public void addCursorMoveListener(CursorMoveListener listener)

  Description copied from interface: `DateChooserBean`
  Adds listener for cursor move event.
  Добавляет слушателя события "перемещение курсора".

  See Also:
    `CursorMoveListener`, `CursorMoveEvent`

### removeCursorMoveListener

    public void removeCursorMoveListener(CursorMoveListener listener)

  Description copied from interface: `DateChooserBean`
  Removes listener for cursor move event.
  Удаляет слушателя события "перемещение курсора".

  See Also:
    `CursorMoveListener`, `CursorMoveEvent`

### getCurrent

    public java.util.Calendar getCurrent()

  Description copied from interface: `DateChooserBean`
  Current date (date under cursor).
  Дата, на которой находится курсор.

### setCurrent

    public boolean setCurrent(java.util.Calendar aDate)

  See Also:
    `DateChooserBean.getCurrent()`

### setNothingAllowed

    public void setNothingAllowed(boolean allow)

  See Also:
    `DateChooserBean.isNothingAllowed()`

### isNothingAllowed

    public boolean isNothingAllowed()

  Description copied from interface: `DateChooserBean`
  Allows null selection.
  Разрешает не выбирать ни одной даты (делать пустой выбор).

### getCalendarBackground

    public java.awt.Color getCalendarBackground()

  Description copied from interface: `DateChooserBean`
  Background color for calendar panel. Visible only if some of day cells are transparent.
  Цвет фона панели календаря. Внимание! Влияет на внешний вид только при условии прозрачности ячеек выбора дня.

### setCalendarBackground

    public void setCalendarBackground(java.awt.Color backColor)

  See Also:
    `DateChooserBean.getCalendarBackground()`

### getAppearancesList

    public AppearancesList getAppearancesList()

  Description copied from interface: `DateChooserBean`
  Gets skins list. Возвращает список скинов.

  Returns:
    Appearances list. Специальный объект - список представлений.

### getDateFormat

    public java.text.DateFormat getDateFormat()

  Get date format. If you used setDateFormat with not null parameter, setFormat will be ignored. EXPERIMENTAL!
  Экспериментальная функция. Если установлено не null - настройка с помощью метода setFormat (а значит и все визуальные настройки этого свойства) будут игнорироваться. В следующих версиях политика выбора формата будет более основательно продумана.

  Since:
    1.1

### setDateFormat

    public void setDateFormat(java.text.DateFormat dateFormat)

  Set date format. If you set not null setFormat will be ignored. To turn on setFormat (and visual format property customization) call setDateFormat(null). EXPERIMENTAL!
  Экспериментальная функция. Позволяет установить формат вывода и ввода даты. Если установлено не null - настройка с помощью метода setFormat (а значит и все визуальные настройки этого свойства) будут игнорироваться. Установите null чтобы метод setFormat заработал по-старому.

  Since:
    1.1

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD