Interface ActionHandler
- All Known Implementing Classes:
ActionApiCall, ActionFocus, ActionGoto, ActionLoad
public interface ActionHandler
Interface that defines the contract for all action handlers.
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringgetParameterValue(Map<String, String> params, String... names) default voidpostNotification(String message) Posts a popup notification.voidprocess(String url, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.Stage stage, boolean hotLoad, Map<String, String> params) Process the action.
-
Method Details
-
process
void process(String url, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.Stage stage, boolean hotLoad, Map<String, String> params) Process the action.- Parameters:
url- The URL string.skin- The UI skin.stage- The UI stage.hotLoad- Whether to hot load.params- The parameters.
-
getParameterValue
-
postNotification
Posts a popup notification.- Parameters:
message- The message.
-