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 displayjava.awt.Color
getColor()
Selection
getSelection()
void
repaint()
void
setColor(java.awt.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()
-
setColor
void setColor(java.awt.Color red)
Apply this color to the current Selection- Parameters:
red
-
-
getColor
java.awt.Color getColor()
-
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
-
-
-