public class GaugeDisplayerRenderer extends AbstractDataDisplayerRenderer
Modifier and Type | Field and Description |
---|---|
protected Map<String,List<String>> |
availableChartTypes |
protected Map<String,String> |
defaultChartTypes |
protected boolean |
enabled |
protected List<DataDisplayerFeature> |
featuresSupported |
protected LocaleManager |
localeManager |
protected String |
meterChartDefault |
protected String[] |
meterChartTypes |
static String |
UID |
Constructor and Description |
---|
GaugeDisplayerRenderer() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getAvailableChartTypes(DataDisplayer displayer) |
String |
getChartTypeDescription(String chartType,
Locale locale) |
String |
getDefaultChartType(DataDisplayer displayer) |
String |
getDescription(Locale l) |
String |
getUid() |
void |
init() |
boolean |
isEnabled() |
boolean |
isFeatureSupported(DataDisplayer displayer,
DataDisplayerFeature feature) |
equals, hashCode, setDefaultSettings
public static final String UID
@Inject protected boolean enabled
@Inject protected String[] meterChartTypes
@Inject protected String meterChartDefault
protected List<DataDisplayerFeature> featuresSupported
@Inject protected LocaleManager localeManager
public boolean isEnabled()
public String getUid()
public boolean isFeatureSupported(DataDisplayer displayer, DataDisplayerFeature feature)
isFeatureSupported
in interface DataDisplayerRenderer
isFeatureSupported
in class AbstractDataDisplayerRenderer
public List<String> getAvailableChartTypes(DataDisplayer displayer)
getAvailableChartTypes
in interface DataDisplayerRenderer
getAvailableChartTypes
in class AbstractDataDisplayerRenderer
public String getDefaultChartType(DataDisplayer displayer)
getDefaultChartType
in interface DataDisplayerRenderer
getDefaultChartType
in class AbstractDataDisplayerRenderer
public String getChartTypeDescription(String chartType, Locale locale)
getChartTypeDescription
in interface DataDisplayerRenderer
getChartTypeDescription
in class AbstractDataDisplayerRenderer
@PostConstruct public void init()
Copyright © 2012–2016 JBoss by Red Hat. All rights reserved.