uk.ac.ed.morphml_handler
Class Feature

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

public class Feature
extends org.virtualratbrain.namespace.impl.FeatureImpl
implements MorphMLEntity


Nested Class Summary
static class Feature.FeatureAdapter
           
static class Feature.FeatureEvent
           
static interface Feature.FeatureListener
           
 
Nested classes/interfaces inherited from class org.virtualratbrain.namespace.impl.FeatureImpl
org.virtualratbrain.namespace.impl.FeatureImpl.Unmarshaller
 
Nested classes/interfaces inherited from interface uk.ac.ed.morphml_handler.MorphMLEntity
MorphMLEntity.MorphMLEntityListener
 
Field Summary
protected  ArrayList feature_listeners
           
protected  Morphology morphology
           
protected  boolean visible
           
 
Fields inherited from class org.virtualratbrain.namespace.impl.FeatureImpl
_FreePoints, _Manifold, _Name, _Path, _Polygon, _Polyhedron, _Properties, _Sphere, version
 
Constructor Summary
Feature()
           
 
Method Summary
 void addFeatureListener(Feature.FeatureListener listener)
           
 void addFreePoints(org.virtualratbrain.namespace.FreePoints points)
           
 void addPolygon(org.virtualratbrain.namespace.Polygon polygon)
           
 boolean canHide()
           
 boolean canShow()
           
 Morphology getMorphology()
           
 MorphMLEntity getParentEntity()
           
 org.virtualratbrain.namespace.Property getProperty(String name)
           
 void hide()
           
 boolean isVisible()
           
 void removeFeatureListener(Feature.FeatureListener 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.FeatureImpl
_getFreePoints, _getManifold, _getPath, _getPolygon, _getPolyhedron, _getSphere, createRawValidator, createUnmarshaller, getFreePoints, getManifold, getName, getPath, getPolygon, getPolyhedron, getPrimaryInterface, getProperties, getSphere, serializeAttributes, serializeBody, serializeURIs, setName, setProperties
 
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

feature_listeners

protected ArrayList feature_listeners
Constructor Detail

Feature

public Feature()
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

addFeatureListener

public void addFeatureListener(Feature.FeatureListener listener)

removeFeatureListener

public void removeFeatureListener(Feature.FeatureListener listener)

getProperty

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

getMorphology

public Morphology getMorphology()

setMorphology

public void setMorphology(Morphology morphology)

setProperties

public void setProperties(Properties properties)

addPolygon

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

addFreePoints

public void addFreePoints(org.virtualratbrain.namespace.FreePoints points)