|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.basedb.clients.web.extensions.toolbar.ButtonBean
public class ButtonBean
A simple bean-like implementation of the ButtonAction
interface.
| Field Summary | |
|---|---|
private String |
clazz
|
private boolean |
enabled
|
private String |
icon
|
private String |
id
|
private String |
onClick
|
private String |
style
|
private String |
title
|
private String |
tooltip
|
private boolean |
visible
|
| Constructor Summary | |
|---|---|
ButtonBean()
|
|
| Method Summary | |
|---|---|
String |
getClazz()
Class attribute of the main button tag. |
String |
getIcon()
Get a reference to an image that will be displayed in the menu. |
String |
getId()
ID attribute of the main button tag. |
String |
getOnClick()
A javascript action that is executed when the user clicks on the button. |
String |
getStyle()
Extra CSS style attributes that will be added to the style attribute of the main button tag. |
String |
getTitle()
Get the title of the button. |
String |
getTooltip()
A tooltip that is shown as a yellow popup when the user points the mouse at the button. |
boolean |
isEnabled()
If the button should be enabled or disabled. |
boolean |
isVisible()
If the button should be visible or not. |
void |
setClazz(String clazz)
|
void |
setEnabled(boolean enabled)
|
void |
setIcon(String icon)
|
void |
setId(String id)
|
void |
setOnClick(String onClick)
|
void |
setStyle(String style)
|
void |
setTitle(String title)
|
void |
setTooltip(String tooltip)
|
void |
setVisible(boolean visible)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private String clazz
private String icon
private String id
private String onClick
private String style
private String title
private String tooltip
private boolean enabled
private boolean visible
| Constructor Detail |
|---|
public ButtonBean()
| Method Detail |
|---|
public String getClazz()
ButtonAction
getClazz in interface ButtonActionpublic String getIcon()
ButtonAction
getIcon in interface ButtonActionpublic String getId()
ButtonAction
getId in interface ButtonActionpublic String getOnClick()
ButtonAction
getOnClick in interface ButtonActionpublic String getStyle()
ButtonActionstyle attribute of the main button tag.
getStyle in interface ButtonActionpublic String getTitle()
ButtonAction
getTitle in interface ButtonActionpublic String getTooltip()
ButtonAction
getTooltip in interface ButtonActionpublic boolean isEnabled()
ButtonAction
isEnabled in interface ButtonActionpublic boolean isVisible()
ButtonAction
isVisible in interface ButtonActionpublic void setClazz(String clazz)
public void setIcon(String icon)
public void setId(String id)
public void setOnClick(String onClick)
public void setStyle(String style)
public void setTitle(String title)
public void setTooltip(String tooltip)
public void setEnabled(boolean enabled)
public void setVisible(boolean visible)
|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||