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 |
---|---|
T |
switchTo(ChoicePicker picker)
Switches to the container according to the given
picker rules. |
T |
switchTo(int index)
Switches to the container which index is equal to the given
index |
T |
switchTo(String header)
Switches to the container which text representation of header equals to given
header . |
T switchTo(ChoicePicker picker)
picker
rules.picker
- IllegalArgumentException
- if there is no container which satisfies picker rulesT switchTo(String header)
header
.header
- IllegalArgumentException
- if there is no container with such a header
T switchTo(int index)
index
index
- index of the container to be switched toIllegalArgumentException
- if there is no container with such an index
Copyright © 2016 JBoss by Red Hat. All Rights Reserved.