Class ConstructionHeuristicFormViewImpl
- java.lang.Object
-
- org.optaplanner.workbench.screens.solver.client.editor.ConstructionHeuristicFormViewImpl
-
- All Implemented Interfaces:
org.jboss.errai.common.client.api.IsElement,ConstructionHeuristicFormView
@Dependent @Templated public class ConstructionHeuristicFormViewImpl extends Object implements ConstructionHeuristicFormView
-
-
Constructor Summary
Constructors Constructor Description ConstructionHeuristicFormViewImpl(org.jboss.errai.common.client.dom.Select constructionHeuristicTypeSelect, org.jboss.errai.common.client.dom.Select entitySorterMannerSelect)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.errai.common.client.dom.HTMLElementgetElement()voidinitConstructionHeuristicTypeSelectOptions(List<org.uberfire.commons.data.Pair<String,String>> optionPairs)voidinitEntitySorterMannerSelectOptions(List<org.uberfire.commons.data.Pair<String,String>> optionPairs)voidonConstructionHeuristicTypeSelected(com.google.gwt.event.dom.client.ChangeEvent event)voidonEntitySorterMannerSelected(com.google.gwt.event.dom.client.ChangeEvent event)voidonRemoveConstructionHeuristicClicked(com.google.gwt.event.dom.client.ClickEvent event)voidsetPresenter(ConstructionHeuristicForm presenter)voidsetSelectedConstructionHeuristicType(String constructionHeuristicType)voidsetSelectedEntitySorterManner(String entitySorterManner)
-
-
-
Method Detail
-
setPresenter
public void setPresenter(ConstructionHeuristicForm presenter)
- Specified by:
setPresenterin interfaceConstructionHeuristicFormView
-
onConstructionHeuristicTypeSelected
@EventHandler("constructionHeuristicTypeSelect") public void onConstructionHeuristicTypeSelected(com.google.gwt.event.dom.client.ChangeEvent event)
-
onEntitySorterMannerSelected
@EventHandler("entitySorterMannerSelect") public void onEntitySorterMannerSelected(com.google.gwt.event.dom.client.ChangeEvent event)
-
onRemoveConstructionHeuristicClicked
@EventHandler("removeConstructionHeuristic") public void onRemoveConstructionHeuristicClicked(com.google.gwt.event.dom.client.ClickEvent event)
-
initConstructionHeuristicTypeSelectOptions
public void initConstructionHeuristicTypeSelectOptions(List<org.uberfire.commons.data.Pair<String,String>> optionPairs)
- Specified by:
initConstructionHeuristicTypeSelectOptionsin interfaceConstructionHeuristicFormView
-
initEntitySorterMannerSelectOptions
public void initEntitySorterMannerSelectOptions(List<org.uberfire.commons.data.Pair<String,String>> optionPairs)
- Specified by:
initEntitySorterMannerSelectOptionsin interfaceConstructionHeuristicFormView
-
setSelectedConstructionHeuristicType
public void setSelectedConstructionHeuristicType(String constructionHeuristicType)
- Specified by:
setSelectedConstructionHeuristicTypein interfaceConstructionHeuristicFormView
-
setSelectedEntitySorterManner
public void setSelectedEntitySorterManner(String entitySorterManner)
- Specified by:
setSelectedEntitySorterMannerin interfaceConstructionHeuristicFormView
-
getElement
public org.jboss.errai.common.client.dom.HTMLElement getElement()
- Specified by:
getElementin interfaceorg.jboss.errai.common.client.api.IsElement
-
-