Class StartAgentClickListener
java.lang.Object
com.hack23.cia.web.impl.ui.application.views.pageclicklistener.StartAgentClickListener
- All Implemented Interfaces:
com.vaadin.event.SerializableEventListener
,com.vaadin.ui.Button.ClickListener
,Serializable
,EventListener
public final class StartAgentClickListener
extends Object
implements com.vaadin.ui.Button.ClickListener
The Class StartAgentClickListener.
- See Also:
-
Field Summary
Fields inherited from interface com.vaadin.ui.Button.ClickListener
BUTTON_CLICK_METHOD
-
Constructor Summary
ConstructorDescriptionStartAgentClickListener
(com.hack23.cia.model.internal.application.data.impl.DataAgentTarget dataAgentTarget, com.hack23.cia.model.internal.application.data.impl.DataAgentOperation dataAgentOperation) Instantiates a new start agent click listener. -
Method Summary
Modifier and TypeMethodDescriptionvoid
buttonClick
(com.vaadin.ui.Button.ClickEvent event) protected com.hack23.cia.service.api.ApplicationManager
Gets the application manager.protected void
showNotification
(String caption, String description, com.vaadin.ui.Notification.Type type) Show notification.
-
Constructor Details
-
StartAgentClickListener
public StartAgentClickListener(com.hack23.cia.model.internal.application.data.impl.DataAgentTarget dataAgentTarget, com.hack23.cia.model.internal.application.data.impl.DataAgentOperation dataAgentOperation) Instantiates a new start agent click listener.- Parameters:
dataAgentTarget
- the data agent targetdataAgentOperation
- the data agent operation
-
-
Method Details
-
buttonClick
public void buttonClick(com.vaadin.ui.Button.ClickEvent event) - Specified by:
buttonClick
in interfacecom.vaadin.ui.Button.ClickListener
-
getApplicationManager
protected com.hack23.cia.service.api.ApplicationManager getApplicationManager()Gets the application manager.- Returns:
- the application manager
-
showNotification
protected void showNotification(String caption, String description, com.vaadin.ui.Notification.Type type) Show notification.- Parameters:
caption
- the captiondescription
- the descriptiontype
- the type
-