Java Date Picker v2.0.0

com.standbysoft.datepicker
Class JMonthView

java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--javax.swing.JComponent
                    |
                    +--com.standbysoft.datepicker.JMonthView
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable

public class JMonthView
extends javax.swing.JComponent

A calendar is a component capable of displaying one or more months.

See Also:
Serialized Form

Inner classes inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Fields inherited from class javax.swing.JComponent
TOOL_TIP_TEXT_KEY, 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 java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
JMonthView()
           
 
Method Summary
 void addDateSelectionListener(DateSelectionListener listener)
           
 void addMonthModelListener(MonthModelListener listener)
           
 DateSelectionModel getDateSelectionModel()
           
 int getDowFirst()
           
 java.util.Locale getLocale()
           
 java.awt.Color getMonthBackground()
           
 MonthModel getMonthModel()
           
 java.awt.Color getTitleBackground()
           
 java.awt.Color getTitleForeground()
           
 java.awt.Color getTrailingForeground()
           
 MonthViewUI getUI()
          Returns the L&F object that renders this component.
 java.lang.String getUIClassID()
          Returns the name of the L&F class that renders this component.
 boolean isDisplayToday()
           
 boolean isFocusTraversable()
           
 boolean isWeekNumbersVisible()
           
 void removeDateSelectionListener(DateSelectionListener listener)
           
 void removeMonthModelListener(MonthModelListener listener)
           
 void setDateSelectionModel(DateSelectionModel dateSelectionModel)
           
 void setDisplayToday(boolean displayToday)
           
 void setDowFirst(int day)
           
 void setLocale(java.util.Locale locale)
           
 void setMonthBackground(java.awt.Color monthBackgroundColor)
           
 void setMonthModel(MonthModel model)
           
 void setTitleBackground(java.awt.Color titleBackgroundColor)
           
 void setTitleForeground(java.awt.Color titleForegroundColor)
           
 void setTrailingForeground(java.awt.Color trailingForegroundColor)
           
 void setUI(MonthViewUI ui)
          Sets the L&F object that renders this component.
 void setWeekNumbersVisible(boolean displayWeekNumbers)
           
 void updateUI()
          Resets the UI property to a value from the current look and feel.
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, enable, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getAccessibleContext, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAutoscrolls, getBorder, getBounds, getClientProperty, getConditionForKeyStroke, getDebugGraphicsOptions, getGraphics, getHeight, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getVerifyInputWhenFocusTarget, getVisibleRect, getWidth, getX, getY, grabFocus, hasFocus, hide, isDoubleBuffered, isFocusCycleRoot, isLightweightComponent, isManagingFocus, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isOptimizedDrawingEnabled, isPaintingTile, isPreferredSizeSet, isRequestFocusEnabled, isValidateRoot, paint, paintImmediately, paintImmediately, print, printAll, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setDebugGraphicsOptions, setDoubleBuffered, setEnabled, setFont, setForeground, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, add, addContainerListener, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getLayout, insets, invalidate, isAncestorOf, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, remove, remove, removeAll, removeContainerListener, setLayout, validate
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, bounds, checkImage, checkImage, contains, createImage, createImage, dispatchEvent, enable, enableInputMethods, getBackground, getBounds, getColorModel, getComponentOrientation, getCursor, getDropTarget, getFont, getFontMetrics, getForeground, getGraphicsConfiguration, getInputContext, getInputMethodRequests, getLocation, getLocationOnScreen, getName, getParent, getPeer, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, imageUpdate, inside, isDisplayable, isEnabled, isLightweight, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JMonthView

public JMonthView()
Method Detail

setUI

public void setUI(MonthViewUI ui)
Sets the L&F object that renders this component.
Parameters:
ui - the MonthViewUI L&F object

updateUI

public void updateUI()
Resets the UI property to a value from the current look and feel.
Overrides:
updateUI in class javax.swing.JComponent
See Also:
JComponent.updateUI()

getUIClassID

public java.lang.String getUIClassID()
Returns the name of the L&F class that renders this component.
Overrides:
getUIClassID in class javax.swing.JComponent
Returns:
the string "MonthViewUI"
See Also:
JComponent.getUIClassID()

getUI

public MonthViewUI getUI()
Returns the L&F object that renders this component.
Returns:
the MonthUI object that renders this component

isFocusTraversable

public boolean isFocusTraversable()
Overrides:
isFocusTraversable in class javax.swing.JComponent

addDateSelectionListener

public void addDateSelectionListener(DateSelectionListener listener)

removeDateSelectionListener

public void removeDateSelectionListener(DateSelectionListener listener)

getDateSelectionModel

public DateSelectionModel getDateSelectionModel()

setDateSelectionModel

public void setDateSelectionModel(DateSelectionModel dateSelectionModel)

addMonthModelListener

public void addMonthModelListener(MonthModelListener listener)

removeMonthModelListener

public void removeMonthModelListener(MonthModelListener listener)

getMonthModel

public MonthModel getMonthModel()

setMonthModel

public void setMonthModel(MonthModel model)

setLocale

public void setLocale(java.util.Locale locale)
Overrides:
setLocale in class java.awt.Component

getLocale

public java.util.Locale getLocale()
Overrides:
getLocale in class java.awt.Component

setDowFirst

public void setDowFirst(int day)

getDowFirst

public int getDowFirst()

isDisplayToday

public boolean isDisplayToday()

setDisplayToday

public void setDisplayToday(boolean displayToday)

isWeekNumbersVisible

public boolean isWeekNumbersVisible()

setWeekNumbersVisible

public void setWeekNumbersVisible(boolean displayWeekNumbers)

getTitleBackground

public java.awt.Color getTitleBackground()

setTitleBackground

public void setTitleBackground(java.awt.Color titleBackgroundColor)

getTitleForeground

public java.awt.Color getTitleForeground()

setTitleForeground

public void setTitleForeground(java.awt.Color titleForegroundColor)

getTrailingForeground

public java.awt.Color getTrailingForeground()

setTrailingForeground

public void setTrailingForeground(java.awt.Color trailingForegroundColor)

getMonthBackground

public java.awt.Color getMonthBackground()

setMonthBackground

public void setMonthBackground(java.awt.Color monthBackgroundColor)

Java Date Picker v2.0.0

Copyright © 2003 Standby Soft Ltd. All Rights Reserved.