Class sap.ui.base.InterfaceModule: sap/ui/base/Interface


A class that creates an Interface for an existing class. If a class returns the interface in its constructor, only the defined functions will be visible, no internals of the class can be accessed.

Constructor Summary
new sap.ui.base.Interface(oObject, aMethods)Constructs an instance of sap.ui.base.Interface which restricts access to methods marked as public.
Constructor Detail
new sap.ui.base.Interface(oObject, aMethods)
Constructs an instance of sap.ui.base.Interface which restricts access to methods marked as public.
Parameters:
{sap.ui.base.Object}oObject the instance that needs an interface created
{string[]}aMethods the names of the methods, that should be available on this interface