@Dependent public class ExperimentalFeatureEditor extends Object implements ExperimentalFeatureEditorView.Presenter, org.jboss.errai.common.client.api.elemental2.IsElement, Comparable<ExperimentalFeatureEditor>
Constructor and Description |
---|
ExperimentalFeatureEditor(ExperimentalFeatureDefRegistry registry,
org.jboss.errai.ui.client.local.spi.TranslationService translationService,
ExperimentalFeatureEditorView view) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ExperimentalFeatureEditor other) |
void |
enable() |
elemental2.dom.HTMLElement |
getElement() |
EditableExperimentalFeature |
getFeature() |
String |
getName() |
void |
init() |
boolean |
isEnabled() |
void |
notifyChange(boolean newEnabledValue) |
void |
render(EditableExperimentalFeature feature,
ParameterizedCommand<EditableExperimentalFeature> onChange) |
@Inject public ExperimentalFeatureEditor(ExperimentalFeatureDefRegistry registry, org.jboss.errai.ui.client.local.spi.TranslationService translationService, ExperimentalFeatureEditorView view)
@PostConstruct public void init()
public void render(EditableExperimentalFeature feature, ParameterizedCommand<EditableExperimentalFeature> onChange)
public String getName()
public EditableExperimentalFeature getFeature()
public void notifyChange(boolean newEnabledValue)
notifyChange
in interface ExperimentalFeatureEditorView.Presenter
public elemental2.dom.HTMLElement getElement()
getElement
in interface org.jboss.errai.common.client.api.elemental2.IsElement
public int compareTo(ExperimentalFeatureEditor other)
compareTo
in interface Comparable<ExperimentalFeatureEditor>
public boolean isEnabled()
public void enable()
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.