1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
| public var where:ArrayCollection;
public function setTitle(
text:String,
type:String=GoogleCalendarEventUtil.TEXT_CONTENT_TYPE):void
{
if(this.title == null)
{
this.title = new TitleVO();
}
this.title.title = text;
this.title.type = type;
}
public function setSummary(
text:String,
type:String=GoogleCalendarEventUtil.TEXT_CONTENT_TYPE):void
{
if(this.summary == null)
{
this.summary = new SummaryVO();
}
this.summary.summary = text;
this.summary.type = type;
}
public function addWhere(
valueString:String,
rel:String="",
label:String="Calendar location"):WhereVO
{
var calWhere:WhereVO = new WhereVO();
calWhere.valueString = valueString;
calWhere.rel = rel;
calWhere.label = label;
if(this.where == null)
{
where = new ArrayCollection();
}
where.addItem(calWhere);
return calWhere;
}
public function GoogleCalendarVO()
{
} |
Partager