Package org.biojava.nbio.structure.gui
Class JmolViewerImpl
- java.lang.Object
 - 
- org.biojava.nbio.structure.gui.JmolViewerImpl
 
 
- 
- All Implemented Interfaces:
 StructureViewer
public class JmolViewerImpl extends Object implements StructureViewer
 
- 
- 
Constructor Summary
Constructors Constructor Description JmolViewerImpl() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()Clear the current displayColorgetColor()SelectiongetSelection()voidrepaint()voidsetColor(Color red)Apply this color to the current SelectionvoidsetSelection(Selection selection)voidsetStructure(Structure structure)voidsetStyle(RenderStyle wireframe)Apply this style to the current selectionvoidsetTitle(String label)voidsetZoom(int i)Set the Zoom level 
 - 
 
- 
- 
Field Detail
- 
viewer
public static final String viewer
- See Also:
 - Constant Field Values
 
 
- 
adapter
public static final String adapter
- See Also:
 - Constant Field Values
 
 
- 
smartAdapter
public static final String smartAdapter
- See Also:
 - Constant Field Values
 
 
 - 
 
- 
Constructor Detail
- 
JmolViewerImpl
public JmolViewerImpl()
 
 - 
 
- 
Method Detail
- 
setStructure
public void setStructure(Structure structure)
- Specified by:
 setStructurein interfaceStructureViewer
 
- 
clear
public void clear()
Description copied from interface:StructureViewerClear the current display- Specified by:
 clearin interfaceStructureViewer
 
- 
getColor
public Color getColor()
- Specified by:
 getColorin interfaceStructureViewer
 
- 
getSelection
public Selection getSelection()
- Specified by:
 getSelectionin interfaceStructureViewer
 
- 
repaint
public void repaint()
- Specified by:
 repaintin interfaceStructureViewer
 
- 
setColor
public void setColor(Color red)
Description copied from interface:StructureViewerApply this color to the current Selection- Specified by:
 setColorin interfaceStructureViewer
 
- 
setSelection
public void setSelection(Selection selection)
- Specified by:
 setSelectionin interfaceStructureViewer
 
- 
setStyle
public void setStyle(RenderStyle wireframe)
Description copied from interface:StructureViewerApply this style to the current selection- Specified by:
 setStylein interfaceStructureViewer- Parameters:
 wireframe- renderstyle
 
- 
setZoom
public void setZoom(int i)
Description copied from interface:StructureViewerSet the Zoom level- Specified by:
 setZoomin interfaceStructureViewer
 
 - 
 
 -