info.magnolia.cms.gui.control
Class Button
java.lang.Object
info.magnolia.cms.gui.control.ControlImpl
info.magnolia.cms.gui.control.Button
- All Implemented Interfaces:
- Control
- Direct Known Subclasses:
- ButtonEdit
public class Button
- extends ControlImpl
- Version:
- 2.0
- Author:
- Vinzenz Wyser
Fields inherited from class info.magnolia.cms.gui.control.ControlImpl |
BUTTONSTATE_DISABLED, BUTTONSTATE_MOUSEDOWN, BUTTONSTATE_MOUSEOVER, BUTTONSTATE_NORMAL, BUTTONSTATE_PUSHED, BUTTONTYPE_CHECKBOX, BUTTONTYPE_PUSHBUTTON, BUTTONTYPE_RADIO, CSSCLASS_CONTROLBAR, CSSCLASS_CONTROLBARSMALL, CSSCLASS_CONTROLBUTTON, CSSCLASS_CONTROLBUTTONSMALL, ENCODING_BASE64, ENCODING_NO, ENCODING_UNIX, RICHEDIT_FCK, RICHEDIT_KUPU, RICHEDIT_NONE, VALUETYPE_MULTIPLE, VALUETYPE_SINGLE |
Constructor Summary |
Button()
|
Button(java.lang.String name,
java.lang.String value)
|
Methods inherited from class info.magnolia.cms.gui.control.ControlImpl |
escapeHTML, getCssClass, getCssStyles, getCssStyles, getCssStyles, getEncoding, getEvents, getHtmlCssClass, getHtmlCssStyles, getHtmlEvents, getHtmlId, getHtmlInter, getHtmlInter, getHtmlPost, getHtmlPost, getHtmlPre, getHtmlPre, getHtmlSaveInfo, getId, getIsRichEditValue, getName, getNodeCollectionName, getNodeCollectionName, getNodeName, getNodeName, getPath, getRequest, getSaveInfo, getType, getValue, getValues, getValueType, getWebsiteNode, println, setCssClass, setCssStyles, setCssStyles, setEncoding, setEvent, setEvent, setEvents, setHtmlInter, setHtmlPost, setHtmlPre, setId, setIsRichEditValue, setName, setNodeCollectionName, setNodeName, setPath, setRequest, setSaveInfo, setType, setType, setValue, setValues, setValueType, setWebsiteNode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Button
public Button()
Button
public Button(java.lang.String name,
java.lang.String value)
setLabel
public void setLabel(java.lang.String s)
- Overrides:
setLabel
in class ControlImpl
getLabel
public java.lang.String getLabel()
- Overrides:
getLabel
in class ControlImpl
setIconSrc
public void setIconSrc(java.lang.String s)
- Sets the source path for the image. URI must contain the context path.
- Parameters:
s
- image source, with context path
getIconSrc
public java.lang.String getIconSrc()
setOnclick
public void setOnclick(java.lang.String s)
getOnclick
public java.lang.String getOnclick()
setHtmlPre
public void setHtmlPre()
setHtmlInter
public void setHtmlInter()
setHtmlPost
public void setHtmlPost()
setSmall
public void setSmall(boolean b)
getSmall
public boolean getSmall()
setPushButtonTag
public void setPushButtonTag(java.lang.String s)
getPushButtonTag
public java.lang.String getPushButtonTag()
getHtml
public java.lang.String getHtml()
- Description copied from class:
ControlImpl
- Returns an empty string.
- Specified by:
getHtml
in interface Control
- Overrides:
getHtml
in class ControlImpl
- Returns:
- html
- See Also:
Control.getHtml()
getHtmlDividedbutton
public java.lang.String getHtmlDividedbutton()
getHtmlPushbutton
public java.lang.String getHtmlPushbutton()
setState
public void setState(int i)
getState
public int getState()
setButtonType
public void setButtonType(int i)
getButtonType
public int getButtonType()
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.