Overview
Package
Class
Tree
Deprecated
Index
Help
ChemWriter v1.3.0
PREV NEXT
FRAMES
NO FRAMES
All Classes
B
C
E
F
G
I
P
R
S
U
Z
B
BaseApplet
- Class in
com.metamolecular.chemwriter.applet
The base class for ChemWriter™ applets.
C
canRedo()
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
Returns
true
if the last user action can be redone or
false
otherwise.
canUndo()
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
Returns
true
if the last user action can be undone or
false
otherwise.
clear()
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
Clears the molecule without changing any settings.
clearAtomColors()
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
clearAtomColors()
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Clears all atom coloring, making all atoms appear in the bond color.
com.metamolecular.chemwriter.applet
- package com.metamolecular.chemwriter.applet
com.metamolecular.chemwriter.paint
- package com.metamolecular.chemwriter.paint
copyStyle(PaintStyler)
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
copyStyle(PaintStyler)
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Copies all settings from
styler
to this
PaintStyler
.
E
EditorApplet
- Class in
com.metamolecular.chemwriter.applet
A 2D structure editor applet.
EditorApplet()
- Constructor for class com.metamolecular.chemwriter.applet.
EditorApplet
Default constructor.
F
flash(String)
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
Display
message
as a
JOptionPane
.
G
getAppletInfo()
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
Returns version number, copyright notice, and license status.
getAtomColor(String)
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
getAtomColor(String)
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Returns the color for atoms of atomic symbol
atomSymbol
.
getAtomLabelFont()
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
getAtomLabelFont()
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Returns the name of the font being used to render atom labels.
getAtomLabelFonts()
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
getAtomLabelFonts()
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Returns an array containing the names of the fonts that can be used for Atom labels.
getAtomLabelHeight()
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
getAtomLabelHeight()
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Returns the atom label height, as a ratio of the median bond length.
getBackgroundColor()
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
getBackgroundColor()
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Returns the background color.
getBondColor()
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
getBondColor()
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Returns the bond color.
getBondLength()
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
Returns the bond length for new bonds, in molecule units.
getBorderWidth()
- Method in class com.metamolecular.chemwriter.applet.
PainterApplet
Returns the width of the invisible border around this PainterApplet.
getCapStyle()
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
getCapStyle()
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Returns the line cap style.
getColoredAtoms()
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
getColoredAtoms()
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Returns an array of atom labels that this
PaintStyler
will color.
getDocumentHeight()
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
Returns the height of the document in pixels.
getDocumentWidth()
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
Returns the width of the document in pixels.
getHoverRadius()
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
Returns the hover radius, or the radius around which atoms will be detected as being hovered over by the mouse cursor.
getLineEndPadding()
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
getLineEndPadding()
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Returns the end line padding.
getLineOffset()
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
getLineOffset()
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Returns the multiple bond line offset as a ratio of the median bond length.
getLineWidth()
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
getLineWidth()
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Returns the line width, as a ratio of the median bond length.
getMolfile()
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
Returns the molfile representation of the molecule contained in this applet.
getMolfile()
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
getMolfile()
- Method in class com.metamolecular.chemwriter.applet.
PainterApplet
getParameterInfo()
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
getStereoWidth()
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
getStereoWidth()
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Returns the maximum width of a stereo bond, as a ratio of the bond length.
getTool()
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
Returns the name of the active tool.
getZoomFactor()
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
Returns the zoom factor to be applied by
zoomIn
and zoomOut.
I
init()
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
init()
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
init()
- Method in class com.metamolecular.chemwriter.applet.
PainterApplet
isAntialiasing()
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
isAntialiasing()
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Returns
true
if antialiasing is activated or
false
otherwise.
isAtomColoringEnabled()
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
isAtomColoringEnabled()
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Returns
true
if atom coloring is enabled, or
false
otherwise.
isBlank()
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
Returns
true
if this applet's canvas contains no molecule, or
false
otherwise.
isBlank()
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
isBlank()
- Method in class com.metamolecular.chemwriter.applet.
PainterApplet
isCarbonVisible()
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
isCarbonVisible()
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Returns
true
if carbon atoms and their associated virutal hydrogens are rendered or
false
otherwise.
isPreventStrayHeteroatoms()
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
Returns true if stray heteroatom protection is enabled, or false otherwise.
isRenderVirtualHydrogens()
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
isRenderVirtualHydrogens()
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Returns
true
if heteroatom virtual hydrogens are rendered or
false
otherwise.
isVirtualizeHydrogens()
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
Returns true if this applet virtualized hydrogen atoms from molfile input, or false otherwise.
P
paint(Graphics)
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
PainterApplet
- Class in
com.metamolecular.chemwriter.applet
A 2D structure rendering applet.
PainterApplet()
- Constructor for class com.metamolecular.chemwriter.applet.
PainterApplet
Default constructor.
PaintStyler
- Interface in
com.metamolecular.chemwriter.paint
Unified paint settings management.
R
redo()
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
Redoes the last user action, or does nothing if there is nothing to redo.
resetView()
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
Resets the editor view by scaling to the default scale and centering the molecule to the extent possible.
S
setAntialiasing(boolean)
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
setAntialiasing(boolean)
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Determines whether antialiasing is used.
setAtomColor(String, Color)
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
setAtomColor(String, int, int, int)
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
setAtomColor(String, Color)
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Sets the color for atoms of atomic symbol
atomicSymbol
to
color
setAtomColor(String, int, int, int)
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Sets the color for atoms of atomic symbol
atomicSymbol
to the color represented by the values
red
,
green
, and
blue
.
setAtomColoringEnabled(boolean)
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
setAtomColoringEnabled(boolean)
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Turns atom coloring on and off.
setAtomLabelFont(String)
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
setAtomLabelFont(String)
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Sets the name of the font being used to render atom labels.
setAtomLabelHeight(double)
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
setAtomLabelHeight(double)
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Sets the atom label height, as a ratio of the median bond length.
setBackgroundColor(Color)
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
setBackgroundColor(int, int, int)
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
setBackgroundColor(Color)
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Sets the background color to
color
.
setBackgroundColor(int, int, int)
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Sets the background color to that represented by the
red
green
, and
blue
values.
setBondColor(Color)
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
setBondColor(int, int, int)
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
setBondColor(Color)
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Sets the bond color to
color
.
setBondColor(int, int, int)
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Sets the bond color to that represented by the
red
,
green
, and
blue
values.
setBondLength(double)
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
Sets the bond length for new bonds, in molecule units.
setBorderWidth(int)
- Method in class com.metamolecular.chemwriter.applet.
PainterApplet
Places an invisible border around this PainterApplet with the indicated width.
setCapStyle(String)
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
setCapStyle(String)
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Sets the line cap style: "square", "round", or "none".
setCarbonVisible(boolean)
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
setCarbonVisible(boolean)
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Determines whether carbon atoms and their associated virtual hydrogens will be rendered.
setDocumentSize(int, int)
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
Resizes the document.
setHoverRadius(double)
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
Sets the hover radius, or the radius around which atoms will be detected as being hovered over by the mouse cursor.
setLineEndPadding(double)
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
setLineEndPadding(double)
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Sets line end padding to
padding
.
setLineOffset(double)
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
setLineOffset(double)
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Sets the multiple bond line offset, as a ratio of the bond length.
setLineWidth(double)
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
setLineWidth(double)
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Sets the line width, as a ratio of the median bond length.
setMolfile(String)
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
Replaces the current molecule with one defined by
molfile
.
setMolfile(String)
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
setMolfile(String)
- Method in class com.metamolecular.chemwriter.applet.
PainterApplet
setPreventStrayHeteroatoms(boolean)
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
Determines whether stray heteroatom protection will be enabled or not.
setRenderVirtualHydrogens(boolean)
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
setRenderVirtualHydrogens(boolean)
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Determines whether heteroatom virtual hydrogens will be rendered.
setStereoWidth(double)
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
setStereoWidth(double)
- Method in interface com.metamolecular.chemwriter.paint.
PaintStyler
Sets the maximum width of a stereo bond, as a ratio of the bond length.
setTool(String)
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
Selects the drawing tool to be used.
setVirtualizeHydrogens(boolean)
- Method in class com.metamolecular.chemwriter.applet.
BaseApplet
Removes hydrogens from non-stereogenic carbons and non-metallic heteroatoms for all molfile input.
setZoomFactor(double)
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
Sets the zoom factor to be applied by
zoomIn
and zoomOut.
start()
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
stop()
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
U
undo()
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
Performs an undo of the last user action, or does nothing if the undo limit has been reached.
Z
zoomIn()
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
Magnifies the molecule display by the value returned by
getZoomFactor
.
zoomOut()
- Method in class com.metamolecular.chemwriter.applet.
EditorApplet
Reduces the molecule display by the value returned by
getZoomFactor
.
B
C
E
F
G
I
P
R
S
U
Z
Overview
Package
Class
Tree
Deprecated
Index
Help
ChemWriter v1.3.0
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2007, 2008
Metamolecular, LLC
. All Rights Reserved.