Class Biojs.MmcifViewer
Version
1.0.0.
Extends
Biojs.
Defined in: Biojs.MmcifViewer.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Biojs.MmcifViewer(options)
This is the description of the MmcifViewer component.
|
| Field Attributes | Field Name and Description |
|---|---|
| <inner> |
Array containing the supported event names
|
| <inner> |
Default values for the options
|
| Method Attributes | Method Name and Description |
|---|---|
|
constructor(options)
|
|
|
showAcategory(catname)
|
|
|
showCategoriesList(catlist)
|
|
|
showCategoryTable(catinfo)
|
|
|
standardizeVals(vals)
|
- Methods borrowed from class Biojs:
- addListener, extend, getId, listen, raiseEvent, setEventHandlers, setOptions
| 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.
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.