org.koshuke.stapler.simile.timeline
Class Event

java.lang.Object
  extended by org.koshuke.stapler.simile.timeline.Event

public class Event
extends java.lang.Object

Event data to be rendered on timeline. See http://code.google.com/p/simile-widgets/wiki/Timeline_EventSources

This is bound to JSON and sent to the client-side JavaScript.


Field Summary
 java.lang.String classname
          CSS class name.
 java.lang.String color
          Color of the text and tape (duration events) to display in the timeline.
 java.lang.String description
           
 java.lang.Boolean durationEvent
          If true, the event occurs over a time duration.
 java.util.Date end
           
 java.lang.String link
          Url.
 java.util.Date start
           
 java.lang.String title
           
 
Constructor Summary
Event()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

start

public java.util.Date start

end

public java.util.Date end

title

public java.lang.String title

description

public java.lang.String description

durationEvent

public java.lang.Boolean durationEvent
If true, the event occurs over a time duration. No icon. The event will be drawn as a dark blue tape. The tape color is set with the color attribute. Default color is #58A0DC If false (default), the event is focused on a specific "instant" (shown with the icon). The event will be drawn as a blue dot icon (default) with a pale blue tape. The tape is the default color (or color attribute color), with opacity set to 20. To change the opacity, change the theme's instant: {impreciseOpacity: 20} value. Maximum 100.


link

public java.lang.String link
Url. The bubble's title text be a hyper-link to this address.


color

public java.lang.String color
Color of the text and tape (duration events) to display in the timeline. If the event has durationEvent = false, then the bar's opacity will be applied (default 20%). See durationEvent, above.


classname

public java.lang.String classname
CSS class name.

Constructor Detail

Event

public Event()


Copyright © 2011. All Rights Reserved.