uk.ac.ed.morphml_handler
Class Cell

java.lang.Object
  extended by org.virtualratbrain.namespace.impl.CellImpl
      extended by uk.ac.ed.morphml_handler.Cell
All Implemented Interfaces:
com.sun.xml.bind.JAXBObject, org.virtualratbrain.namespace.Cell, org.virtualratbrain.namespace.impl.runtime.UnmarshallableObject, org.virtualratbrain.namespace.impl.runtime.ValidatableObject, org.virtualratbrain.namespace.impl.runtime.XMLSerializable, MorphMLEntity

public class Cell
extends org.virtualratbrain.namespace.impl.CellImpl
implements MorphMLEntity


Nested Class Summary
static class Cell.CellAdapter
           
static class Cell.CellEvent
           
static interface Cell.CellListener
           
 
Nested classes/interfaces inherited from class org.virtualratbrain.namespace.impl.CellImpl
org.virtualratbrain.namespace.impl.CellImpl.SegmentsTypeImpl, org.virtualratbrain.namespace.impl.CellImpl.SpinesTypeImpl, org.virtualratbrain.namespace.impl.CellImpl.Unmarshaller
 
Nested classes/interfaces inherited from interface uk.ac.ed.morphml_handler.MorphMLEntity
MorphMLEntity.MorphMLEntityListener
 
Nested classes/interfaces inherited from interface org.virtualratbrain.namespace.Cell
org.virtualratbrain.namespace.Cell.SegmentsType, org.virtualratbrain.namespace.Cell.SpinesType
 
Field Summary
protected  ArrayList cell_listeners
           
protected  Morphology morphology
           
protected  boolean visible
           
 
Fields inherited from class org.virtualratbrain.namespace.impl.CellImpl
_CellBody, _FreePoints, _Name, _Properties, _Segments, _Spines, version
 
Constructor Summary
Cell()
           
 
Method Summary
 void addCellBody(org.virtualratbrain.namespace.CellBody cell_body)
           
 void addCellBodyPolygon(org.virtualratbrain.namespace.Polygon polygon)
           
 void addCellListener(Cell.CellListener listener)
           
 void addSegment(org.virtualratbrain.namespace.Segment segment)
           
 boolean canHide()
           
 boolean canShow()
           
 Morphology getMorphology()
           
 MorphMLEntity getParentEntity()
           
 org.virtualratbrain.namespace.Property getProperty(String name)
           
 void hide()
           
 boolean isVisible()
           
 void removeCellListener(Cell.CellListener listener)
           
 void setMorphology(Morphology morphology)
           
 void setProperties(Properties properties)
           
protected  void setVisible(boolean visible)
           
protected  void setVisibleUp(boolean visible)
           
 void show()
           
 void validate()
           
 
Methods inherited from class org.virtualratbrain.namespace.impl.CellImpl
createRawValidator, createUnmarshaller, getCellBody, getFreePoints, getName, getPrimaryInterface, getProperties, getSegments, getSpines, serializeAttributes, serializeBody, serializeURIs, setCellBody, setFreePoints, setName, setProperties, setSegments, setSpines
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

morphology

protected Morphology morphology

visible

protected boolean visible

cell_listeners

protected ArrayList cell_listeners
Constructor Detail

Cell

public Cell()
Method Detail

isVisible

public boolean isVisible()
Specified by:
isVisible in interface MorphMLEntity

canShow

public boolean canShow()
Specified by:
canShow in interface MorphMLEntity

canHide

public boolean canHide()
Specified by:
canHide in interface MorphMLEntity

show

public void show()
Specified by:
show in interface MorphMLEntity

hide

public void hide()
Specified by:
hide in interface MorphMLEntity

setVisible

protected void setVisible(boolean visible)

setVisibleUp

protected void setVisibleUp(boolean visible)

validate

public void validate()
Specified by:
validate in interface MorphMLEntity

getParentEntity

public MorphMLEntity getParentEntity()
Specified by:
getParentEntity in interface MorphMLEntity

getMorphology

public Morphology getMorphology()

setMorphology

public void setMorphology(Morphology morphology)

addCellListener

public void addCellListener(Cell.CellListener listener)

removeCellListener

public void removeCellListener(Cell.CellListener listener)

getProperty

public org.virtualratbrain.namespace.Property getProperty(String name)

setProperties

public void setProperties(Properties properties)

addCellBody

public void addCellBody(org.virtualratbrain.namespace.CellBody cell_body)

addSegment

public void addSegment(org.virtualratbrain.namespace.Segment segment)

addCellBodyPolygon

public void addCellBodyPolygon(org.virtualratbrain.namespace.Polygon polygon)