org.biojava3.structure.gui
Interface StructureViewer

All Known Implementing Classes:
JmolViewerImpl

public interface StructureViewer


Method Summary
 void clear()
          Clear the current display
 Color getColor()
           
 Selection getSelection()
           
 void repaint()
           
 void setColor(Color red)
          Apply this color to the current Selection
 void setSelection(Selection selection)
           
 void setStructure(Structure structure)
           
 void setStyle(RenderStyle wireframe)
          Apply this style to the current selection
 void 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(Color red)
Apply this color to the current Selection

Parameters:
red -

getColor

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 -