public abstract class Theme
extends java.lang.Object
Calendar
control by calling the applyTheme method.
A theme includes settings for all calendar views - List, Month, Timetable, and so on.
You can create custom themes by deriving from this class and
overriding all of the exposed properties. You can assign a
custom theme to the control through the Calendar.setCustomTheme(com.mindfusion.scheduling.Theme) method.
| Modifier | Constructor and Description |
|---|---|
protected |
Theme()
Initializes a new instance of the
Theme class. |
| Modifier and Type | Method and Description |
|---|---|
protected ControlStyle |
createControlStyle()
Creates a new
ControlStyle object. |
protected ItemSettings |
createItemSettings()
Creates a new
ItemSettings object. |
protected ListViewSettings |
createListViewSettings()
Creates a new
ListViewSettings object. |
protected MonthRangeSettings |
createMonthRangeSettings()
Creates a new
MonthRangeSettings object. |
protected MonthSettings |
createMonthSettings()
Creates a new
MonthSettings object. |
protected ResourceViewSettings |
createResourceViewSettings()
Creates a new
ResourceViewSettings object. |
protected TimetableSettings |
createTimetableSettings()
Creates a new
TimetableSettings object. |
protected WeekRangeSettings |
createWeekRangeSettings()
Creates a new
WeekRangeSettings object. |
static Theme |
getBlack()
Gets the
Black predefined theme. |
abstract ControlAppearance |
getControlAppearance()
Gets the appearance of the child controls in this theme.
|
abstract ControlStyle |
getControlStyle()
Gets a value indicating the appearance of the child controls
within the
Calendar, such as buttons and scrollbars. |
static Theme |
getDark()
Gets the
Dark predefined theme. |
abstract ItemSettings |
getItemSettings()
Gets an object defining the appearance of items in this theme.
|
static Theme |
getLight()
Gets the
Light predefined theme. |
static Theme |
getLila()
Gets the
Lila predefined theme. |
abstract ListViewSettings |
getListViewSettings()
Gets an object defining the appearance of the
List view in this theme. |
abstract MonthRangeSettings |
getMonthRangeSettings()
Gets an object defining the appearance of the
MonthRange view in this theme. |
abstract MonthSettings |
getMonthSettings()
Gets an object defining the appearance of the
SingleMonth view in this theme. |
abstract ResourceViewSettings |
getResourceViewSettings()
Gets an object defining the appearance of the
Resource view in this theme. |
abstract java.lang.Boolean |
getSelectionAllowMultiple()
Gets whether the multiple selection is allowed.
|
abstract java.lang.Boolean |
getSelectionContinuous()
Gets a flag indicating whether the users can select
only one range of dates in the calendar.
|
abstract java.lang.Boolean |
getSelectionEnabled()
Gets whether the selection is enabled.
|
abstract Style |
getSelectionSelectedElementsStyle()
Gets the
Style of the selected elements in this theme. |
abstract SelectionStyle |
getSelectionStyle()
Gets the selection style in this theme.
|
static Theme |
getSilver()
Gets the
Silver predefined theme. |
static Theme |
getStandard()
Gets the
Standard theme. |
abstract TimetableSettings |
getTimetableSettings()
Gets an object defining the appearance of the
Timetable view in this theme. |
static Theme |
getVista()
Gets the
Vista predefined theme. |
abstract WeekRangeSettings |
getWeekRangeSettings()
Gets an object defining the appearance of the
WeekRange view in this theme. |
static Theme |
getWindows2003()
Gets the
Windows2003 predefined theme. |
protected ControlStyle createControlStyle()
ControlStyle object.
Invoke this method from within a derived custom theme class
in order to create an instance of the ControlStyle class.
This is necessary since ControlStyle does not have a public
constructor and cannot be instantiated directly.
ControlStyle class.protected ListViewSettings createListViewSettings()
ListViewSettings object.
Invoke this method from within a derived custom theme class
in order to create an instance of the ListViewSettings class.
This is necessary since ListViewSettings does not have a
public constructor and cannot be instantiated directly.
ListViewSettings class.protected ItemSettings createItemSettings()
ItemSettings object.
Invoke this method from within a derived custom theme class
in order to create an instance of the ItemSettings class.
This is necessary since ItemSettings does not have a public
constructor and cannot be instantiated directly.
ItemSettings class.protected MonthRangeSettings createMonthRangeSettings()
MonthRangeSettings object.
Invoke this method from within a derived custom theme class
in order to create an instance of the MonthRangeSettings class.
This is necessary since MonthRangeSettings does not have a
public constructor and cannot be instantiated directly.
MonthRangeSettings class.protected MonthSettings createMonthSettings()
MonthSettings object.
Invoke this method from within a derived custom theme class
in order to create an instance of the MonthSettings class.
This is necessary since MonthSettings does not have a public
constructor and cannot be instantiated directly.
MonthSettings class.protected ResourceViewSettings createResourceViewSettings()
ResourceViewSettings object.
Invoke this method from within a derived custom theme class
in order to create an instance of the ResourceViewSettings
class. This is necessary since ResourceViewSettings does not
have a public constructor and cannot be instantiated directly.
ResourceViewSettings class.protected TimetableSettings createTimetableSettings()
TimetableSettings object.
Invoke this method from within a derived custom theme class
in order to create an instance of the TimetableSettings class.
This is necessary since TimetableSettings does not have a
public constructor and cannot be instantiated directly.
TimetableSettings class.protected WeekRangeSettings createWeekRangeSettings()
WeekRangeSettings object.
Invoke this method from within a derived custom theme class
in order to create an instance of the WeekRangeSettings class.
This is necessary since WeekRangeSettings does not have a
public constructor and cannot be instantiated directly.
WeekRangeSettings class.public static Theme getStandard()
Standard theme.Theme class representing the Standard theme.public static Theme getWindows2003()
Windows2003 predefined theme.Theme class representing the Win2003 theme.public static Theme getLila()
Lila predefined theme.Theme class representing the Lila theme.public static Theme getSilver()
Silver predefined theme.Theme class representing the Silver theme.public static Theme getVista()
Vista predefined theme.Theme class representing the Vista theme.public static Theme getLight()
Light predefined theme.Theme class representing the Light theme.public static Theme getDark()
Dark predefined theme.Theme class representing the Dark theme.public static Theme getBlack()
Black predefined theme.Theme class representing the Black theme.public abstract MonthSettings getMonthSettings()
SingleMonth view in this theme.MonthSettings class.public abstract MonthRangeSettings getMonthRangeSettings()
MonthRange view in this theme.MonthRangeSettings class.public abstract ListViewSettings getListViewSettings()
List view in this theme.ListViewSettings class.public abstract WeekRangeSettings getWeekRangeSettings()
WeekRange view in this theme.WeekRangeSettings class.public abstract TimetableSettings getTimetableSettings()
Timetable view in this theme.TimetableSettings class.public abstract ResourceViewSettings getResourceViewSettings()
Resource view in this theme.ResourceViewSettings class.public abstract ItemSettings getItemSettings()
ItemSettings class.public abstract SelectionStyle getSelectionStyle()
SelectionStyle constants.public abstract java.lang.Boolean getSelectionEnabled()
Boolean value.public abstract Style getSelectionSelectedElementsStyle()
Style of the selected elements in this theme.Style class.public abstract java.lang.Boolean getSelectionAllowMultiple()
Boolean value.public abstract java.lang.Boolean getSelectionContinuous()
Boolean value.public abstract ControlAppearance getControlAppearance()
ControlAppearance constants.public abstract ControlStyle getControlStyle()
Calendar, such as buttons and scrollbars.ControlStyle class.