public class JmolViewerImpl extends java.lang.Object implements StructureViewer
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
adapter |
static java.lang.String |
smartAdapter |
static java.lang.String |
viewer |
| Constructor and Description |
|---|
JmolViewerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear the current display
|
java.awt.Color |
getColor() |
Selection |
getSelection() |
void |
repaint() |
void |
setColor(java.awt.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(java.lang.String label) |
void |
setZoom(int i)
Set the Zoom level
|
public static final java.lang.String viewer
public static final java.lang.String adapter
public static final java.lang.String smartAdapter
public void setTitle(java.lang.String label)
public void setStructure(Structure structure)
setStructure in interface StructureViewerpublic void clear()
StructureViewerclear in interface StructureViewerpublic java.awt.Color getColor()
getColor in interface StructureViewerpublic Selection getSelection()
getSelection in interface StructureViewerpublic void repaint()
repaint in interface StructureViewerpublic void setColor(java.awt.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-2020 BioJava. All Rights Reserved.