Package org.biojava.nbio.structure.gui
Class JmolViewerImpl
java.lang.Object
org.biojava.nbio.structure.gui.JmolViewerImpl
- All Implemented Interfaces:
StructureViewer
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
Clear the current displaygetColor()
void
repaint()
void
Apply this color to the current Selectionvoid
setSelection
(Selection selection) void
setStructure
(Structure structure) void
setStyle
(RenderStyle wireframe) Apply this style to the current selectionvoid
void
setZoom
(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:
setStructure
in interfaceStructureViewer
-
clear
public void clear()Description copied from interface:StructureViewer
Clear the current display- Specified by:
clear
in interfaceStructureViewer
-
getColor
- Specified by:
getColor
in interfaceStructureViewer
-
getSelection
- Specified by:
getSelection
in interfaceStructureViewer
-
repaint
public void repaint()- Specified by:
repaint
in interfaceStructureViewer
-
setColor
Description copied from interface:StructureViewer
Apply this color to the current Selection- Specified by:
setColor
in interfaceStructureViewer
-
setSelection
- Specified by:
setSelection
in interfaceStructureViewer
-
setStyle
Description copied from interface:StructureViewer
Apply this style to the current selection- Specified by:
setStyle
in interfaceStructureViewer
- Parameters:
wireframe
- renderstyle
-
setZoom
public void setZoom(int i) Description copied from interface:StructureViewer
Set the Zoom level- Specified by:
setZoom
in interfaceStructureViewer
-