|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.core.RefDataClass
com.smartgwt.client.data.Record
com.smartgwt.client.widgets.calendar.CalendarEvent
public class CalendarEvent
A type of Record
which represents an event to occur at a specific time, displayed
within the calendar.
Field Summary |
---|
Fields inherited from class com.smartgwt.client.core.JsObject |
---|
jsObj |
Constructor Summary | |
---|---|
CalendarEvent()
|
|
CalendarEvent(int eventId,
String name,
String description,
Date startDate,
Date endDate)
|
|
CalendarEvent(int eventId,
String name,
String description,
Date startDate,
Date endDate,
boolean canEdit)
|
|
CalendarEvent(int eventId,
String name,
String description,
Date startDate,
Date endDate,
boolean canEdit,
String eventWindowStyle)
|
|
CalendarEvent(JavaScriptObject jsObj)
|
Method Summary | |
---|---|
Boolean |
getCanEdit()
Optional boolean value controlling the editability of this particular calendarEvent. |
String |
getDescription()
String which represents the description of a CalendarEvent The name of this
field within the CalendarEvent can be changed via descriptionField |
Date |
getEndDate()
Date object which represents the end date of a CalendarEvent The name of
this field within the CalendarEvent can be changed via endDateField |
Integer |
getEventId()
|
String |
getEventWindowStyle()
CSS style series to use for the draggable event window that represents this event. |
String |
getName()
String which represents the name of a CalendarEvent The name of this field
within the CalendarEvent can be changed via nameField |
static CalendarEvent |
getOrCreateRef(JavaScriptObject jsObj)
|
Date |
getStartDate()
Date object which represents the start date of a CalendarEvent . |
void |
setCanEdit(Boolean canEdit)
Optional boolean value controlling the editability of this particular calendarEvent. |
void |
setDescription(String description)
String which represents the description of a CalendarEvent The name of this
field within the CalendarEvent can be changed via descriptionField |
void |
setEndDate(Date endDate)
Date object which represents the end date of a CalendarEvent The name of
this field within the CalendarEvent can be changed via endDateField |
void |
setEventId(Integer eventId)
|
void |
setEventWindowStyle(String eventWindowStyle)
CSS style series to use for the draggable event window that represents this event. |
void |
setName(String name)
String which represents the name of a CalendarEvent The name of this field
within the CalendarEvent can be changed via nameField |
void |
setStartDate(Date startDate)
Date object which represents the start date of a CalendarEvent . |
Methods inherited from class com.smartgwt.client.data.Record |
---|
convertToRecordArray, getAttributeAsRecordArray, getAttributeAsRecordList, toMap |
Methods inherited from class com.smartgwt.client.core.RefDataClass |
---|
getRef, getRef |
Methods inherited from class com.smartgwt.client.core.JsObject |
---|
isCreated, setJsObj |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CalendarEvent()
public CalendarEvent(JavaScriptObject jsObj)
public CalendarEvent(int eventId, String name, String description, Date startDate, Date endDate)
public CalendarEvent(int eventId, String name, String description, Date startDate, Date endDate, boolean canEdit)
public CalendarEvent(int eventId, String name, String description, Date startDate, Date endDate, boolean canEdit, String eventWindowStyle)
Method Detail |
---|
public static CalendarEvent getOrCreateRef(JavaScriptObject jsObj)
public void setDescription(String description)
CalendarEvent
The name of this
field within the CalendarEvent can be changed via descriptionField
description
- description Default value is nullpublic String getDescription()
CalendarEvent
The name of this
field within the CalendarEvent can be changed via descriptionField
public void setEndDate(Date endDate)
CalendarEvent
The name of
this field within the CalendarEvent can be changed via endDateField
endDate
- endDate Default value is nullpublic Date getEndDate()
CalendarEvent
The name of
this field within the CalendarEvent can be changed via endDateField
public void setEventWindowStyle(String eventWindowStyle)
eventWindowStyle
for this specific event. The
name of this field within the CalendarEvent can be changed via eventWindowStyleField
eventWindowStyle
- eventWindowStyle Default value is nullpublic String getEventWindowStyle()
eventWindowStyle
for this specific event. The
name of this field within the CalendarEvent can be changed via eventWindowStyleField
public void setName(String name)
CalendarEvent
The name of this field
within the CalendarEvent can be changed via nameField
name
- name Default value is nullpublic String getName()
CalendarEvent
The name of this field
within the CalendarEvent can be changed via nameField
public void setStartDate(Date startDate)
CalendarEvent
. The name of
this field within the CalendarEvent can be changed via startDateField
startDate
- startDate Default value is nullpublic Date getStartDate()
CalendarEvent
. The name of
this field within the CalendarEvent can be changed via startDateField
public void setEventId(Integer eventId)
public Integer getEventId()
public void setCanEdit(Boolean canEdit)
canEditField
.
canEdit
- canEdit Default value is nullpublic Boolean getCanEdit()
canEditField
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |