public class CognitiveModelStateChangeEvent
extends java.util.EventObject
Constructor and Description |
---|
CognitiveModelStateChangeEvent(CognitiveModel model,
CognitiveModelState state)
Creates a new instance of CognitiveModelStateChangeEvent.
|
Modifier and Type | Method and Description |
---|---|
CognitiveModel |
getModel()
Gets the model that changed state.
|
CognitiveModelState |
getState()
Gets the new state of the model.
|
protected void |
setModel(CognitiveModel model)
Sets the model that changed.
|
protected void |
setState(CognitiveModelState state)
Sets the new state of the model.
|
public CognitiveModelStateChangeEvent(CognitiveModel model, CognitiveModelState state)
model
- The model that changed.state
- The new state of the model.public CognitiveModel getModel()
public CognitiveModelState getState()
protected void setModel(CognitiveModel model)
model
- The model the event is forprotected void setState(CognitiveModelState state)
state
- The new state of the model