Class DataTypeConstraintView
- java.lang.Object
-
- org.kie.workbench.common.dmn.client.editors.types.listview.constraint.DataTypeConstraintView
-
- All Implemented Interfaces:
org.jboss.errai.common.client.api.elemental2.IsElement,org.jboss.errai.ui.client.local.api.elemental2.IsElement,DataTypeConstraint.View,org.uberfire.client.mvp.HasPresenter<DataTypeConstraint>,org.uberfire.client.mvp.UberElemental<DataTypeConstraint>
@Templated @Dependent public class DataTypeConstraintView extends Object implements DataTypeConstraint.View
-
-
Constructor Summary
Constructors Constructor 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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisable()voidenable()voidhideAnchor()voidinit(DataTypeConstraint presenter)voidonConstraintsClick(com.google.gwt.event.dom.client.ClickEvent e)voidsetText(String text)voidsetup()voidshowAnchor()
-
-
-
Constructor Detail
-
DataTypeConstraintView
@Inject public DataTypeConstraintView(elemental2.dom.HTMLAnchorElement constraintsAnchorContainer, elemental2.dom.HTMLDivElement constraintsLabelContainer, @Named("span") elemental2.dom.HTMLElement constraintsAnchorText, @Named("span") elemental2.dom.HTMLElement constraintsLabelText, @Named("span") elemental2.dom.HTMLElement constraintsTooltip, org.jboss.errai.ui.client.local.spi.TranslationService translationService)
-
-
Method Detail
-
init
public void init(DataTypeConstraint presenter)
- Specified by:
initin interfaceorg.uberfire.client.mvp.HasPresenter<DataTypeConstraint>
-
setup
@PostConstruct public void setup()
-
onConstraintsClick
@EventHandler("constraints-anchor-container") public void onConstraintsClick(com.google.gwt.event.dom.client.ClickEvent e)
-
showAnchor
public void showAnchor()
- Specified by:
showAnchorin interfaceDataTypeConstraint.View
-
hideAnchor
public void hideAnchor()
- Specified by:
hideAnchorin interfaceDataTypeConstraint.View
-
setText
public void setText(String text)
- Specified by:
setTextin interfaceDataTypeConstraint.View
-
enable
public void enable()
- Specified by:
enablein interfaceDataTypeConstraint.View
-
disable
public void disable()
- Specified by:
disablein interfaceDataTypeConstraint.View
-
-