public class ChooseThemeComponent extends ConfluenceAbstractPageComponent
driver, frameExecutor, pageBinder, pageElementFinder, timeouts, waiter
Constructor and Description |
---|
ChooseThemeComponent() |
Modifier and Type | Method and Description |
---|---|
String |
getActiveThemeName()
Returns the textual name of the currently active theme (see also
AvailableTheme.getName() . |
Collection<AvailableTheme> |
getAvailableThemes()
Returns a collection of installed themes which may be selected as the new active theme.
|
boolean |
setTheme(AvailableTheme theme)
Chooses a new theme from the list of available themes (see
getAvailableThemes() and submits the Form. |
getComponent
public String getActiveThemeName()
AvailableTheme.getName()
.public Collection<AvailableTheme> getAvailableThemes()
getActiveThemeName()
) is not included in this list.public boolean setTheme(@Nonnull AvailableTheme theme)
getAvailableThemes()
and submits the Form.Copyright © 2003–2016 Atlassian. All rights reserved.