Class Index | File Index

Classes


Class Biojs.MmcifViewer


Version 1.0.0.

Extends Biojs.

Defined in: Biojs.MmcifViewer.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
This is the description of the MmcifViewer component.
Field Summary
Field Attributes Field Name and Description
<inner>  
Array containing the supported event names
<inner>  
opt
Default values for the options
Method Summary
Method Attributes Method Name and Description
 
constructor(options)
 
showAcategory(catname)
 
 
 
Methods borrowed from class Biojs:
addListener, extend, getId, listen, raiseEvent, setEventHandlers, setOptions
Event Summary
Event Attributes Event Name and Description
 
onClick(actionPerformed)
 
onHelloSelected(actionPerformed)
Class Detail
Biojs.MmcifViewer(options)
This is the description of the MmcifViewer component. This component shows tabular views of information in PDB's mmcif files.
Author: Swanand Gore.
var myview = new Biojs.MmcifViewer({
    divid:"YourOwnDivId",     pdbid:"1cbs"
});
Parameters:
{Object} options
An object with the options for MmcifViewer component.
Field Detail
<inner> eventTypes
Array containing the supported event names

<inner> opt
Default values for the options
Method Detail
constructor(options)
Parameters:
options

showAcategory(catname)
Parameters:
catname

showCategoriesList(catlist)
Parameters:
catlist

showCategoryTable(catinfo)
Parameters:
catinfo

standardizeVals(vals)
Parameters:
vals
Event Detail
onClick(actionPerformed)
instance.onClick(
   function( objEvent ) {
      alert("The character " + objEvent.selected + " was clicked.");
   }
);
Parameters:
{function} actionPerformed
A function which receives an Biojs.Event object as argument.
Event object data:
{Object} source
The component which did triggered the event.
{string} type
The name of the event.
{int} selected
Selected character.

onHelloSelected(actionPerformed)
instance.onHelloSelected(
   function( objEvent ) {
      alert("The word " + objEvent.textSelected + " was selected.");
   }
);
Parameters:
{function} actionPerformed
A function which receives an Biojs.Event object as argument.
Event object data:
{Object} source
The component which did triggered the event.
{string} type
The name of the event.
{int} textSelected
Selected text, will be 'Hello' obviously.

Documentation generated by JsDoc Toolkit 2.3.2 on Fri Aug 23 2013 13:38:37 GMT+0100 (BST)