Package org.biojava.nbio.structure.gui
Class JmolViewerImpl
java.lang.Object
org.biojava.nbio.structure.gui.JmolViewerImpl
- All Implemented Interfaces:
StructureViewer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear the current displaygetColor()voidrepaint()voidApply this color to the current SelectionvoidsetSelection(Selection selection) voidsetStructure(Structure structure) voidsetStyle(RenderStyle wireframe) Apply this style to the current selectionvoidvoidsetZoom(int i) Set the Zoom level
-
Field Details
-
viewer
- See Also:
-
adapter
- See Also:
-
smartAdapter
- See Also:
-
-
Constructor Details
-
JmolViewerImpl
public JmolViewerImpl()
-
-
Method Details
-
setTitle
-
setStructure
- Specified by:
setStructurein interfaceStructureViewer
-
clear
Description copied from interface:StructureViewerClear the current display- Specified by:
clearin interfaceStructureViewer
-
getColor
- Specified by:
getColorin interfaceStructureViewer
-
getSelection
- Specified by:
getSelectionin interfaceStructureViewer
-
repaint
- Specified by:
repaintin interfaceStructureViewer
-
setColor
Description copied from interface:StructureViewerApply this color to the current Selection- Specified by:
setColorin interfaceStructureViewer- Parameters:
red-
-
setSelection
- Specified by:
setSelectionin interfaceStructureViewer
-
setStyle
Description copied from interface:StructureViewerApply this style to the current selection- Specified by:
setStylein interfaceStructureViewer- Parameters:
wireframe- renderstyle
-
setZoom
Description copied from interface:StructureViewerSet the Zoom level- Specified by:
setZoomin interfaceStructureViewer- Parameters:
i-
-