pivot.wtk.skin
Class CalendarSkin
java.lang.Object
pivot.wtk.skin.ComponentSkin
pivot.wtk.skin.ContainerSkin
pivot.wtk.skin.CalendarSkin
- All Implemented Interfaces:
- CalendarListener, CalendarSelectionListener, ComponentKeyListener, ComponentLayoutListener, ComponentListener, ComponentMouseButtonListener, ComponentMouseListener, ComponentMouseWheelListener, ComponentStateListener, ConstrainedVisual, ContainerListener, Skin, Visual
- Direct Known Subclasses:
- TerraCalendarSkin
public abstract class CalendarSkin
- extends ContainerSkin
- implements CalendarListener, CalendarSelectionListener
Abstract base class for calendar skins.
- Author:
- gbrown
Methods inherited from class pivot.wtk.skin.ContainerSkin |
componentInserted, componentsRemoved, contextKeyChanged, focusTraversalPolicyChanged, getBackgroundColor, getBackgroundPaint, getPreferredHeight, getPreferredWidth, isFocusable, isOpaque, paint, setBackgroundColor, setBackgroundColor, setBackgroundPaint, setBackgroundPaint |
Methods inherited from class pivot.wtk.skin.ComponentSkin |
cursorChanged, displayableChanged, enabledChanged, focusedChanged, getComponent, getHeight, getPreferredSize, getWidth, invalidateComponent, keyPressed, keyReleased, keyTyped, locationChanged, mouseClick, mouseDown, mouseMove, mouseOut, mouseOver, mouseUp, mouseWheel, parentChanged, preferredSizeChanged, repaintComponent, repaintComponent, repaintComponent, repaintComponent, setSize, sizeChanged, styleUpdated, tooltipTextChanged, visibleChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface pivot.wtk.Skin |
layout |
CalendarSkin
public CalendarSkin()
install
public void install(Component component)
- Description copied from interface:
Skin
- Associates a skin with a component.
- Specified by:
install
in interface Skin
- Overrides:
install
in class ContainerSkin
- Parameters:
component
- The component to which the skin is being attached.
uninstall
public void uninstall()
- Description copied from interface:
Skin
- Dissociates a skin from a component.
- Specified by:
uninstall
in interface Skin
- Overrides:
uninstall
in class ContainerSkin
yearChanged
public void yearChanged(Calendar calendar,
int previousYear)
- Description copied from interface:
CalendarListener
- Called when a calendar's year value has changed.
- Specified by:
yearChanged
in interface CalendarListener
monthChanged
public void monthChanged(Calendar calendar,
int previousMonth)
- Description copied from interface:
CalendarListener
- Called when a calendar's month value has changed.
- Specified by:
monthChanged
in interface CalendarListener
selectedDateKeyChanged
public void selectedDateKeyChanged(Calendar calendar,
String previousSelectedDateKey)
- Description copied from interface:
CalendarListener
- Called when a calendar's selected date key has changed.
- Specified by:
selectedDateKeyChanged
in interface CalendarListener
localeChanged
public void localeChanged(Calendar calendar,
Locale previousLocale)
- Description copied from interface:
CalendarListener
- Called when a calendar's locale has changed.
- Specified by:
localeChanged
in interface CalendarListener
selectedDateChanged
public void selectedDateChanged(Calendar calendar,
CalendarDate previousSelectedDate)
- Description copied from interface:
CalendarSelectionListener
- Called when a calendar's selected date has changed.
- Specified by:
selectedDateChanged
in interface CalendarSelectionListener