@Dependent public class ExperimentalFeaturesGroup extends Object implements org.jboss.errai.common.client.api.elemental2.IsElement, ExperimentalFeaturesGroupView.Presenter, Comparable<ExperimentalFeaturesGroup>
Modifier and Type | Field and Description |
---|---|
protected ParameterizedCommand<EditableExperimentalFeature> |
callback |
protected List<ExperimentalFeatureEditor> |
editors |
protected String |
labelKey |
Constructor and Description |
---|
ExperimentalFeaturesGroup(ExperimentalFeaturesGroupView view,
org.jboss.errai.ui.client.local.spi.TranslationService translationService,
org.jboss.errai.ioc.client.api.ManagedInstance<ExperimentalFeatureEditor> editorInstance) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
collapse() |
int |
compareTo(ExperimentalFeaturesGroup other) |
void |
doEnableAll() |
void |
expand() |
elemental2.dom.HTMLElement |
getElement() |
String |
getLabel() |
void |
init(String labelKey,
Collection<ExperimentalFeature> features,
ParameterizedCommand<EditableExperimentalFeature> callback) |
boolean |
isExpanded() |
void |
notifyExpand() |
protected String labelKey
protected List<ExperimentalFeatureEditor> editors
protected ParameterizedCommand<EditableExperimentalFeature> callback
@Inject public ExperimentalFeaturesGroup(ExperimentalFeaturesGroupView view, org.jboss.errai.ui.client.local.spi.TranslationService translationService, org.jboss.errai.ioc.client.api.ManagedInstance<ExperimentalFeatureEditor> editorInstance)
public void init(String labelKey, Collection<ExperimentalFeature> features, ParameterizedCommand<EditableExperimentalFeature> callback)
public void doEnableAll()
doEnableAll
in interface ExperimentalFeaturesGroupView.Presenter
public elemental2.dom.HTMLElement getElement()
getElement
in interface org.jboss.errai.common.client.api.elemental2.IsElement
public int compareTo(ExperimentalFeaturesGroup other)
compareTo
in interface Comparable<ExperimentalFeaturesGroup>
public void expand()
public void collapse()
public boolean isExpanded()
isExpanded
in interface ExperimentalFeaturesGroupView.Presenter
public void notifyExpand()
notifyExpand
in interface ExperimentalFeaturesGroupView.Presenter
public String getLabel()
getLabel
in interface ExperimentalFeaturesGroupView.Presenter
@PreDestroy public void clear()
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.