@Dependent public class Button extends Object implements org.jboss.errai.common.client.api.elemental2.IsElement
Modifier and Type | Class and Description |
---|---|
static class |
Button.ButtonStyleType |
static class |
Button.ButtonType |
Constructor and Description |
---|
Button() |
Modifier and Type | Method and Description |
---|---|
void |
addIcon(String... classes) |
elemental2.dom.HTMLElement |
getElement() |
void |
hide() |
void |
setButtonStyleType(Button.ButtonStyleType type) |
void |
setClickHandler(org.uberfire.mvp.Command clickHandler) |
void |
setEnabled(boolean enabled) |
void |
setText(String text) |
void |
setType(Button.ButtonType type) |
void |
show() |
public void setText(String text)
public void setClickHandler(org.uberfire.mvp.Command clickHandler)
public void setType(Button.ButtonType type)
public void setButtonStyleType(Button.ButtonStyleType type)
public void setEnabled(boolean enabled)
public void hide()
public void show()
public void addIcon(String... classes)
public elemental2.dom.HTMLElement getElement()
getElement
in interface org.jboss.errai.common.client.api.elemental2.IsElement
Copyright © 2012–2018 JBoss by Red Hat. All rights reserved.