Package velox.api.layer1.messages.tab
Class SwitchTabRequest
java.lang.Object
velox.api.layer1.messages.tab.SwitchTabRequest
This message is used to create a request to switch to a tab in the application.
Send created message via
Layer1ApiAdminProvider.sendUserMessage(Object) and receive a SwitchTabResponse as a response
to get the result of tab switching.-
Method Summary
Modifier and TypeMethodDescriptionbooleanalias()booleaninthashCode()static SwitchTabRequestCreates a request that switches to the tab of the given alias and activates the window containing it, equivalent toof(alias, true).static SwitchTabRequestCreates a request that switches to the tab of the given alias.toString()
-
Method Details
-
of
Creates a request that switches to the tab of the given alias and activates the window containing it, equivalent toof(alias, true). -
of
Creates a request that switches to the tab of the given alias.- Parameters:
activateWindow- iftrue, the window containing the tab is brought to the front, restored if minimized, and may take input focus from the currently active window; iffalse, the tab is switched without raising, restoring or focusing any window
-
alias
-
activateWindow
public boolean activateWindow() -
equals
-
hashCode
public int hashCode() -
toString
-