Package org.biojava.nbio.structure.gui
Interface StructureViewer
- 
- All Known Implementing Classes:
 JmolViewerImpl
public interface StructureViewer
 
- 
- 
Method Summary
All Methods Instance Methods Abstract 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 selectionvoidsetZoom(int i)Set the Zoom level 
 - 
 
- 
- 
Method Detail
- 
setStructure
void setStructure(Structure structure)
 
- 
repaint
void repaint()
 
- 
setSelection
void setSelection(Selection selection)
 
- 
getSelection
Selection getSelection()
 
- 
setStyle
void setStyle(RenderStyle wireframe)
Apply this style to the current selection- Parameters:
 wireframe- renderstyle
 
- 
clear
void clear()
Clear the current display 
- 
setZoom
void setZoom(int i)
Set the Zoom level- Parameters:
 i-
 
 - 
 
 -