Class RequestAgentMessageAction
java.lang.Object
org.controlsfx.control.action.Action
madkit.action.ActionWithData
madkit.action.RequestAgentMessageAction
- All Implemented Interfaces:
EventListener
,EventHandler<ActionEvent>
An action that sends a
RequestActionMessage
to an agent. It is used to request
an agent to execute a method with given parameters. It is especially useful to interact
with agents from GUIs, without compromising the encapsulation of the agent. Moreover,
using the Agent.handleRequestActionMessage(RequestActionMessage)
method, the
agent can automatically handle such requests.- See Also:
-
Property Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class madkit.action.ActionWithData
setActionData
Methods inherited from class org.controlsfx.control.action.Action
acceleratorProperty, disabledProperty, getAccelerator, getEventHandler, getGraphic, getLongText, getProperties, getStyle, getStyleClass, getText, graphicProperty, handle, isDisabled, isSelected, lock, longTextProperty, selectedProperty, setAccelerator, setDisabled, setEventHandler, setGraphic, setLongText, setSelected, setStyle, setText, styleProperty, textProperty
-
Constructor Details
-
RequestAgentMessageAction
-