|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectButton
com.vaadin.client.debug.internal.DebugButton
public class DebugButton
Simple extension of Button that is preconfigured with for use in
VDebugWindow. Uses icon-font for icons, and allows title to be
specified in the constructor.
| Field Summary | |
|---|---|
protected boolean |
active
|
| Constructor Summary | |
|---|---|
DebugButton(Icon icon)
Creates a Button with the given icon-font icon. |
|
DebugButton(Icon icon,
java.lang.String title)
Creates a Button with the given icon-font icon and title
(tooltip). |
|
DebugButton(Icon icon,
java.lang.String title,
java.lang.String caption)
Creates a Button with the given icon-font icon, title (tooltip),
and caption. |
|
| Method Summary | |
|---|---|
boolean |
isActive()
Indicates wheter the Button is currently in its active state or not |
void |
setActive(boolean active)
Adds or removes a stylename, indicating whether or not the button is in it's active state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean active
| Constructor Detail |
|---|
public DebugButton(Icon icon)
Button with the given icon-font icon. The icon id will
be used in the data-icon attribute of an <i> -tag.
icon - Identifier for the desired icon in an icon-font
public DebugButton(Icon icon,
java.lang.String title)
Button with the given icon-font icon and title
(tooltip). The icon id will be used in the data-icon attribute of
an <i> -tag.
icon - Identifier for the desired icon in an icon-fonttitle - Button title (tooltip)
public DebugButton(Icon icon,
java.lang.String title,
java.lang.String caption)
Button with the given icon-font icon, title (tooltip),
and caption. The icon id will be used in the data-icon attribute
of an <i> -tag.
icon - Identifier for the desired icon in an icon-fonttitle - Title (tooltip)caption - Button baption| Method Detail |
|---|
public void setActive(boolean active)
active - public boolean isActive()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||