public class JmolViewerImpl extends Object implements StructureViewer
Modifier and Type | Field and Description |
---|---|
static String |
adapter |
static String |
smartAdapter |
static String |
viewer |
Constructor and Description |
---|
JmolViewerImpl() |
Modifier and Type | Method and Description |
---|---|
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
|
public static final String viewer
public static final String adapter
public static final String smartAdapter
public void setTitle(String label)
public void setStructure(Structure structure)
setStructure
in interface StructureViewer
public void clear()
StructureViewer
clear
in interface StructureViewer
public Color getColor()
getColor
in interface StructureViewer
public Selection getSelection()
getSelection
in interface StructureViewer
public void repaint()
repaint
in interface StructureViewer
public void setColor(Color red)
StructureViewer
setColor
in interface StructureViewer
public void setSelection(Selection selection)
setSelection
in interface StructureViewer
public void setStyle(RenderStyle wireframe)
StructureViewer
setStyle
in interface StructureViewer
wireframe
- renderstylepublic void setZoom(int i)
StructureViewer
setZoom
in interface StructureViewer
Copyright © 2000–2016 BioJava. All rights reserved.