AI2 Component
(Version nb184)
ClassicThemeHelper.java
Go to the documentation of this file.
1
// -*- mode: java; c-basic-offset: 2; -*-
2
// Copyright 2018 MIT, All rights reserved
3
// Released under the Apache License, Version 2.0
4
// http://www.apache.org/licenses/LICENSE-2.0
5
6
package
com.google.appinventor.components.runtime.util.theme;
7
8
public
class
ClassicThemeHelper
implements
ThemeHelper
{
9
@Override
10
public
void
requestActionBar
() {
11
// ActionBar not supported in Classic theme
12
}
13
14
@Override
15
public
boolean
setActionBarVisible
(
boolean
visible) {
16
return
false
;
17
}
18
19
@Override
20
public
boolean
hasActionBar
() {
21
return
false
;
22
}
23
24
@Override
25
public
void
setTitle
(String title) {
26
// ActionBar not supported in Classic theme
27
}
28
29
@Override
30
public
void
setActionBarAnimation
(
boolean
enabled) {
31
// ActionBar not supported in Classic theme
32
}
33
34
@Override
35
public
void
setTitle
(String title,
boolean
black) {
36
// ActionBar not supported in Classic theme
37
}
38
}
com.google.appinventor.components.runtime.util.theme.ClassicThemeHelper.requestActionBar
void requestActionBar()
Definition:
ClassicThemeHelper.java:10
com.google.appinventor.components.runtime.util.theme.ClassicThemeHelper.setTitle
void setTitle(String title)
Definition:
ClassicThemeHelper.java:25
com.google.appinventor.components.runtime.util.theme.ClassicThemeHelper
Definition:
ClassicThemeHelper.java:8
com.google.appinventor.components.runtime.util.theme.ThemeHelper
Definition:
ThemeHelper.java:8
com.google.appinventor.components.runtime.util.theme.ClassicThemeHelper.setActionBarAnimation
void setActionBarAnimation(boolean enabled)
Definition:
ClassicThemeHelper.java:30
com.google.appinventor.components.runtime.util.theme.ClassicThemeHelper.setTitle
void setTitle(String title, boolean black)
Definition:
ClassicThemeHelper.java:35
com.google.appinventor.components.runtime.util.theme.ClassicThemeHelper.setActionBarVisible
boolean setActionBarVisible(boolean visible)
Definition:
ClassicThemeHelper.java:15
com.google.appinventor.components.runtime.util.theme.ClassicThemeHelper.hasActionBar
boolean hasActionBar()
Definition:
ClassicThemeHelper.java:20
com
google
appinventor
components
runtime
util
theme
ClassicThemeHelper.java
Generated by
1.8.16