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 JmolViewerImpl()
public void setStructure(Structure structure)
setStructure in interface StructureViewerpublic void clear()
StructureViewerclear in interface StructureViewerpublic Color getColor()
getColor in interface StructureViewerpublic Selection getSelection()
getSelection in interface StructureViewerpublic void repaint()
repaint in interface StructureViewerpublic void setColor(Color red)
StructureViewersetColor in interface StructureViewerpublic void setSelection(Selection selection)
setSelection in interface StructureViewerpublic void setStyle(RenderStyle wireframe)
StructureViewersetStyle in interface StructureViewerwireframe - renderstylepublic void setZoom(int i)
StructureViewersetZoom in interface StructureViewerCopyright © 2000–2019 BioJava. All rights reserved.