@JsType(namespace="xgl") public class TextButton extends FocusableWidget<HTMLDivElement,TextButton>
| Modifier and Type | Class and Description |
|---|---|
static class |
TextButton.IconAlign |
contextMenu, contextMenuHandlerRegistration, currentHeight, currentWidth, NATIVE_CONTEXT_MENU_HANDLER| Constructor and Description |
|---|
TextButton() |
TextButton(String label) |
TextButton(String label,
HTMLDivElement element) |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabel() |
boolean |
isEnabled() |
TextButton |
setEnabled(boolean enabled) |
TextButton |
setIcon(com.google.gwt.resources.client.ImageResource imageResource) |
TextButton |
setIconAlign(TextButton.IconAlign iconAlign) |
TextButton |
setLabel(String label) |
focusNext, focusPreviousadd, addActionHandler, addClassName, addDoubleActionHandler, addDoubleTapHandler, addDropTarget, addEventHandler, addEventHandler, addResizeHandler, addStyleName, addTapHandler, addTouchHoldHandler, canDropTargetAccept, cast, clear, clearBackgroundColor, clearDropTargets, clearTextColor, ensureHandlers, fireEvent, fireEvent, fireResizeEvent, getAbsoluteLeft, getAbsoluteTop, getAncestor, getChildren, getChildrenCount, getComputedStyle, getContextMenu, getContextMenuHandler, getDeepestWidget, getDragSource, getDropTargetList, getElement, getFirstChild, getId, getLastChild, getNextSibling, getNextSibling, getOffsetHeight, getOffsetWidth, getParent, getScrollLeft, getScrollTop, getStyle, hasClassName, hasFocus, insert, isAttached, isDropTarget, isInEventThread, onAttach, onDetach, remove, removeClassName, removeDropTarget, removeStyleName, setBackgroundColor, setClassName, setContextMenu, setDragSource, setDropTarget, setHeight, setHeight, setHeight, setId, setLeft, setLeftAndTop, setMaxHeight, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setMinWidth, setParent, setPixelSize, setScrollLeft, setScrollTop, setSize, setTextAlign, setTextColor, setTop, setWidth, setWidth, setWidthclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitblur, click, focus, getElementaddBlurHandler, addBlurHandleraddFocusHandler, addFocusHandleraddEventHandler, addEventHandlercancelMeasure, cancelMutation, measureAsSoonAsPossible, mutateAsSoonAsPossible, mutateAsSoonAsPossible, scheduleMeasure, scheduleMutationaddAttachHandleraddDetachHandleraddTransitionEndHandler, addTransitionEndHandleraddMouseDownHandler, addMouseDownHandleraddMouseMoveHandler, addMouseMoveHandleraddMouseOutHandler, addMouseOutHandleraddMouseOverHandler, addMouseOverHandleraddMouseUpHandler, addMouseUpHandleraddWheelHandler, addWheelHandleraddClickHandler, addClickHandleraddDoubleClickHandler, addDoubleClickHandleraddContextMenuHandler, addContextMenuHandleraddTouchStartHandler, addTouchStartHandleraddTouchMoveHandler, addTouchMoveHandleraddTouchForceChangeHandler, addTouchForceChangeHandleraddTouchEndHandler, addTouchEndHandleraddTouchCancelHandler, addTouchCancelHandleraddTouchHoldHandleraddTapHandleraddDoubleTapHandleraddKeyDownHandler, addKeyDownHandleraddKeyUpHandler, addKeyUpHandleraddKeyPressHandler, addKeyPressHandleraddScrollHandler, addScrollHandleraddAnimationStartHandler, addAnimationStartHandleraddAnimationIterationHandler, addAnimationIterationHandleraddAnimationEndHandler, addAnimationEndHandleraddActionHandleraddDoubleActionHandler@JsIgnore public TextButton()
@JsIgnore public TextButton(String label)
public TextButton(@JsOptional
String label,
@JsOptional
HTMLDivElement element)
public TextButton setLabel(String label)
@JsIgnore public TextButton setIcon(com.google.gwt.resources.client.ImageResource imageResource)
public TextButton setIconAlign(@NotNull TextButton.IconAlign iconAlign)
@WillMutate public TextButton setEnabled(boolean enabled)
setEnabled in class Widget<HTMLDivElement,TextButton>public boolean isEnabled()
isEnabled in class Widget<HTMLDivElement,TextButton>public String getLabel()
Copyright © 2018 Xalys. All rights reserved.