Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.xmlcml.cml.mvc
Class MoleculeAdapter  view MoleculeAdapter download MoleculeAdapter.java

java.lang.Object
  extended byorg.xmlcml.cml.mvc.MoleculeAdapter
All Implemented Interfaces:
java.util.EventListener, MoleculeListener

public class MoleculeAdapter
extends java.lang.Object
implements MoleculeListener

base class for Events related to Molecules


Constructor Summary
MoleculeAdapter()
           
 
Method Summary
 void atomClicked(MoleculeEvent moleculeEvent)
          an CMLAtom has been clicked (e.g.
 void bondClicked(MoleculeEvent moleculeEvent)
          a CMLBond has been clicked (e.g.
 void moleculeClicked(MoleculeEvent moleculeEvent)
          a CMLMolecule a been clicked (e.g.
 void moleculeLoaded(MoleculeEvent moleculeEvent)
          a molecule has been read or created
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MoleculeAdapter

public MoleculeAdapter()
Method Detail

moleculeClicked

public void moleculeClicked(MoleculeEvent moleculeEvent)
Description copied from interface: MoleculeListener
a CMLMolecule a been clicked (e.g. other windows should update

Specified by:
moleculeClicked in interface MoleculeListener

moleculeLoaded

public void moleculeLoaded(MoleculeEvent moleculeEvent)
Description copied from interface: MoleculeListener
a molecule has been read or created

Specified by:
moleculeLoaded in interface MoleculeListener

atomClicked

public void atomClicked(MoleculeEvent moleculeEvent)
Description copied from interface: MoleculeListener
an CMLAtom has been clicked (e.g. other windows should update

Specified by:
atomClicked in interface MoleculeListener

bondClicked

public void bondClicked(MoleculeEvent moleculeEvent)
Description copied from interface: MoleculeListener
a CMLBond has been clicked (e.g. other windows should update

Specified by:
bondClicked in interface MoleculeListener