Package mgui.interfaces.attributes
Interface AttributeObject
- All Superinterfaces:
NamedObject
- All Known Subinterfaces:
Engine
- All Known Implementing Classes:
AbstractAxon
,AbstractCompartment
,AbstractCorticalConnection
,AbstractCorticalInput
,AbstractCorticalOutput
,AbstractCorticalRegion
,AbstractDendrite
,AbstractDendrites
,AbstractMotorNeuron
,AbstractNetwork
,AbstractNetworkComponent
,AbstractNetworkGraph
,AbstractNetworkModel
,AbstractNeuralNet
,AbstractNeuroComponent
,AbstractNeuron
,AbstractNeuronalComponent
,AbstractSensoryNeuron
,AbstractSoma
,AbstractSynapse
,AttributeObjectVideoTaskDialogPanel
,BiexponentialFunction
,BoolPolygon2DInt
,Box3DInt
,Camera3D
,Camera3D.CameraLightSource
,ChangeSectionVideoTaskDialogPanel
,Circle2DInt
,CompartmentalComponent
,CompartmentalDendrite
,CompartmentalNeuron
,CompartmentalSoma
,ConnectableNeuron
,ContinuousColourBar
,CorticalFunction
,CorticalHemisphereSet3DInt
,CorticalNetwork
,CorticalNetworkGraph
,CorticalRegion
,CorticalSurfaceSet3DInt
,CorticalVolume
,CorticalVolume
,DataConnection
,DataSourceDriver
,DataTableModel
,DecayFunction
,DefaultGraph
,DiscreteColourMapLayout
,DrawingEngine
,Ellipse2DInt
,Function
,Graph2DInt
,Graph3DInt
,Graphic2DGrid
,HardLimitFunction
,Image2DInt
,Image3DInt
,InterfaceAbstractGraph
,InterfaceAttributePanel
,InterfaceButtonPanel
,InterfaceCaminoPanel
,InterfaceCoCoMacPanel
,InterfaceComboPanel
,InterfaceConsoleDisplay
,InterfaceCorticalThicknessPanel
,InterfaceDatasourcePanel
,InterfaceDataTable
,InterfaceDataTableTitle
,InterfaceDisplayPanel
,InterfaceDynamicModelPanel
,InterfaceFilePanel
,InterfaceGraphDisplay
,InterfaceGraphDisplayTitle
,InterfaceGraphic
,InterfaceGraphic2D
,InterfaceGraphic3D
,InterfaceGraphicPanel
,InterfaceGraphicWindow
,InterfaceHideablePanel
,InterfaceLayoutPanel
,InterfaceLayoutWindow
,InterfaceListPanel
,InterfaceMapPanel
,InterfaceMeshPanel
,InterfaceMorphPanel
,InterfaceMorphPanel2
,InterfaceNeuroMeshPanel
,InterfaceNeuroMeshPanel2
,InterfacePanel
,InterfacePipelinesPanel
,InterfacePlot
,InterfacePlotDisplay
,InterfacePlotMgui
,InterfacePlotMulti
,InterfacePlotObject
,InterfacePlotOsp
,InterfacePlotPanel
,InterfacePlotSgt
,InterfacePolygonPanel
,InterfaceProject
,InterfaceProjectPanel
,InterfaceQueryPanel
,InterfaceRadialRep
,InterfaceRadialRep2
,InterfaceSectionSetPanel
,InterfaceSelectionPanel
,InterfaceSelectionSet
,InterfaceShape
,InterfaceShapesPanel
,InterfaceSplitPanel
,InterfaceStatusBarPanel
,InterfaceStripChart
,InterfaceTabbedDisplayPanel
,InterfaceTableModel
,InterfaceTool2DPanel
,InterfaceToolPanel
,InterfaceTreePanel
,InterfaceVolumePanel
,InterfaceVolumeSetPanel
,IntPolygon2DInt
,JdbcOdbcDriver
,KohonenNet
,Line2DInt
,LinearUpdater
,LPolygon2DInt
,LPolygon3DInt
,MatrixImagePlot
,MatrixInt
,Mesh2DInt
,Mesh3DInt
,MeshEngine
,MorphDrawEngine
,MorphSections3DInt
,MorrisLecarFunction
,MySQLDriver
,NeuralNetGraph
,NeuroMeshEngine
,NeuronalCompartmentalComponent
,ODEFunction
,PathDataRenderer
,PerceptronNet
,Plane3DInt
,Point2DInt
,PointSet2DInt
,PointSet3DInt
,Polygon2DInt
,Polygon3DInt
,PolygonSet3DInt
,PostgreSQLDriver
,PulseTrainUpdater
,PulseTrainUpdater
,PulseTrainUpdater.CurrentPulse
,PulseTrainUpdater.CurrentPulse
,RadialRep2DInt
,Rect2DInt
,Rect3DInt
,RotateView3DTaskDialogPanel
,SectionSet2DInt
,SectionSet3DInt
,SetView3DTaskDialogPanel
,SgtLine
,SgtMultilinePlot
,SgtPlotObject
,SgtPointSet
,SgtScatterplot
,Shape2DInt
,Shape2DSelectionSet
,Shape3DInt
,ShapeEngine
,ShapeSelectionSet
,ShapeSet2DInt
,ShapeSet3DInt
,ShapeStatsPanel
,SigmoidFunction
,SimpleAxon
,SimpleCompartment
,SimpleCorticalConnection
,SimpleCorticalInput
,SimpleCorticalOutput
,SimpleCorticalRegion
,SimpleDendrite
,SimpleDendrites
,SimpleEnvironmentUpdater
,SimpleMotorNeuron
,SimpleNeuron
,SimpleSensoryNeuron
,SimpleSoma
,SimpleSynapse
,StringVectorInt
,TensorVolume3DInt
,TestTextureInt
,Text2DInt
,Text2DIntMouseCoords
,TinySQLDriver
,VariableInt
,VariableTableModel
,Vector2DInt
,Vector3DInt
,VectorInt
,VectorSet3DInt
,VideoTaskDialogPanel
,Volume2DInt
,Volume3DInt
,Volume4DInt
,VolumeEngine
,VolumeSet3DInt
,X3DScene3DInt
public interface AttributeObject extends NamedObject
Interface for objects which specify their attributes using an
AttributeList
.- Since:
- 1.0
- Version:
- 1.0
- Author:
- Andrew Reid
-
Method Summary
Modifier and Type Method Description Attribute<?>
getAttribute(java.lang.String name)
Returns a specific attribute for this object.AttributeList
getAttributes()
Returns the list of current attributes for this object.java.lang.Object
getAttributeValue(java.lang.String name)
Gets the value of attributename
, ornull
if it does not exist.void
setAttribute(java.lang.String name, java.lang.Object value)
Sets a value for a specific attribute.void
setAttributes(AttributeList list)
Sets the list of attributes for this object.Methods inherited from interface mgui.interfaces.NamedObject
getName, setName
-
Method Details
-
getAttributes
AttributeList getAttributes()Returns the list of current attributes for this object.- Returns:
-
getAttribute
Returns a specific attribute for this object.- Parameters:
name
-- Returns:
-
setAttributes
Sets the list of attributes for this object.- Parameters:
list
-
-
setAttribute
void setAttribute(java.lang.String name, java.lang.Object value)Sets a value for a specific attribute.- Parameters:
name
-value
-
-
getAttributeValue
java.lang.Object getAttributeValue(java.lang.String name)Gets the value of attributename
, ornull
if it does not exist.- Parameters:
name
- Name of the attribute- Returns:
- the value of attribute
name
, ornull
if it does not exist
-