ucl.physiol.neuroconstruct.project.segmentchoice
Class IndividualSegments

java.lang.Object
  extended by ucl.physiol.neuroconstruct.project.segmentchoice.SegmentLocationChooser
      extended by ucl.physiol.neuroconstruct.project.segmentchoice.IndividualSegments

public class IndividualSegments
extends SegmentLocationChooser

Class for selecting a list of individual segments

Author:
Padraig Gleeson

Constructor Summary
IndividualSegments()
           
IndividualSegments(ArrayList<Integer> listOfSegments)
           
 
Method Summary
 Object clone()
           
protected  SegmentLocation generateNextSegLoc()
           
 float getFractionAlong()
           
 ArrayList<Integer> getListOfSegmentIds()
           
static void main(String[] args)
           
protected  void reinitialise()
           
 void setFractionAlong(float fractAlong)
           
 void setListOfSegmentIds(ArrayList<Integer> listOfSegmentIds)
           
 String toNiceString()
           
 
Methods inherited from class ucl.physiol.neuroconstruct.project.segmentchoice.SegmentLocationChooser
getDescription, getNextSegLoc, initialise, isInitialised, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IndividualSegments

public IndividualSegments()

IndividualSegments

public IndividualSegments(ArrayList<Integer> listOfSegments)
Method Detail

getListOfSegmentIds

public ArrayList<Integer> getListOfSegmentIds()

setListOfSegmentIds

public void setListOfSegmentIds(ArrayList<Integer> listOfSegmentIds)

getFractionAlong

public float getFractionAlong()

setFractionAlong

public void setFractionAlong(float fractAlong)

clone

public Object clone()
Overrides:
clone in class SegmentLocationChooser

generateNextSegLoc

protected SegmentLocation generateNextSegLoc()
                                      throws AllSegmentsChosenException,
                                             SegmentChooserException
Specified by:
generateNextSegLoc in class SegmentLocationChooser
Throws:
AllSegmentsChosenException
SegmentChooserException

reinitialise

protected void reinitialise()
Specified by:
reinitialise in class SegmentLocationChooser

toNiceString

public String toNiceString()
Specified by:
toNiceString in class SegmentLocationChooser

main

public static void main(String[] args)