public class DayOfWeekStyle
extends java.lang.Object
| Constructor and Description |
|---|
DayOfWeekStyle()
Initializes a new instance of the
DayOfWeekStyle class. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAllowItems()
Gets a value indicating whether the calendar cell for the specified
day allows items to be placed or created in it interactively.
|
boolean |
getAllowSelect()
Gets a value indicating whether the specified day of the week can be selected.
|
com.mindfusion.common.DayOfWeek |
getDayOfWeek()
Gets the day of the week to which this
DayOfWeekStyle object is assigned. |
int |
getPriority()
Gets the style priority.
|
Style |
getStyle()
Gets the visualization style of the specified day.
|
void |
setAllowItems(boolean value)
Sets a value indicating whether the calendar cell for the specified
day allows items to be placed or created in it interactively.
|
void |
setAllowSelect(boolean value)
Sets a value indicating whether the specified day of the week can be selected.
|
void |
setDayOfWeek(com.mindfusion.common.DayOfWeek value)
Sets the day of the week to which this
DayOfWeekStyle object is assigned. |
void |
setPriority(int value)
Sets the style priority.
|
void |
setStyle(Style value)
Sets the visualization style of the specified day.
|
public DayOfWeekStyle()
DayOfWeekStyle class.public com.mindfusion.common.DayOfWeek getDayOfWeek()
DayOfWeekStyle object is assigned.DayOfWeek constants.
The default is Sunday.public void setDayOfWeek(com.mindfusion.common.DayOfWeek value)
DayOfWeekStyle object is assigned.value - One of the DayOfWeek constants.
The default is Sunday.public Style getStyle()
Style object that defines the
appearance of time cells included in the specified interval.public void setStyle(Style value)
value - A Style object that defines the
appearance of time cells included in the specified interval.public int getPriority()
When a time cell is included in the time intervals of several DateStyle or
DayOfWeekStyle objects, the style that has the highest priority is used.
public void setPriority(int value)
When a time cell is included in the time intervals of several DateStyle or
DayOfWeekStyle objects, the style that has the highest priority is used.
value - An integer value specifying the priority of this style.public boolean getAllowSelect()
public void setAllowSelect(boolean value)
value - true to let users select the date cells; otherwise, false. The default is true.public boolean getAllowItems()
public void setAllowItems(boolean value)
value - true to let users place schedule items in the
specified cells; otherwise, false. The default is false.