本文整理了Java中org.openscience.cdk.Bond.notifyChanged()
方法的一些代码示例,展示了Bond.notifyChanged()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Bond.notifyChanged()
方法的具体详情如下:
包路径:org.openscience.cdk.Bond
类名称:Bond
方法名:notifyChanged
暂无
代码示例来源:origin: cdk/cdk
/**
* Sets the array of atoms making up this bond.
*
* @param atoms An array of atoms that forms this bond
* @see #atoms
*/
@Override
public void setAtoms(IAtom[] atoms) {
this.atoms = atoms;
atomCount = atoms.length;
notifyChanged();
}
代码示例来源:origin: org.openscience.cdk/cdk-data
/**
* Sets the stereo descriptor for this bond.
*
* @param stereo The stereo descriptor to be assigned to this bond.
* @see #getStereo
* @see org.openscience.cdk.CDKConstants for predefined values.
*/
@Override
public void setStereo(IBond.Stereo stereo) {
this.stereo = stereo;
notifyChanged();
}
代码示例来源:origin: org.openscience.cdk/cdk-data
/**
* Sets the array of atoms making up this bond.
*
* @param atoms An array of atoms that forms this bond
* @see #atoms
*/
@Override
public void setAtoms(IAtom[] atoms) {
this.atoms = atoms;
atomCount = atoms.length;
notifyChanged();
}
代码示例来源:origin: cdk/cdk
/**
* Sets the stereo descriptor for this bond.
*
* @param stereo The stereo descriptor to be assigned to this bond.
* @see #getStereo
* @see org.openscience.cdk.CDKConstants for predefined values.
*/
@Override
public void setStereo(IBond.Stereo stereo) {
this.stereo = stereo;
notifyChanged();
}
代码示例来源:origin: org.openscience.cdk/cdk-data
/**
* Sets an Atom in this bond.
*
* @param atom The atom to be set
* @param position The position in this bond where the atom is to be inserted
* @see #getAtom
*/
@Override
public void setAtom(IAtom atom, int position) {
if (atoms[position] == null && atom != null) atomCount++;
if (atoms[position] != null && atom == null) atomCount--;
atoms[position] = atom;
notifyChanged();
}
代码示例来源:origin: cdk/cdk
/**
* Sets an Atom in this bond.
*
* @param atom The atom to be set
* @param position The position in this bond where the atom is to be inserted
* @see #getAtom
*/
@Override
public void setAtom(IAtom atom, int position) {
if (atoms[position] == null && atom != null) atomCount++;
if (atoms[position] != null && atom == null) atomCount--;
atoms[position] = atom;
notifyChanged();
}
代码示例来源:origin: cdk/cdk
/** {@inheritDoc} */
@Override
public void notifyChanged() {
logger.debug("Notifying changed");
super.notifyChanged();
}
代码示例来源:origin: cdk/cdk
/** {@inheritDoc} */
@Override
public void notifyChanged(IChemObjectChangeEvent evt) {
logger.debug("Notifying changed event: ", evt);
super.notifyChanged(evt);
}
代码示例来源:origin: cdk/cdk
/**
* Sets the bond order of this bond.
*
* @param order The bond order to be assigned to this bond
* @see org.openscience.cdk.CDKConstants
* org.openscience.cdk.CDKConstants for predefined values.
* @see #getOrder
*/
@Override
public void setOrder(Order order) {
this.order = order;
updateElectronCount(order);
notifyChanged();
}
代码示例来源:origin: org.openscience.cdk/cdk-data
/**
* Sets the bond order of this bond.
*
* @param order The bond order to be assigned to this bond
* @see org.openscience.cdk.CDKConstants
* org.openscience.cdk.CDKConstants for predefined values.
* @see #getOrder
*/
@Override
public void setOrder(Order order) {
this.order = order;
updateElectronCount(order);
notifyChanged();
}
内容来源于网络,如有侵权,请联系作者删除!