|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcct.modelling.AtomTypeDef
public class AtomTypeDef
Title: Molecular Structure Viewer/Editor
Description:
Defines atom typeCopyright: Copyright (c) 2005
Company: ANU
| Field Summary | |
|---|---|
(package private) java.awt.Color |
atomColor
|
(package private) float |
covalentRadius
|
(package private) java.lang.String |
Description
|
protected int |
Element
|
protected int |
Geometry
|
protected java.lang.String |
Name
|
protected int |
Valence
|
(package private) float |
Weight
|
| Fields inherited from interface cct.modelling.AtomProperties |
|---|
GEOMETRY_LINEAR, GEOMETRY_TETRAHEDRAL, GEOMETRY_TRIGONAL |
| Constructor Summary | |
|---|---|
AtomTypeDef(java.lang.String name,
int element,
int valence,
int geometry)
|
|
AtomTypeDef(java.lang.String name,
java.lang.String element,
int valence,
int geometry)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Get name (mnemonic) of atom type |
void |
Init(java.lang.String name,
int element,
int valence,
int geometry)
|
void |
setDescription(java.lang.String descr)
Sets description for this atom type |
boolean |
setWeight(float weight)
Set atomic weight |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String Name
protected int Element
protected int Valence
protected int Geometry
java.awt.Color atomColor
float Weight
float covalentRadius
java.lang.String Description
| Constructor Detail |
|---|
public AtomTypeDef(java.lang.String name,
java.lang.String element,
int valence,
int geometry)
public AtomTypeDef(java.lang.String name,
int element,
int valence,
int geometry)
| Method Detail |
|---|
public void Init(java.lang.String name,
int element,
int valence,
int geometry)
public java.lang.String getName()
public boolean setWeight(float weight)
weight - float
public void setDescription(java.lang.String descr)
descr - String
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||