|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.plaf.ComponentUI
org.jdesktop.swingx.plaf.MonthViewUI
org.jdesktop.swingx.plaf.basic.BasicMonthViewUI
org.pushingpixels.substance.swingx.SubstanceMonthViewUI
public class SubstanceMonthViewUI
Substance-consistent UI delegate for JXMonthView
.
Nested Class Summary | |
---|---|
protected class |
SubstanceMonthViewUI.DayRepaintCallback
Repaints a single day during the fade animation cycle. |
protected class |
SubstanceMonthViewUI.MonthRepaintCallback
Repaints a single month during the fade animation cycle. |
protected class |
SubstanceMonthViewUI.SubstanceRenderingHandler
|
Nested classes/interfaces inherited from class org.jdesktop.swingx.plaf.basic.BasicMonthViewUI |
---|
org.jdesktop.swingx.plaf.basic.BasicMonthViewUI.RenderingHandler |
Field Summary | |
---|---|
protected org.pushingpixels.substance.swingx.SubstanceMonthViewUI.DateId |
rolloverDateId
|
protected java.util.Set<org.pushingpixels.substance.swingx.SubstanceMonthViewUI.DateId> |
selectedDates
Holds the list of currently selected days. |
protected org.pushingpixels.substance.swingx.SubstanceMonthViewUI.DayRolloverFadeListener |
substanceFadeRolloverListener
Listener for transition animations on rollovers. |
protected org.jdesktop.swingx.event.DateSelectionListener |
substanceFadeSelectionListener
Listener for transition animations on day selections. |
Fields inherited from class org.jdesktop.swingx.plaf.basic.BasicMonthViewUI |
---|
calendarGrid, DAY_HEADER_ROW, DAYS_IN_WEEK, FIRST_DAY_COLUMN, FIRST_WEEK_ROW, isLeftToRight, LAST_DAY_COLUMN, LAST_WEEK_ROW, MONTH_DOWN, MONTH_UP, monthDownImage, monthsOfTheYear, monthUpImage, monthView, WEEK_HEADER_COLUMN, WEEKS_IN_MONTH |
Constructor Summary | |
---|---|
SubstanceMonthViewUI()
Creates a new UI delegate. |
Method Summary | |
---|---|
protected org.jdesktop.swingx.plaf.basic.BasicMonthViewUI.RenderingHandler |
createRenderingHandler()
|
static javax.swing.plaf.ComponentUI |
createUI(javax.swing.JComponent comp)
|
org.pushingpixels.substance.internal.animation.StateTransitionTracker |
getTransitionTracker()
|
protected void |
installDefaults()
|
protected void |
installDelegate()
|
protected void |
installListeners()
|
boolean |
isInside(java.awt.event.MouseEvent me)
|
protected void |
paintDayOfMonth(java.awt.Graphics g,
java.awt.Rectangle bounds,
java.util.Calendar calendar,
org.jdesktop.swingx.plaf.basic.CalendarState state)
|
protected void |
paintMonthHeader(java.awt.Graphics g,
java.util.Calendar calendar)
|
void |
resetRolloverIndex()
Resets the rollover index. |
protected void |
uninstallDefaults()
|
protected void |
uninstallListeners()
|
void |
update(java.awt.Graphics g,
javax.swing.JComponent c)
|
Methods inherited from class org.jdesktop.swingx.plaf.basic.BasicMonthViewUI |
---|
createCalendarHeaderHandler, createDerivedFont, createLayoutManager, createMouseListener, createMouseMotionListener, createPropertyChangeListener, getCalendar, getCalendar, getCalendarHeaderHandler, getDayAtLocation, getDayBounds, getDayBoundsAtLocation, getDayBoundsInMonth, getDayGridPosition, getDayGridPositionAtLocation, getDayInMonth, getDaySize, getDaysOfTheWeek, getFirstDisplayedDay, getFirstDisplayedMonth, getFirstDisplayedYear, getHeaderFromUIManager, getLastDisplayedDay, getMonth, getMonthAtLocation, getMonthBounds, getMonthBounds, getMonthBoundsAtLocation, getMonthDetailsBoundsAtLocation, getMonthGridPosition, getMonthGridPositionAtLocation, getMonthHeaderBounds, getMonthHeaderBoundsAtLocation, getMonthHeaderHeight, getMonthSize, getRenderingHandler, getSelection, getToday, getTraversableGridPositionAtLocation, getWeeks, installComponents, installKeyboardActions, installRenderingHandler, installUI, isToday, isUIInstallable, isUsingKeyboard, isZoomable, paint, paintBackground, paintDayHeader, paintDays, paintDaysOfWeekSeparator, paintMonth, paintWeekHeader, paintWeekOfYearSeparator, setCalendarHeaderHandler, setFirstDisplayedDay, setRenderingHandler, setUsingKeyboard, uninstallComponents, uninstallKeyboardActions, uninstallRenderingHandler, uninstallUI, updateComponentInputMap, updateLocale, updateZoomable |
Methods inherited from class javax.swing.plaf.ComponentUI |
---|
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMaximumSize, getMinimumSize, getPreferredSize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.pushingpixels.substance.swingx.SubstanceMonthViewUI.DayRolloverFadeListener substanceFadeRolloverListener
protected org.pushingpixels.substance.swingx.SubstanceMonthViewUI.DateId rolloverDateId
protected java.util.Set<org.pushingpixels.substance.swingx.SubstanceMonthViewUI.DateId> selectedDates
protected org.jdesktop.swingx.event.DateSelectionListener substanceFadeSelectionListener
Constructor Detail |
---|
public SubstanceMonthViewUI()
Method Detail |
---|
public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent comp)
protected void installDefaults()
installDefaults
in class org.jdesktop.swingx.plaf.basic.BasicMonthViewUI
protected void installDelegate()
installDelegate
in class org.jdesktop.swingx.plaf.basic.BasicMonthViewUI
protected void installListeners()
installListeners
in class org.jdesktop.swingx.plaf.basic.BasicMonthViewUI
protected void uninstallListeners()
uninstallListeners
in class org.jdesktop.swingx.plaf.basic.BasicMonthViewUI
protected void uninstallDefaults()
uninstallDefaults
in class org.jdesktop.swingx.plaf.basic.BasicMonthViewUI
public boolean isInside(java.awt.event.MouseEvent me)
isInside
in interface org.pushingpixels.substance.internal.animation.TransitionAwareUI
public org.pushingpixels.substance.internal.animation.StateTransitionTracker getTransitionTracker()
getTransitionTracker
in interface org.pushingpixels.substance.internal.animation.TransitionAwareUI
public void resetRolloverIndex()
protected org.jdesktop.swingx.plaf.basic.BasicMonthViewUI.RenderingHandler createRenderingHandler()
createRenderingHandler
in class org.jdesktop.swingx.plaf.basic.BasicMonthViewUI
protected void paintMonthHeader(java.awt.Graphics g, java.util.Calendar calendar)
paintMonthHeader
in class org.jdesktop.swingx.plaf.basic.BasicMonthViewUI
protected void paintDayOfMonth(java.awt.Graphics g, java.awt.Rectangle bounds, java.util.Calendar calendar, org.jdesktop.swingx.plaf.basic.CalendarState state)
paintDayOfMonth
in class org.jdesktop.swingx.plaf.basic.BasicMonthViewUI
public void update(java.awt.Graphics g, javax.swing.JComponent c)
update
in class org.jdesktop.swingx.plaf.basic.BasicMonthViewUI
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |