Class TitledAttachmentFileWidget
- java.lang.Object
-
- com.google.gwt.user.client.ui.UIObject
-
- com.google.gwt.user.client.ui.Widget
-
- com.google.gwt.user.client.ui.Composite
-
- org.drools.workbench.screens.scenariosimulation.client.handlers.TitledAttachmentFileWidget
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers,com.google.gwt.event.shared.HasHandlers,com.google.gwt.user.client.EventListener,com.google.gwt.user.client.ui.HasVisibility,com.google.gwt.user.client.ui.IsRenderable,com.google.gwt.user.client.ui.IsWidget
public class TitledAttachmentFileWidget extends com.google.gwt.user.client.ui.Composite
-
-
Field Summary
Fields Modifier and Type Field Description protected org.gwtbootstrap3.client.ui.html.DivdivElementprotected org.gwtbootstrap3.client.ui.html.SpanerrorLabelprotected com.google.gwt.user.client.ui.FlowPanelfieldsprotected ScenarioSimulationDropdownscenarioSimulationDropdownprotected org.jboss.errai.common.client.api.Caller<org.drools.workbench.screens.scenariosimulation.service.ScenarioSimulationService>scenarioSimulationServiceprotected StringselectedPathprotected org.gwtbootstrap3.client.ui.FormLabeltitleLabel
-
Constructor Summary
Constructors Constructor Description TitledAttachmentFileWidget(String title, org.jboss.errai.common.client.api.Caller<org.drools.workbench.screens.scenariosimulation.service.ScenarioSimulationService> scenarioSimulationService, ScenarioSimulationDropdown scenarioSimulationDropdown)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearStatus()protected com.google.gwt.dom.client.ElementcreateIconElement()StringgetSelectedPath()voidupdateAssetList()booleanvalidate()-
Methods inherited from class com.google.gwt.user.client.ui.Composite
claimElement, getWidget, initializeClaimedElement, initWidget, isAttached, onAttach, onBrowserEvent, onDetach, render, render, resolvePotentialElement, setWidget
-
Methods inherited from class com.google.gwt.user.client.ui.Widget
addAttachHandler, addBitlessDomHandler, addDomHandler, addHandler, asWidget, asWidgetOrNull, createHandlerManager, delegateEvent, doAttachChildren, doDetachChildren, fireEvent, getHandlerCount, getLayoutData, getParent, isOrWasAttached, onLoad, onUnload, removeFromParent, setLayoutData, sinkEvents, unsinkEvents
-
Methods inherited from class com.google.gwt.user.client.ui.UIObject
addStyleDependentName, addStyleName, ensureDebugId, ensureDebugId, ensureDebugId, getAbsoluteLeft, getAbsoluteTop, getElement, getOffsetHeight, getOffsetWidth, getStyleElement, getStyleName, getStyleName, getStylePrimaryName, getStylePrimaryName, getTitle, isVisible, isVisible, onEnsureDebugId, removeStyleDependentName, removeStyleName, setElement, setElement, setHeight, setPixelSize, setSize, setStyleDependentName, setStyleName, setStyleName, setStyleName, setStyleName, setStylePrimaryName, setStylePrimaryName, setTitle, setVisible, setVisible, setWidth, sinkBitlessEvent, toString
-
-
-
-
Field Detail
-
fields
protected com.google.gwt.user.client.ui.FlowPanel fields
-
divElement
protected org.gwtbootstrap3.client.ui.html.Div divElement
-
titleLabel
protected org.gwtbootstrap3.client.ui.FormLabel titleLabel
-
errorLabel
protected org.gwtbootstrap3.client.ui.html.Span errorLabel
-
scenarioSimulationDropdown
protected ScenarioSimulationDropdown scenarioSimulationDropdown
-
scenarioSimulationService
protected org.jboss.errai.common.client.api.Caller<org.drools.workbench.screens.scenariosimulation.service.ScenarioSimulationService> scenarioSimulationService
-
selectedPath
protected String selectedPath
-
-
Constructor Detail
-
TitledAttachmentFileWidget
public TitledAttachmentFileWidget(String title, org.jboss.errai.common.client.api.Caller<org.drools.workbench.screens.scenariosimulation.service.ScenarioSimulationService> scenarioSimulationService, ScenarioSimulationDropdown scenarioSimulationDropdown)
-
-
Method Detail
-
clearStatus
public void clearStatus()
-
updateAssetList
public void updateAssetList()
-
getSelectedPath
public String getSelectedPath()
-
validate
public boolean validate()
-
createIconElement
protected com.google.gwt.dom.client.Element createIconElement()
- Returns:
- a new icon element.
-
-