@Templated @Dependent public class DataTypeConstraintView extends Object implements DataTypeConstraint.View
| Constructor and Description |
|---|
DataTypeConstraintView(elemental2.dom.HTMLAnchorElement constraintsAnchor,
elemental2.dom.HTMLElement constraintsTooltip,
elemental2.dom.HTMLElement constraintsLabel,
elemental2.dom.HTMLDivElement constraintsText,
org.jboss.errai.ui.client.local.spi.TranslationService translationService) |
| Modifier and Type | Method and Description |
|---|---|
void |
disable() |
void |
enable() |
void |
hideAnchor() |
void |
hideText() |
void |
hideTextLabel() |
void |
init(DataTypeConstraint presenter) |
void |
onConstraintsClick(com.google.gwt.event.dom.client.ClickEvent e) |
void |
setText(String text) |
void |
setup() |
void |
showAnchor() |
void |
showText() |
void |
showTextLabel() |
@Inject
public DataTypeConstraintView(elemental2.dom.HTMLAnchorElement constraintsAnchor,
@Named(value="span")
elemental2.dom.HTMLElement constraintsTooltip,
@Named(value="span")
elemental2.dom.HTMLElement constraintsLabel,
elemental2.dom.HTMLDivElement constraintsText,
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") public void onConstraintsClick(com.google.gwt.event.dom.client.ClickEvent e)
public void showAnchor()
showAnchor in interface DataTypeConstraint.Viewpublic void showTextLabel()
showTextLabel in interface DataTypeConstraint.Viewpublic void hideAnchor()
hideAnchor in interface DataTypeConstraint.Viewpublic void hideTextLabel()
hideTextLabel in interface DataTypeConstraint.Viewpublic void showText()
showText in interface DataTypeConstraint.Viewpublic void hideText()
hideText in interface DataTypeConstraint.Viewpublic void setText(String text)
setText in interface DataTypeConstraint.Viewpublic void enable()
enable in interface DataTypeConstraint.Viewpublic void disable()
disable in interface DataTypeConstraint.ViewCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.