public class EventSource extends Object implements org.apache.wicket.util.io.IClusterable
| Modifier and Type | Class and Description |
|---|---|
static class |
EventSource.GoogleCalendar
Provides a Google Calendar
EventSource |
| Constructor and Description |
|---|
EventSource()
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected com.googlecode.wicket.jquery.core.Options |
createOptions() |
Boolean |
getAllDayDefault()
Gets the allDayDefault option, but only for this source.
|
String |
getBackgroundColor()
Gets Event Object's backgroundColor for this source.
|
String |
getBorderColor()
Gets Event Object's borderColor for this source.
|
String |
getClassName()
Gets Event Object's className for this source.
|
String |
getColor()
Gets Event Object's color for this source.
|
String |
getConstraint()
Gets Event Object's constraint for this source.
|
Boolean |
getDurationEditable()
Gets every Event Object's durationEditable for this source.
|
Boolean |
getEditable()
Gets Event Object's editable for this source.
|
String |
getEventDataTransform()
Gets the eventDataTransform callback, but only for this source.
|
Boolean |
getOverlap()
Gets Event Object's overlap for this source.
|
String |
getRendering()
Gets Event Object's rendering for this source.
|
Boolean |
getStartEditable()
Gets every Event Object's startEditable for this source.
|
String |
getTextColor()
Gets Event Object's textColor for this source.
|
void |
setAllDayDefault(Boolean allDay)
Sets the allDayDefault option, but only for this source.
|
void |
setBackgroundColor(String color)
Sets every Event Object's backgroundColor for this source.
|
void |
setBorderColor(String color)
Sets every Event Object's borderColor for this source.
|
void |
setClassName(String name)
Sets every Event Object's className for this source.
|
void |
setColor(String color)
Sets every Event Object's color for this source.
|
void |
setConstraint(String constraint)
Sets every Event Object's constraint for this source.
|
void |
setDurationEditable(Boolean editable)
Sets every Event Object's durationEditable for this source.
|
void |
setEditable(Boolean editable)
Sets every Event Object's editable for this source.
|
void |
setEventDataTransform(String function)
Sets the eventDataTransform callback, but only for this source.
|
void |
setOverlap(Boolean overlap)
Sets every Event Object's overlap for this source.
|
void |
setRendering(String rendering)
Sets every Event Object's rendering for this source.
|
void |
setStartEditable(Boolean editable)
Sets every Event Object's startEditable for this source.
|
void |
setTextColor(String color)
Sets every Event Object's textColor for this source.
|
String |
toString()
Gets the JSON representation of this
EventSource |
public String getColor()
public void setColor(String color)
color - any of the CSS color formats such #f00, #ff0000, rgb(255,0,0), or red.public String getBackgroundColor()
public void setBackgroundColor(String color)
color - any of the CSS color formats such #f00, #ff0000, rgb(255,0,0), or red.public String getBorderColor()
public void setBorderColor(String color)
color - any of the CSS color formats such #f00, #ff0000, rgb(255,0,0), or red.public String getTextColor()
public void setTextColor(String color)
color - any of the CSS color formats such #f00, #ff0000, rgb(255,0,0), or red.public String getClassName()
public void setClassName(String name)
name - the CSS class name, can be an array.public Boolean getEditable()
public void setEditable(Boolean editable)
editable - true or falsepublic Boolean getStartEditable()
public void setStartEditable(Boolean editable)
editable - true or falsepublic Boolean getDurationEditable()
public void setDurationEditable(Boolean editable)
editable - true or falsepublic String getRendering()
public void setRendering(String rendering)
rendering - empty, "background", or "inverse-background"public Boolean getOverlap()
public void setOverlap(Boolean overlap)
overlap - true or falsepublic String getConstraint()
public void setConstraint(String constraint)
constraint - an event ID, "businessHours", object.public Boolean getAllDayDefault()
public void setAllDayDefault(Boolean allDay)
allDay - true or falsepublic String getEventDataTransform()
public void setEventDataTransform(String function)
function - a function that must return a new object in the Event Object format.protected com.googlecode.wicket.jquery.core.Options createOptions()
public String toString()
EventSourceCopyright © 2016 7thWeb. All rights reserved.