public interface GXIButtonTag extends GXIClickableTag
An onNewButton
event is thrown when a new button is created by the Renderer.
The method getContent()
returns the caption of the button.
To create a new button use GXHtmlTagFactory.instance().newButton(...)
Modifier and Type | Method and Description |
---|---|
String |
getCaption() |
String |
getOnClick() |
void |
setCaption(String caption) |
void |
setOnClick(String onClick) |
handleEvent
copyFrom, getAttribute, getBottomMargin, getBottomPadding, getChildren, getContent, getHostField, getId, getLength, getOffsetHeight, getOffsetLeft, getOffsetRight, getOffsetTop, getParent, getPosition, getTagName, getTopMargin, getTopPadding, hasChildren, isVisible, removeAttribute, setAttribute, setBottomMargin, setBottomPadding, setId, setLength, setOffsetHeight, setOffsetLeft, setOffsetRight, setOffsetTop, setPosition, setPosition, setTopMargin, setTopPadding, setVisible, setVisible
String getCaption()
void setCaption(String caption)
caption
- The caption of the button. value attribute in HTML.String getOnClick()
onClick
action to execute. JavaScript command in HTML.void setOnClick(String onClick)
onClick
- The onClick
action to execute. JavaScript command in HTML.Copyright 2021 Software AG. All rights reserved. Use is subject to license terms.