Uses of Enum Class
org.jdesktop.swingx.plaf.basic.CalendarState
Packages that use CalendarState
Package
Description
Provides basic implementation of pluggable look-and-feel for SwingX components together with a
mechanism to support custom component look-and-feels.
-
Uses of CalendarState in org.jdesktop.swingx.plaf.basic
Fields in org.jdesktop.swingx.plaf.basic declared as CalendarStateModifier and TypeFieldDescription(package private) CalendarState
CalendarAdapter.dayState
private CalendarState
CalendarCellContext.dayState
Fields in org.jdesktop.swingx.plaf.basic with type parameters of type CalendarStateModifier and TypeFieldDescriptionprivate Map
<CalendarState, ComponentProvider<?>> BasicCalendarRenderingHandler.providers
The providers to use per DayState.Methods in org.jdesktop.swingx.plaf.basic that return CalendarStateModifier and TypeMethodDescriptionCalendarAdapter.getCalendarState()
CalendarCellContext.getCalendarState()
static CalendarState
Returns the enum constant of this class with the specified name.static CalendarState[]
CalendarState.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.jdesktop.swingx.plaf.basic with parameters of type CalendarStateModifier and TypeMethodDescriptionprivate CalendarAdapter
BasicCalendarRenderingHandler.getCalendarAdapter
(JXMonthView monthView, Calendar calendar, CalendarState dayState) private JComponent
BasicCalendarRenderingHandler.highlight
(JComponent comp, JXMonthView monthView, Calendar calendar, CalendarState dayState) NOTE: it's the responsibility of the CalendarCellContext to detangle all "default" (that is: which could be queried from the comp and/or UIManager) foreground/background colors based on the given state! Moved out off here.CalendarAdapter.install
(Calendar calendar, CalendarState dayState) void
CalendarCellContext.installContext
(JXMonthView component, Calendar value, boolean selected, boolean focused, CalendarState dayState) private boolean
BasicCalendarRenderingHandler.isFocused
(JXMonthView monthView, Calendar calendar, CalendarState dayState) private boolean
BasicCalendarRenderingHandler.isSelectable
(CalendarState dayState) private boolean
BasicCalendarRenderingHandler.isSelected
(JXMonthView monthView, Calendar calendar, CalendarState dayState) protected void
BasicMonthViewUI.paintDayOfMonth
(Graphics g, Rectangle bounds, Calendar calendar, CalendarState state) Paints a day which is of the current month with the given state.BasicCalendarRenderingHandler.prepareRenderingComponent
(JXMonthView monthView, Calendar calendar, CalendarState dayState) Configures and returns a component for rendering of the given monthView cell.CalendarRenderingHandler.prepareRenderingComponent
(JXMonthView monthView, Calendar calendar, CalendarState state) Configures and returns a component for rendering of the given monthView cell.