public interface DMXExtendable
This interface should be implemented by views and controllers that can be extended by callbacks. For example, this might be the case for classes which are intended to be used by third parties, so they can add custom functionality to extend them.
Classes which implement this interface provide a callback interface of type DMXExtensionCallback
, whose
methods are called when custom functionality needs to be invoked.
Modifier and Type | Method and Description |
---|---|
String |
getCallbackClassName()
Returns class name of the extension callback class which will be used by this interface.
|
DMXExtensionCallback |
getExtensionCallback()
Returns the callback object set for this extendable.
|
void |
setExtensionCallback(DMXExtensionCallback callback)
Set extension callback for this interface.
|
void setExtensionCallback(DMXExtensionCallback callback)
callback
- callback interfaceDMXExtensionCallback getExtensionCallback()
String getCallbackClassName()
Copyright © 2012-2014 Vektor Software. All Rights Reserved.