Kernel utility classes.
- Ptolemy II 3.1
Interface Summary Interface Description ChangeableThis is an interface for objects that support change requests that can be deferred. ChangeListenerA ChangeListener is an interface implemented by objects that are interested in being kept informed about changes in a model as they are executed. ConfigurableObjects that can be configured by reading a file or configuration information given as text, typically in XML format, should implement this interface. DebugEventAn interface for events that can be used for debugging. DebuggableThis is an interface for objects that debug listeners can be attached to. DebugListenerInterface for listeners that receive debug messages. DecoratorA decorator is a class that decorates other instances of NamedObj with extra attributes that are specific to both the decorator and the NamedObj. DerivableThis interface is for objects that can be derived. DropTargetHandlerAn interface to be implemented by the entities that specifically handle drag-and-drop events. ExceptionHandlerInterface for exception handlers. FlowableAn interface for objects that have one port that serves as an input and one that serves as an output. HierarchyListenerInterface for objects that need to be notified of hierarchy changes above them. IconAttributeA marker interface for an attribute that describes an icon. InstantiableThis interface is for objects that can be instantiated. LazyCompositeA marker interface for lazy composites. LocatableAn interface for objects storing a location. ModelErrorHandlerInterface for model error handlers. MoMLExportableThis is an interface for objects that have persistent MoML representations. MoveableThis is an interface for objects that can be moved in a list of objects in a container. NameableThis is an interface for objects with a name and a container. ScopeExtenderAn interface for attributes that extend their container's scope. SettableThis is an interface for attributes that can have their values externally set. SingletonThis interface is used to indicate that an attribute is a singleton, meaning that when setContainer() is called, if there is a previous instance of the attribute, then that previous instance is removed. ValueListenerThis is an interface for listeners that are notified when the value of an object implementing Settable changes.
Class Summary Class Description AbstractSettableAttributeThis is an abstract base class for attributes that implement the Settable interface. AttributeAttribute is a base class for attributes to be attached to instances of NamedObj. BasicModelErrorHandlerDefault model error handler. ChangeRequestAbstract base class for change requests. ConfigurableAttributeThis class provides a simple way to get a long string into an attribute. CrossRefListCrossRefList is a list that maintains pointers to other CrossRefLists. DecoratorAttributesA container for attributes created by a decorator. LocationAn attribute that represents the center location of a node in a schematic. LoggerListenerA debug listener that sends messages using Java's Logger API. NamedListAn ordered list of objects with names. NamedObjThis is a base class for almost all Ptolemy II objects. PtolemyThreadPtolemyThread PtolemyThread extends Thread by adding rudimentary debugging capability. RecorderListenerA debug listener that records messages in a string buffer. Settable.VisibilityInner class used for the static enumeration of indicators of visibility. SingletonAttributeThis class is an attribute that replaces any previously existing attribute in the container that has the same name. SingletonConfigurableAttributeThis class is a configurable attribute that replaces any previously existing attribute in the container that has the same name. StreamChangeListenerA change listener that describes the changes on the standard output. StreamListenerA debug listener that sends messages to a stream or to the standard output. StringAttributeAn attribute that has a string value. TransientSingletonConfigurableAttribute Deprecated.Use SingletonConfigurableAttribute instead with setPersistent(false). WorkspaceAn instance of Workspace is used for synchronization and version tracking of interdependent groups of objects.
Exception Summary Exception Description IllegalActionExceptionThrown on an attempt to perform an action that would result in an inconsistent or contradictory data structure if it were allowed to complete. InternalErrorExceptionThis exception should be thrown if an unexpected error is encountered other than one for which InvalidStateException would be appropriate. InvalidStateExceptionSome object or set of objects has a state that is not permitted. KernelExceptionBase class for Ptolemy exceptions. KernelRuntimeExceptionBase class for runtime exceptions. NameDuplicationExceptionThrown on an attempt to add a named object to a collection that requires unique names, and finding that there already is an object by that name in the collection. NoSuchItemExceptionThrown on access (by name) to an item that doesn't exist.