Constructor and Description |
---|
MessageDispatcher(ChartAreaModel owner)
Creates an instance of the
MessageDispatcher class with a specified
ChartAreaModel owner. |
Modifier and Type | Method and Description |
---|---|
void |
dispatchMessage(ChartMessage message)
Dispatches the provided message to the element tree of the owning
ChartAreaModel . |
boolean |
isEnabled()
Returns a boolean value determining whether the current
MessageDispatcher is enabled. |
public MessageDispatcher(ChartAreaModel owner)
MessageDispatcher
class with a specified
ChartAreaModel
owner.owner
- the ChartAreaModel
for which messaging infrastructure will be provided.public boolean isEnabled()
MessageDispatcher
is enabled.true
if the dispatcher is enabled, otherwise false
.public void dispatchMessage(ChartMessage message)
ChartAreaModel
.message
- the ChartMessage
instance to dispatch.