org.jmol.modelset
Class Bond
java.lang.Object
org.jmol.modelset.Bond
public class Bond
- extends java.lang.Object
Constructor Summary |
Bond(Atom atom1,
Atom atom2,
short order,
short mad,
short colix)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
atom1
Atom atom1
atom2
Atom atom2
order
short order
mad
short mad
colix
short colix
index
int index
shapeVisibilityFlags
int shapeVisibilityFlags
myVisibilityFlag
static final int myVisibilityFlag
Bond
Bond(Atom atom1,
Atom atom2,
short order,
short mad,
short colix)
getMad
public short getMad()
getColix
public short getColix()
getShapeVisibilityFlags
public int getShapeVisibilityFlags()
getIdentity
public java.lang.String getIdentity()
formatLabel
public java.lang.String formatLabel(java.lang.String strFormat,
int[] indices)
isCovalent
public boolean isCovalent()
isHydrogen
boolean isHydrogen()
isStereo
boolean isStereo()
isPartial
boolean isPartial()
isAromatic
boolean isAromatic()
getValence
int getValence()
deleteAtomReferences
void deleteAtomReferences()
setMad
public void setMad(short mad)
setShapeVisibility
final void setShapeVisibility(int shapeVisibilityFlag,
boolean isVisible)
setColix
public void setColix(short colix)
setTranslucent
public void setTranslucent(boolean isTranslucent,
float translucentLevel)
isTranslucent
boolean isTranslucent()
setOrder
public void setOrder(short order)
getAtom1
public Atom getAtom1()
getAtom2
public Atom getAtom2()
getAtomIndex1
public int getAtomIndex1()
getAtomIndex2
public int getAtomIndex2()
getRadius
float getRadius()
getOrder
public short getOrder()
getOrderName
java.lang.String getOrderName()
getOrderNumber
java.lang.String getOrderNumber()
getColix1
short getColix1()
getArgb1
int getArgb1()
getColix2
short getColix2()
getArgb2
int getArgb2()
getOtherAtom
public Atom getOtherAtom(Atom thisAtom)
setShapeVisibilityFlags
public void setShapeVisibilityFlags(int shapeVisibilityFlags)
setIndex
public void setIndex(int i)
is
public boolean is(int bondType)