@JsType(namespace="xgl") public class Button extends Widget<HTMLButtonElement,Button>
contextMenu, contextMenuHandlerRegistration, currentHeight, currentWidth, enabled, NATIVE_CONTEXT_MENU_HANDLER| Constructor and Description |
|---|
Button() |
Button(String text) |
Button(String text,
ButtonType type) |
Button(String text,
ButtonType type,
HTMLButtonElement element) |
| Modifier and Type | Method and Description |
|---|---|
Button |
__setSize(Object param0,
Double height) |
Button |
setButtonType(ButtonType type) |
Button |
setMaterialColor(MaterialColor materialColor) |
Button |
setMaterialIcon(MaterialIcon materialIcon) |
Button |
setSize(ButtonSize size) |
Button |
setSize(double width,
double height) |
Button |
setText(String text) |
add, 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, isEnabled, isInEventThread, onAttach, onDetach, remove, removeClassName, removeDropTarget, removeStyleName, setBackgroundColor, setClassName, setContextMenu, setDragSource, setDropTarget, setEnabled, setHeight, setHeight, setHeight, setId, setLeft, setLeftAndTop, setMaxHeight, setMaxHeight, setMaxHeight, setMaxWidth, setMaxWidth, setMaxWidth, setMinHeight, setMinHeight, setMinHeight, setMinWidth, setMinWidth, setMinWidth, setParent, setPixelSize, setScrollLeft, setScrollTop, setTextAlign, setTextColor, setTop, setWidth, setWidth, setWidthclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcancelMeasure, 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 Button()
@JsIgnore public Button(String text)
@JsIgnore public Button(String text, ButtonType type)
@JsConstructor
public Button(@JsOptional
String text,
@JsOptional
ButtonType type,
@JsOptional
HTMLButtonElement element)
public Button setButtonType(ButtonType type)
@JsIgnore public Button setSize(double width, double height)
setSize in class Widget<HTMLButtonElement,Button>@JsIgnore public Button setSize(ButtonSize size)
public Button setMaterialColor(MaterialColor materialColor)
public Button setMaterialIcon(MaterialIcon materialIcon)
Copyright © 2018 Xalys. All rights reserved.