@Templated @Dependent public class DataTypeConstraintView extends Object implements DataTypeConstraint.View
Constructor and Description |
---|
DataTypeConstraintView(elemental2.dom.HTMLAnchorElement constraintsAnchorContainer,
elemental2.dom.HTMLDivElement constraintsLabelContainer,
elemental2.dom.HTMLElement constraintsAnchorText,
elemental2.dom.HTMLElement constraintsLabelText,
elemental2.dom.HTMLElement constraintsTooltip,
org.jboss.errai.ui.client.local.spi.TranslationService translationService) |
Modifier and Type | Method and Description |
---|---|
void |
disable() |
void |
enable() |
void |
hideAnchor() |
void |
init(DataTypeConstraint presenter) |
void |
onConstraintsClick(com.google.gwt.event.dom.client.ClickEvent e) |
void |
setText(String text) |
void |
setup() |
void |
showAnchor() |
@Inject public DataTypeConstraintView(elemental2.dom.HTMLAnchorElement constraintsAnchorContainer, elemental2.dom.HTMLDivElement constraintsLabelContainer, @Named(value="span") elemental2.dom.HTMLElement constraintsAnchorText, @Named(value="span") elemental2.dom.HTMLElement constraintsLabelText, @Named(value="span") elemental2.dom.HTMLElement constraintsTooltip, org.jboss.errai.ui.client.local.spi.TranslationService translationService)
public void init(DataTypeConstraint presenter)
init
in interface org.uberfire.client.mvp.HasPresenter<DataTypeConstraint>
@PostConstruct public void setup()
@EventHandler(value="constraints-anchor-container") public void onConstraintsClick(com.google.gwt.event.dom.client.ClickEvent e)
public void showAnchor()
showAnchor
in interface DataTypeConstraint.View
public void hideAnchor()
hideAnchor
in interface DataTypeConstraint.View
public void setText(String text)
setText
in interface DataTypeConstraint.View
public void enable()
enable
in interface DataTypeConstraint.View
public void disable()
disable
in interface DataTypeConstraint.View
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.