getPropertyName() public method

public getPropertyName ( ) : global::java.lang.String
return global::java.lang.String
Ejemplo n.º 1
0
 public void propertyChange(PropertyChangeEvent pcEvent)
 {
     String name = pcEvent.getPropertyName();
     if (name.Equals("mol"))
     {
         currentMol = (Molecule) pcEvent.getNewValue();
         textBoxFormula.Text = currentMol.getFormula();
         textBoxSmiles.Text = currentMol.toFormat("smiles");
         textBoxWeight.Text = Convert.ToString(currentMol.getMass());
     }
 }
Ejemplo n.º 2
0
 public void propertyChange(PropertyChangeEvent pcEvent)
 {
     String name = pcEvent.getPropertyName();
     if (name.Equals("mol"))
     {
         currentMol = (Molecule) pcEvent.getNewValue();
         updateMolProperties();
     }
 }