T- the container type, for example TabPanel has Tabs etc. Its purpose is to hold the actual content of the panel and provide it in form of initialized page object.
public interface SwitchableComponent<T extends ComponentContainer>
|Modifier and Type||Method and Description|
Switches to the container according to the given
Switches to the container which index is equal to the given
Switches to the container which text representation of header equals to given
T switchTo(ChoicePicker picker)
IllegalArgumentException- if there is no container which satisfies picker rules
IllegalArgumentException- if there is no container with such a
T switchTo(int index)
index- index of the container to be switched to
IllegalArgumentException- if there is no container with such an
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.