org.biojava3.structure.gui
Class JmolViewerImpl

java.lang.Object
  extended by org.biojava3.structure.gui.JmolViewerImpl
All Implemented Interfaces:
StructureViewer

public class JmolViewerImpl
extends Object
implements StructureViewer


Field Summary
static String adapter
           
static String smartAdapter
           
static String viewer
           
 
Constructor Summary
JmolViewerImpl()
           
 
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 setTitle(String label)
           
 void setZoom(int i)
          Set the Zoom level
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

JmolViewerImpl

public JmolViewerImpl()
Method Detail

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