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 void
clear()
Clear the current displayColor
getColor()
Selection
getSelection()
void
repaint()
void
setColor(Color red)
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
setZoom(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
-
-
-