|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectetomica.action.XYZWriter
public class XYZWriter
Action that dumps a box's configuration to an XYZ file. Arbitrary but unique elements are assigned to each atom type. After writing the PDB file, writeRasmolScript can be called to write a script that will properly initialize the atomic radii.
| Constructor Summary | |
|---|---|
XYZWriter(IBox aBox)
|
|
| Method Summary | |
|---|---|
void |
actionPerformed()
Completes the action defined by the class implementing this interface. |
boolean |
isAppend()
|
void |
setFile(File newFile)
Sets the file to write to. |
void |
setFileName(String fileName)
Sets the file name to write to. |
void |
setIsAppend(boolean newDoAppend)
|
void |
writeRasmolScript()
Writes a script for rasmol that initializes the radii of each atom type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XYZWriter(IBox aBox)
| Method Detail |
|---|
public void setFile(File newFile)
public void setFileName(String fileName)
public void setIsAppend(boolean newDoAppend)
public boolean isAppend()
public void actionPerformed()
IAction
actionPerformed in interface IActionpublic void writeRasmolScript()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||