|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.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 ButtonAction
public String getIcon()
ButtonAction
getIcon
in interface ButtonAction
public String getId()
ButtonAction
getId
in interface ButtonAction
public String getOnClick()
ButtonAction
getOnClick
in interface ButtonAction
public String getStyle()
ButtonAction
style
attribute of the main button tag.
getStyle
in interface ButtonAction
public String getTitle()
ButtonAction
getTitle
in interface ButtonAction
public String getTooltip()
ButtonAction
getTooltip
in interface ButtonAction
public boolean isEnabled()
ButtonAction
isEnabled
in interface ButtonAction
public boolean isVisible()
ButtonAction
isVisible
in interface ButtonAction
public 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)
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |