rdftabs.js

Tabs API for OAT RDF applications. (see RDF Browser)

Must implement

[constructor](parent, optionsObject)

parent is a reference to owner object (such as RDF Browser)

.elm

DOM node

.description

textual

.redraw()

redraw contents

.reset(hard)

called by parent when triple store changes. hard is bool; false when the change is initiated by applying filters; true when the change is initiated by adding/removing URL.

Can use

parent.data


{
   triples:[] // array of triples
   all:{} // object
   structured:{} // object with applied filters
}

parent.store

Instance of OAT.RDFStore

parent.getContentType(string)

Returns:

parent.getTitle(dataItem)

Returns title string for dataItem

parent.getURI(dataItem)

Returns URI for dataItem

parent.processLink(domNode, href, disabledActions)

Attach external handlers to a link.

CSS classes

.rdf_sort

ToBeDone?

.rdf_group

ToBeDone?

.rdf_clear

ToBeDone?

.rdf_data

ToBeDone?

.rdf tl_port

ToBeDone?

.rdf tl_slider

ToBeDone?

.rdf_tagcloud

ToBeDone?

Available tabs

OAT.RDFTabs.browser(parent, options)

Used for viewing all filtered data, structured into resource items. options are:

OAT.RDFTabs.navigator(parent, options)

Used for navigating through all locally cached data, one resource at a time. Note that filters don't apply here; all data is displayed. option is

OAT.RDFTabs.triples(parent, options)

Displays all filtered triples. options are:

OAT.RDFTabs.svg(parent, options)

Displays filtered data as SVG Graph. For performance reasons, the number of used triples is limited by the only option --

OAT.RDFTabs.map(parent, options)

Plots all geodata found in filtered resources onto a map. options are:

OAT.RDFTabs.timeline(parent, options)

Displays all date/time containing resources on an interactive time line. options are:

OAT.RDFTabs.images(parent, options)

Displays all images found in filtered data set. options are:

OAT.RDFTabs.tagcloud(parent)

Displays all links found in filtered data set.

OAT.RDFTabs.fresnel(parent, options)

Applies Fresnel RDF Vocabularies to all dereferenced data. options are:

CategoryOAT CategoryDocumentation CategoryOpenSource CategoryToBeDone?