org.biojava3.structure.gui
Class JmolViewerImpl
java.lang.Object
org.biojava3.structure.gui.JmolViewerImpl
- All Implemented Interfaces:
- StructureViewer
public class JmolViewerImpl
- extends Object
- implements StructureViewer
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
JmolViewerImpl
public JmolViewerImpl()
setTitle
public void setTitle(String label)
setStructure
public void setStructure(Structure structure)
- Specified by:
setStructure
in interface StructureViewer
clear
public void clear()
- Description copied from interface:
StructureViewer
- Clear the current display
- Specified by:
clear
in interface StructureViewer
getColor
public Color getColor()
- Specified by:
getColor
in interface StructureViewer
getSelection
public Selection getSelection()
- Specified by:
getSelection
in interface StructureViewer
repaint
public void repaint()
- Specified by:
repaint
in interface StructureViewer
setColor
public void setColor(Color red)
- Description copied from interface:
StructureViewer
- Apply this color to the current Selection
- Specified by:
setColor
in interface StructureViewer
setSelection
public void setSelection(Selection selection)
- Specified by:
setSelection
in interface StructureViewer
setStyle
public void setStyle(RenderStyle wireframe)
- Description copied from interface:
StructureViewer
- Apply this style to the current selection
- Specified by:
setStyle
in interface StructureViewer
- Parameters:
wireframe
- renderstyle
setZoom
public void setZoom(int i)
- Description copied from interface:
StructureViewer
- Set the Zoom level
- Specified by:
setZoom
in interface StructureViewer