namespace sap.ui.base

Control sample: sap.ui.base
Visiblity: public
Available since: N/A
Module: sap/ui/base/Object
Application Component: CA-UI5-COR

SAPUI5 base classes


Nodes Overview

Node Description
sap.ui.base.DataType

Represents the type of properties in a ManagedObject class.

sap.ui.base.Event

An Event object consisting of an ID, a source and a map of parameters.

sap.ui.base.EventProvider

Provides eventing capabilities for objects like attaching or detaching event handlers for events which are notified when events are fired.

sap.ui.base.Interface

A class whose instances act as a facade for other objects.

sap.ui.base.ManagedObject

Base Class that introduces some basic concepts, such as, state management and data binding.

sap.ui.base.ManagedObjectMetadata

Note about Info Objects

Several methods in this class return info objects that describe a property, aggregation, association or event of the class described by this metadata object. The type, structure and behavior of these info objects is not yet documented and not part of the stable, public API.

Code using such methods and the returned info objects therefore needs to be aware of the following restrictions:

  • the set of properties exposed by each info object, their type and value might change as well as the class of the info object itself.

    Properties that represent settings provided during class definition (in the oClassInfo parameter of the 'extend' call, e.g. 'type', 'multiple' of an aggregation) are more likely to stay the same than additional, derived properties like '_iKind'.

  • info objects must not be modified / enriched although they technically could.
  • the period of validity of info objects is not defined. They should be referenced only for a short time and not be kept as members of long living objects or closures.

sap.ui.base.ManagedObjectObserver

Use the ManagedObjectObserver to get notified when properties, aggregations or associations of a ManagedObject instance have changed.

sap.ui.base.Metadata

Metadata for a class.

sap.ui.base.Object

Base class for all SAPUI5 Objects.

sap.ui.base.ObjectPool

Manages a pool of objects for reuse, all of the same type; the type has to be specified at construction time.

sap.ui.base.Poolable

Contract for objects that can be pooled by an ObjectPool.


Methods Overview

Method Description