Class Index | File Index

Classes


Class jQuery.RdfWidget


Defined in: jquery.rdf.widgets.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
jQuery.RdfWidget(options, element)
The base class for all SW Widgets.
Method Summary
Method Attributes Method Name and Description
<private>  
_matcher(element, norefresh)
Get a Matcher for the provided element.
<private>  
_resource(term)
Get a valid term given a string input by the user, according to the options the user provided to the widget such as prefixes.
 
deleteData(trips)
A function that is called whenever new data is removed from the local store.
 
insertData(trips)
A function that is called whenever new data is loaded into the local store.
 
Redraw the widget.
Class Detail
jQuery.RdfWidget(options, element)
The base class for all SW Widgets.
Parameters:
options
element
Method Detail
<private> _matcher(element, norefresh)
Get a Matcher for the provided element.
Parameters:
{String | Object} element Optional, Default: this.element
The element to draw into. Can be any valid argument to a jQuery constructor.
{Boolean} norefresh Optional, Default: false
If true, this matcher will not refresh when new data is loaded.

<private> {Object} _resource(term)
Get a valid term given a string input by the user, according to the options the user provided to the widget such as prefixes.
Parameters:
{String | Object} term
The string or Term object provided by the user.
Returns:
{Object} A Literal or Symbol that matches the term supplied by the user.

deleteData(trips)
A function that is called whenever new data is removed from the local store.
Parameters:
{Array} trips
The new $rdf.Triples that were removed from the store.

insertData(trips)
A function that is called whenever new data is loaded into the local store.
Parameters:
{Array} trips
The new $rdf.Triples that were added to the store.

refresh()
Redraw the widget.

Documentation generated by JsDoc Toolkit 2.3.2 on Wed May 05 2010 12:58:42 GMT-0400 (EDT)