|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectastex.generic.Generic
astex.Bond
public class Bond
| Field Summary | |
|---|---|
static int |
AmideBond
Constant that defines an aromatic bond. |
static int |
AnyBond
Constant that defines any bond. |
static int |
AromaticBond
Constant that defines an aromatic bond. |
int |
attributes
The integer that stores the attributes. |
static java.lang.String |
BondOrder
|
static double |
bondScale
|
static int |
DoubleBond
Constant that defines a single bond. |
static int |
DoubleOrAromaticBond
Constant that defines a double or aromatic bond. |
static int |
ExplicitBond
Did the bond come from a CONECT record. |
static int |
ringBond
Is the bond in a ring of any description. |
static int |
SingleBond
Constant that defines a single bond. |
static int |
SingleOrAromaticBond
Constant that defines a single or aromatic bond. |
static int |
SingleOrDoubleBond
Constant that defines a single or double bond. |
static int |
TripleBond
Constant that defines a single bond. |
static int |
wideBond
Is the bond to be drawn wide. |
| Fields inherited from class astex.generic.Generic |
|---|
ClassName |
| Fields inherited from interface astex.generic.GenericInterface |
|---|
Name |
| Method Summary | |
|---|---|
static Bond |
create()
A method that will create a new Bond. |
void |
delete()
Delete this bond. |
java.lang.Object |
get(java.lang.Object key,
java.lang.Object def)
Get Object representing key. |
Atom |
getAtom(int index)
Get the specified atom. |
int |
getBondColor()
Get the value of bondColor. |
double |
getBondLength()
Get the actual bond length. |
int |
getBondOrder()
Get the bond order. |
java.lang.String |
getBondSymbol()
Return a smiles style symbol for the bond. |
int |
getBondWidth()
Get the value of bondWidth. |
java.lang.Object |
getClassname()
Get our class description. |
double |
getCylinderWidth()
Get the value of cylinderWidth. |
Atom |
getFirstAtom()
Return the first atom in a bond. |
double |
getIdealBondLength()
Get the ideal bond length. |
Atom |
getOtherAtom(Atom knownAtom)
Given one atom in a bond return the other atom from the bond. |
java.util.Enumeration |
getProperties()
Return an enumeration of our properties. |
Atom |
getSecondAtom()
Return the second atom in a bond. |
double |
getStickWidth()
Get the value of stickWidth. |
Point3d |
getUnitVector()
Get unit vector. |
boolean |
isExplicitBond()
Is bond an explicit bond. |
boolean |
isNonRotatable()
Is this bond non rotatable. |
boolean |
isQueryBond()
Is the bond a query bond. |
boolean |
isRingBond()
Is the bond in a ring. |
boolean |
isTerminalBond()
Is this a terminal bond. |
boolean |
isWideBond()
Is the bond wide. |
java.lang.Object |
set(java.lang.Object key,
java.lang.Object property)
Set an object value. |
void |
setBondColor(int v)
Set the value of bondColor. |
void |
setBondOrder(int order)
Set the bond order. |
void |
setBondWidth(int v)
Set the value of bondWidth. |
void |
setCylinderWidth(double v)
Set the value of cylinderWidth. |
void |
setExplicitBond(boolean e)
Set whehter this bond was an explicit bond. |
void |
setFirstAtom(Atom newFirstAtom)
Set the first atom in the bond. |
void |
setIdealBondLength(double d)
Set the ideal bond length. |
void |
setRingBond(boolean ring)
Set the bond ring status. |
void |
setSecondAtom(Atom newSecondAtom)
Set the second atom in the bond. |
void |
setStickWidth(double v)
Set the value of stickWidth. |
void |
setWideBond(boolean wide)
Set the bond to be wide or not. |
java.lang.String |
toString()
String representation of the bond. |
| Methods inherited from class astex.generic.Generic |
|---|
addChild, addListener, addParent, getBoolean, getChildren, getDouble, getInteger, getParents, getString, main, removeChild, removeListener, removeParent, setBoolean, setClassname, setDouble, setInteger, setString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String BondOrder
public static final int SingleBond
public static final int DoubleBond
public static final int TripleBond
public static final int AromaticBond
public static final int AmideBond
public static final int SingleOrDoubleBond
public static final int SingleOrAromaticBond
public static final int DoubleOrAromaticBond
public static final int AnyBond
public static final double bondScale
public int attributes
public static int wideBond
public static int ringBond
public static int ExplicitBond
| Method Detail |
|---|
public java.lang.Object getClassname()
GenericInterface
getClassname in interface GenericInterfacegetClassname in class Generic
public java.lang.Object set(java.lang.Object key,
java.lang.Object property)
GenericInterface
set in interface GenericInterfaceset in class Generic
public java.lang.Object get(java.lang.Object key,
java.lang.Object def)
GenericInterface
get in interface GenericInterfaceget in class Genericpublic java.util.Enumeration getProperties()
GenericInterface
getProperties in interface GenericInterfacegetProperties in class Genericpublic boolean isExplicitBond()
public void setExplicitBond(boolean e)
public int getBondWidth()
public void setBondWidth(int v)
v - Value to assign to bondWidth.public double getStickWidth()
public void setStickWidth(double v)
v - Value to assign to stickWidth.public double getCylinderWidth()
public void setCylinderWidth(double v)
v - Value to assign to cylinderWidth.public int getBondColor()
public void setBondColor(int v)
v - Value to assign to bondColor.public void setWideBond(boolean wide)
public void setRingBond(boolean ring)
public boolean isWideBond()
public boolean isRingBond()
public void setBondOrder(int order)
public int getBondOrder()
public boolean isQueryBond()
public static Bond create()
public void setFirstAtom(Atom newFirstAtom)
public void setSecondAtom(Atom newSecondAtom)
public Atom getFirstAtom()
public Atom getSecondAtom()
public Atom getAtom(int index)
public Atom getOtherAtom(Atom knownAtom)
public java.lang.String getBondSymbol()
public boolean isTerminalBond()
public boolean isNonRotatable()
public void setIdealBondLength(double d)
public double getIdealBondLength()
public double getBondLength()
public java.lang.String toString()
toString in class java.lang.Objectpublic Point3d getUnitVector()
public void delete()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||