
org.jmol.viewer.JmolStateCreator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jmol Show documentation
Show all versions of jmol Show documentation
Jmol: an open-source Java viewer for chemical structures in 3D
package org.jmol.viewer;
import java.util.Map;
import javajs.util.SB;
import javajs.util.BS;
import org.jmol.shape.AtomShape;
public abstract class JmolStateCreator {
abstract void setViewer(Viewer vwr);
abstract String getStateScript(String type, int width, int height);
abstract String getSpinState(boolean b);
abstract String getLightingState(boolean isAll);
abstract String getModelState(SB sfunc, boolean isAll,
boolean withProteinStructure);
abstract String getCommands(Map htDefine, Map htMore,
String select);
abstract String getAllSettings(String prefix);
abstract String getFunctionCalls(String selectedFunction);
abstract String getAtomicPropertyState(int taintCoord, BS bsSelected);
abstract void getAtomicPropertyStateBuffer(SB commands, int type,
BS bs, String name, float[] data);
abstract void undoMoveAction(int action, int n);
abstract void undoMoveActionClear(int taintedAtom, int type, boolean clearRedo);
abstract void syncScript(String script, String applet, int port);
abstract void mouseScript(String script);
abstract void getInlineData(SB loadScript, String strModel, boolean isAppend,
String defaultLoadFilter);
public abstract String getAtomShapeState(AtomShape shape); // called by Polyhedra
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy