Class FileInputButton
- 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.uberfire.ext.widgets.common.client.common.FileInputButton
-
- All Implemented Interfaces:
com.google.gwt.event.logical.shared.HasAttachHandlers,com.google.gwt.event.logical.shared.HasValueChangeHandlers<com.google.gwt.core.client.JsArray<FileInputButton.UploadFile>>,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 FileInputButton extends com.google.gwt.user.client.ui.Composite implements com.google.gwt.event.logical.shared.HasValueChangeHandlers<com.google.gwt.core.client.JsArray<FileInputButton.UploadFile>>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFileInputButton.UploadFile
-
Constructor Summary
Constructors Constructor Description FileInputButton()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddStyleName(String additionalStyle)com.google.gwt.event.shared.HandlerRegistrationaddValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<com.google.gwt.core.client.JsArray<FileInputButton.UploadFile>> handler)StringgetText()voidsetIcon(org.gwtbootstrap3.client.ui.constants.IconType type)voidsetMultiple(boolean multiple)voidsetText(String text)voidsetType(org.gwtbootstrap3.client.ui.constants.ButtonType additionalStyle)-
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, 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
-
css
protected static final CommonCss css
-
-
Method Detail
-
setMultiple
public void setMultiple(boolean multiple)
-
setType
public void setType(org.gwtbootstrap3.client.ui.constants.ButtonType additionalStyle)
-
addStyleName
public void addStyleName(String additionalStyle)
- Overrides:
addStyleNamein classcom.google.gwt.user.client.ui.UIObject
-
getText
public String getText()
-
setText
public void setText(String text)
-
setIcon
public void setIcon(org.gwtbootstrap3.client.ui.constants.IconType type)
-
addValueChangeHandler
public com.google.gwt.event.shared.HandlerRegistration addValueChangeHandler(com.google.gwt.event.logical.shared.ValueChangeHandler<com.google.gwt.core.client.JsArray<FileInputButton.UploadFile>> handler)
- Specified by:
addValueChangeHandlerin interfacecom.google.gwt.event.logical.shared.HasValueChangeHandlers<com.google.gwt.core.client.JsArray<FileInputButton.UploadFile>>
-
-