hep.aida.ref
Class ManagedObject
- java.lang.Object
-
- hep.aida.ref.event.AIDAObservable
-
- hep.aida.ref.ManagedObject
-
- All Implemented Interfaces:
- IDevManagedObject, IManagedObject, Connectable
- Direct Known Subclasses:
- AbstractBaseHistogram, AbstractIFunction, AbstractTuple, BaseModelFunction, ContainerManagedObject, DataPointSet, Folder, Link, SumOfFunctions
public class ManagedObject extends AIDAObservable implements Connectable, IDevManagedObject
An object which can be stored in a tree. Implementation of IManagedObject.
-
-
Constructor Summary
Constructors Constructor and Description ManagedObject(java.lang.String name)Creates a new instance of ManagedObject.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanisFillable()java.lang.Stringname()Get the name of this ManagedObject.voidsetFillable(boolean fillable)If ManagedObject is fillable, it can modified.voidsetName(java.lang.String name)Set the name of this ManagedObject.java.lang.Stringtype()Get the type of an IManagedObject.static java.lang.StringtypeForClass(java.lang.Class c)-
Methods inherited from class hep.aida.ref.event.AIDAObservable
addListener, isConnected, removeAllListeners, removeListener, setConnected, setValid, setValidForAll
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hep.aida.ref.event.Connectable
isConnected, setConnected
-
-
-
-
Constructor Detail
-
ManagedObject
public ManagedObject(java.lang.String name)
Creates a new instance of ManagedObject.- Parameters:
name- The name of the ManagedObject as it will appear in the Tree.
-
-
Method Detail
-
setFillable
public void setFillable(boolean fillable)
If ManagedObject is fillable, it can modified. othervisw throws ReadOnlyException.
-
isFillable
public boolean isFillable()
-
name
public java.lang.String name()
Get the name of this ManagedObject. Names can only be changed using the ITree.mv().- Specified by:
namein interfaceIManagedObject- Returns:
- The name of the ManagedObject.
-
setName
public void setName(java.lang.String name)
Set the name of this ManagedObject.- Specified by:
setNamein interfaceIDevManagedObject- Parameters:
name- The new name of the ManagedObject.
-
type
public java.lang.String type()
Description copied from interface:IManagedObjectGet the type of an IManagedObject. The same string as the ITree::listObjectTypes() returns.- Specified by:
typein interfaceIManagedObject- Returns:
- The type of the IManagedObject.
-
typeForClass
public static java.lang.String typeForClass(java.lang.Class c)
-
-
DMelt 3.0 © DataMelt by jWork.ORG