|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucl.physiol.neuroconstruct.project.cellchoice.CellChooser
public abstract class CellChooser
Base class for all Cell Choosers. This can be extended to allow different subsets of Cell Groups to be selected. The primary purpose of this is to allow elec stims be put on subsets of cell groups, e.g. all cells, a percentage of cells, cells in a 3D region, etc. Alternative future uses may be envisioned
| Constructor Summary | |
|---|---|
CellChooser(String description)
|
|
| Method Summary | |
|---|---|
Object |
clone()
|
protected abstract int |
generateNextCellIndex()
|
ArrayList<Integer> |
getCachedCellList()
|
protected ArrayList<PositionRecord> |
getCopyCellPositions()
|
String |
getDescription()
|
int |
getNextCellIndex()
Gets the next chosen cell index based on the settings in the sub class |
ArrayList<Integer> |
getOrderedCellList()
|
InternalStringFloatParameter[] |
getParameterList()
|
String |
getParameterStringValue(String parameterName)
|
float |
getParameterValue(String parameterName)
|
void |
initialise(ArrayList<PositionRecord> cellPositions)
|
boolean |
isInitialised()
|
protected abstract void |
reinitialise()
|
void |
setParameter(String parameterName,
float parameterValue)
Puts the specified parameter into the proper InternalStringFloatParameter Note: can be over ridden if there are specific checks to be made on the parameter |
void |
setParameter(String parameterName,
String parameterStringValue)
Puts the specified parameter into the proper InternalStringFloatParameter Note: can be over ridden if there are specific checks to be made on the parameter |
void |
setParameterList(InternalStringFloatParameter[] parameterList)
|
abstract String |
toNiceString()
|
abstract String |
toShortString()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CellChooser(String description)
| Method Detail |
|---|
public Object clone()
clone in class Objectprotected ArrayList<PositionRecord> getCopyCellPositions()
public String getDescription()
public void initialise(ArrayList<PositionRecord> cellPositions)
public ArrayList<Integer> getOrderedCellList()
throws CellChooserException
CellChooserException
public ArrayList<Integer> getCachedCellList()
throws CellChooserException
CellChooserException
public int getNextCellIndex()
throws AllCellsChosenException,
CellChooserException
AllCellsChosenException
CellChooserExceptionpublic boolean isInitialised()
protected abstract int generateNextCellIndex()
throws AllCellsChosenException,
CellChooserException
AllCellsChosenException
CellChooserExceptionprotected abstract void reinitialise()
public float getParameterValue(String parameterName)
public String getParameterStringValue(String parameterName)
public void setParameter(String parameterName,
float parameterValue)
throws CellChooserException
CellChooserException
public void setParameter(String parameterName,
String parameterStringValue)
throws CellChooserException
CellChooserExceptionpublic String toString()
toString in class Objectpublic abstract String toNiceString()
public abstract String toShortString()
public InternalStringFloatParameter[] getParameterList()
public void setParameterList(InternalStringFloatParameter[] parameterList)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||