public class PluginResourceButton extends Object implements IPluginResource
| Constructor and Description |
|---|
PluginResourceButton() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAction()
Returns the action that will be invoked when the button is clicked.
|
String |
getCaption()
Returns the value of the button's caption text.
|
String |
getIcon()
Returns the url of an image to display on the button.
|
String |
getId()
Returns the id to be assigned to the newly created component.
|
String |
getTooltip()
Returns the text to appear when the mouse cursor hovers over the button.
|
void |
process(PluginContainer container)
Registers the button resource with the container.
|
void |
setAction(String action)
Sets the action that will be invoked when the button is clicked.
|
void |
setCaption(String caption)
Sets the value of the button's caption text.
|
void |
setIcon(String icon)
Sets the url of an image to display on the button.
|
void |
setId(String id)
Sets the id to be assigned to the newly created component.
|
void |
setTooltip(String tooltip)
Sets the text to appear when the mouse cursor hovers over the button.
|
public String getCaption()
public void setCaption(String caption)
caption - The button's caption text.public String getAction()
public void setAction(String action)
action - The action to be invoked. This may be a url or a zscript action.public String getTooltip()
public void setTooltip(String tooltip)
tooltip - The tool tip text.public String getIcon()
public void setIcon(String icon)
icon - Url of the image.public String getId()
public void setId(String id)
id - Component id (may be null).public void process(PluginContainer container)
process in interface IPluginResourcecontainer - A plugin container.Copyright © 2016 Regenstrief Center for Biomedical Informatics. All rights reserved.