org.apache.pivot.wtk.skin.terra
Class TerraCalendarSkin
java.lang.Object
org.apache.pivot.wtk.skin.ComponentSkin
org.apache.pivot.wtk.skin.ContainerSkin
org.apache.pivot.wtk.skin.CalendarSkin
org.apache.pivot.wtk.skin.terra.TerraCalendarSkin
- All Implemented Interfaces:
- org.apache.pivot.wtk.CalendarListener, org.apache.pivot.wtk.CalendarSelectionListener, org.apache.pivot.wtk.ComponentKeyListener, org.apache.pivot.wtk.ComponentListener, org.apache.pivot.wtk.ComponentMouseButtonListener, org.apache.pivot.wtk.ComponentMouseListener, org.apache.pivot.wtk.ComponentMouseWheelListener, org.apache.pivot.wtk.ComponentStateListener, org.apache.pivot.wtk.ComponentTooltipListener, org.apache.pivot.wtk.ConstrainedVisual, org.apache.pivot.wtk.ContainerListener, org.apache.pivot.wtk.ContainerMouseListener, org.apache.pivot.wtk.Skin, org.apache.pivot.wtk.Visual
public class TerraCalendarSkin
- extends org.apache.pivot.wtk.skin.CalendarSkin
Terra calendar skin.
| Nested classes/interfaces inherited from class org.apache.pivot.wtk.skin.ContainerSkin |
org.apache.pivot.wtk.skin.ContainerSkin.IndexFocusTraversalPolicy |
| Nested classes/interfaces inherited from interface org.apache.pivot.wtk.CalendarListener |
org.apache.pivot.wtk.CalendarListener.Adapter |
| Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ContainerListener |
org.apache.pivot.wtk.ContainerListener.Adapter |
| Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ContainerMouseListener |
org.apache.pivot.wtk.ContainerMouseListener.Adapter |
| Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentListener |
org.apache.pivot.wtk.ComponentListener.Adapter |
| Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentStateListener |
org.apache.pivot.wtk.ComponentStateListener.Adapter |
| Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentMouseListener |
org.apache.pivot.wtk.ComponentMouseListener.Adapter |
| Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentMouseButtonListener |
org.apache.pivot.wtk.ComponentMouseButtonListener.Adapter |
| Nested classes/interfaces inherited from interface org.apache.pivot.wtk.ComponentKeyListener |
org.apache.pivot.wtk.ComponentKeyListener.Adapter |
| Methods inherited from class org.apache.pivot.wtk.skin.ContainerSkin |
componentInserted, componentMoved, componentsRemoved, focusTraversalPolicyChanged, getBackgroundColor, getBackgroundPaint, isFocusable, isOpaque, mouseDown, mouseMove, mouseUp, mouseWheel, setBackgroundColor, setBackgroundColor, setBackgroundPaint, setBackgroundPaint, setBackgroundPaint |
| Methods inherited from class org.apache.pivot.wtk.skin.ComponentSkin |
cursorChanged, decodeFont, dragSourceChanged, dropTargetChanged, enabledChanged, focusedChanged, getBaseline, getComponent, getHeight, getWidth, heightLimitsChanged, invalidateComponent, keyPressed, keyReleased, keyTyped, locationChanged, menuHandlerChanged, mouseClick, mouseDown, mouseMove, mouseOut, mouseOver, mouseUp, mouseWheel, nameChanged, parentChanged, preferredSizeChanged, repaintComponent, repaintComponent, repaintComponent, repaintComponent, repaintComponent, setSize, sizeChanged, tooltipDelayChanged, tooltipTextChanged, tooltipTriggered, visibleChanged, widthLimitsChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TerraCalendarSkin
public TerraCalendarSkin()
install
public void install(org.apache.pivot.wtk.Component component)
- Specified by:
install in interface org.apache.pivot.wtk.Skin- Overrides:
install in class org.apache.pivot.wtk.skin.CalendarSkin
getPreferredWidth
public int getPreferredWidth(int height)
- Specified by:
getPreferredWidth in interface org.apache.pivot.wtk.ConstrainedVisual- Overrides:
getPreferredWidth in class org.apache.pivot.wtk.skin.ContainerSkin
getPreferredHeight
public int getPreferredHeight(int width)
- Specified by:
getPreferredHeight in interface org.apache.pivot.wtk.ConstrainedVisual- Overrides:
getPreferredHeight in class org.apache.pivot.wtk.skin.ContainerSkin
getPreferredSize
public org.apache.pivot.wtk.Dimensions getPreferredSize()
- Specified by:
getPreferredSize in interface org.apache.pivot.wtk.ConstrainedVisual- Overrides:
getPreferredSize in class org.apache.pivot.wtk.skin.ComponentSkin
getBaseline
public int getBaseline(int width,
int height)
- Specified by:
getBaseline in interface org.apache.pivot.wtk.ConstrainedVisual- Overrides:
getBaseline in class org.apache.pivot.wtk.skin.ComponentSkin
layout
public void layout()
paint
public void paint(Graphics2D graphics)
- Specified by:
paint in interface org.apache.pivot.wtk.Visual- Overrides:
paint in class org.apache.pivot.wtk.skin.ContainerSkin
getFont
public Font getFont()
setFont
public void setFont(Font font)
setFont
public final void setFont(String font)
setFont
public final void setFont(org.apache.pivot.collections.Dictionary<String,?> font)
getColor
public Color getColor()
setColor
public void setColor(Color color)
setColor
public final void setColor(String color)
getDisabledColor
public Color getDisabledColor()
setDisabledColor
public void setDisabledColor(Color disabledColor)
setDisabledColor
public final void setDisabledColor(String disabledColor)
getSelectionColor
public Color getSelectionColor()
setSelectionColor
public void setSelectionColor(Color selectionColor)
setSelectionColor
public final void setSelectionColor(String selectionColor)
getSelectionBackgroundColor
public Color getSelectionBackgroundColor()
setSelectionBackgroundColor
public void setSelectionBackgroundColor(Color selectionBackgroundColor)
setSelectionBackgroundColor
public final void setSelectionBackgroundColor(String selectionBackgroundColor)
getHighlightColor
public Color getHighlightColor()
setHighlightColor
public void setHighlightColor(Color highlightColor)
setHighlightColor
public final void setHighlightColor(String highlightColor)
getHighlightBackgroundColor
public Color getHighlightBackgroundColor()
setHighlightBackgroundColor
public void setHighlightBackgroundColor(Color highlightBackgroundColor)
setHighlightBackgroundColor
public final void setHighlightBackgroundColor(String highlightBackgroundColor)
getDividerColor
public Color getDividerColor()
setDividerColor
public void setDividerColor(Color dividerColor)
setDividerColor
public final void setDividerColor(String dividerColor)
getPadding
public int getPadding()
setPadding
public void setPadding(int padding)
setPadding
public final void setPadding(Number padding)
yearChanged
public void yearChanged(org.apache.pivot.wtk.Calendar calendar,
int previousYear)
monthChanged
public void monthChanged(org.apache.pivot.wtk.Calendar calendar,
int previousMonth)
localeChanged
public void localeChanged(org.apache.pivot.wtk.Calendar calendar,
Locale previousLocale)
disabledDateFilterChanged
public void disabledDateFilterChanged(org.apache.pivot.wtk.Calendar calendar,
org.apache.pivot.util.Filter<org.apache.pivot.util.CalendarDate> previousDisabledDateFilter)
selectedDateChanged
public void selectedDateChanged(org.apache.pivot.wtk.Calendar calendar,
org.apache.pivot.util.CalendarDate previousSelectedDate)