endrov.typeLineage
Class LineageSelParticle

java.lang.Object
  extended by endrov.util.collection.Tuple<Lineage,java.lang.String>
      extended by endrov.typeLineage.LineageSelParticle
All Implemented Interfaces:
EvSelection.EvSelectable, java.io.Serializable, java.lang.Comparable<Tuple<Lineage,java.lang.String>>

public class LineageSelParticle
extends Tuple<Lineage,java.lang.String>
implements EvSelection.EvSelectable

A selected particle

See Also:
Serialized Form

Constructor Summary
LineageSelParticle()
           
LineageSelParticle(Lineage lin, java.lang.String nuc)
           
 
Method Summary
protected  LineageSelParticle clone()
           
 Lineage.Particle getParticle()
           
 int hashCode()
           
 void setColor(EvColor c)
          Set color of selected object not so easy because of the databrowser! object-level selection requires objects to have this method.
 java.lang.String toString()
           
 
Methods inherited from class endrov.util.collection.Tuple
compareTo, equal, equals, fst, make, snd
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LineageSelParticle

public LineageSelParticle(Lineage lin,
                          java.lang.String nuc)

LineageSelParticle

public LineageSelParticle()
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class Tuple<Lineage,java.lang.String>

hashCode

public int hashCode()
Overrides:
hashCode in class Tuple<Lineage,java.lang.String>

getParticle

public Lineage.Particle getParticle()

setColor

public void setColor(EvColor c)
Description copied from interface: EvSelection.EvSelectable
Set color of selected object not so easy because of the databrowser! object-level selection requires objects to have this method. I find this rather GUI-ish

Specified by:
setColor in interface EvSelection.EvSelectable

clone

protected LineageSelParticle clone()
Overrides:
clone in class java.lang.Object