|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcage.viewer.RasmolViewer
public class RasmolViewer
Constructor Summary | |
---|---|
RasmolViewer()
|
Method Summary | |
---|---|
int |
getDimension()
Returns the dimension which is needed for this outlet. |
static boolean |
isAvailable(int dimension)
|
void |
outputResult(CaGeResult result)
Does the actual output of a result. |
void |
setDimension(int dimension)
Sets the dimension for which this outlet will be used. |
void |
setGeneratorInfo(GeneratorInfo generatorInfo)
Sets the generator info provided for this outlet. |
void |
setResultPanel(ResultPanel resultPanel)
Sets the ResultPanel connected with this viewer. |
void |
setVisible(boolean isVisible)
|
void |
stop()
Called when this outlet is no longer needed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RasmolViewer()
Method Detail |
---|
public static boolean isAvailable(int dimension)
public void setGeneratorInfo(GeneratorInfo generatorInfo)
CaGeOutlet
GeneratorInfo.isReembed2DEnabled()
.
setGeneratorInfo
in interface CaGeOutlet
generatorInfo
- the generator info provided for this outletpublic void setDimension(int dimension)
CaGeOutlet
RunTimeException
when d is an unsupported
dimension.
setDimension
in interface CaGeOutlet
dimension
- The dimension for which this outlet will be usedpublic int getDimension()
CaGeOutlet
getDimension
in interface CaGeOutlet
public void outputResult(CaGeResult result)
CaGeOutlet
CaGeResult
object, as input and performs the method
of output specific to this outlet.
outputResult
in interface CaGeOutlet
result
- a CaGeResult
object that needs to be
outputted.public void stop()
CaGeOutlet
stop
in interface CaGeOutlet
public void setResultPanel(ResultPanel resultPanel)
CaGeViewer
ResultPanel
connected with this viewer. Some
viewer need this to reembed the shown graph.
setResultPanel
in interface CaGeViewer
public void setVisible(boolean isVisible)
setVisible
in interface CaGeViewer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |