info.magnolia.cms.gui.control
Class ControlImpl
java.lang.Object
info.magnolia.cms.gui.control.ControlImpl
- All Implemented Interfaces:
- Control
- Direct Known Subclasses:
- Bar, Button, ButtonSet, ContextMenu, ContextMenuItem, Edit, File, FreemarkerControl, Hidden, Password, Radio, Select, SelectOption, Tree, TreeColumn
public class ControlImpl
- extends Object
- implements Control
- Version:
- 2.0
- Author:
- Vinzenz Wyser
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BUTTONTYPE_PUSHBUTTON
public static final int BUTTONTYPE_PUSHBUTTON
- See Also:
- Constant Field Values
BUTTONTYPE_CHECKBOX
public static final int BUTTONTYPE_CHECKBOX
- See Also:
- Constant Field Values
BUTTONTYPE_RADIO
public static final int BUTTONTYPE_RADIO
- See Also:
- Constant Field Values
BUTTONSTATE_NORMAL
public static final int BUTTONSTATE_NORMAL
- See Also:
- Constant Field Values
BUTTONSTATE_MOUSEOVER
public static final int BUTTONSTATE_MOUSEOVER
- See Also:
- Constant Field Values
BUTTONSTATE_MOUSEDOWN
public static final int BUTTONSTATE_MOUSEDOWN
- See Also:
- Constant Field Values
BUTTONSTATE_PUSHED
public static final int BUTTONSTATE_PUSHED
- See Also:
- Constant Field Values
BUTTONSTATE_DISABLED
public static final int BUTTONSTATE_DISABLED
- See Also:
- Constant Field Values
VALUETYPE_SINGLE
public static final int VALUETYPE_SINGLE
- See Also:
- Constant Field Values
VALUETYPE_MULTIPLE
public static final int VALUETYPE_MULTIPLE
- See Also:
- Constant Field Values
ENCODING_NO
public static final int ENCODING_NO
- See Also:
- Constant Field Values
ENCODING_BASE64
public static final int ENCODING_BASE64
- See Also:
- Constant Field Values
ENCODING_UNIX
public static final int ENCODING_UNIX
- See Also:
- Constant Field Values
RICHEDIT_NONE
public static final int RICHEDIT_NONE
- See Also:
- Constant Field Values
RICHEDIT_KUPU
public static final int RICHEDIT_KUPU
- See Also:
- Constant Field Values
RICHEDIT_FCK
public static final int RICHEDIT_FCK
- See Also:
- Constant Field Values
CSSCLASS_CONTROLBUTTON
public static final String CSSCLASS_CONTROLBUTTON
- See Also:
- Constant Field Values
CSSCLASS_CONTROLBUTTONSMALL
public static final String CSSCLASS_CONTROLBUTTONSMALL
- See Also:
- Constant Field Values
CSSCLASS_CONTROLBAR
public static final String CSSCLASS_CONTROLBAR
- See Also:
- Constant Field Values
CSSCLASS_CONTROLBARSMALL
public static final String CSSCLASS_CONTROLBARSMALL
- See Also:
- Constant Field Values
ControlImpl
public ControlImpl()
ControlImpl
public ControlImpl(String name,
String value)
ControlImpl
public ControlImpl(String name,
List values)
ControlImpl
public ControlImpl(String name,
info.magnolia.cms.core.Content websiteNode)
setPath
public void setPath(String path)
getPath
public String getPath()
setNodeCollectionName
public void setNodeCollectionName(String nodeCollectionName)
getNodeCollectionName
public String getNodeCollectionName()
getNodeCollectionName
public String getNodeCollectionName(String nullOrEmptyValue)
setNodeName
public void setNodeName(String nodeName)
getNodeName
public String getNodeName()
getNodeName
public String getNodeName(String nullOrEmptyValue)
setRequest
@Deprecated
public void setRequest(javax.servlet.http.HttpServletRequest request)
- Deprecated.
getRequest
public javax.servlet.http.HttpServletRequest getRequest()
- Returns:
setName
public void setName(String s)
getName
public String getName()
setId
public void setId(String s)
getId
public String getId()
getHtmlId
public String getHtmlId()
setValue
public void setValue(String value)
getValue
public String getValue()
setValues
public void setValues(List values)
getValues
public List getValues()
setWebsiteNode
public void setWebsiteNode(info.magnolia.cms.core.Content c)
getWebsiteNode
public info.magnolia.cms.core.Content getWebsiteNode()
setLabel
public void setLabel(String label)
getLabel
public String getLabel()
setEvent
public void setEvent(String event,
String action)
setEvent
public void setEvent(String event,
String action,
boolean removeExisting)
setEvents
public void setEvents(Map h)
getEvents
public Map getEvents()
getHtmlEvents
public String getHtmlEvents()
getHtml
public String getHtml()
- Returns an empty string.
- Specified by:
getHtml
in interface Control
- Returns:
- html
- See Also:
Control.getHtml()
setHtmlPre
public void setHtmlPre(String s)
getHtmlPre
public String getHtmlPre()
getHtmlPre
public String getHtmlPre(String nullValue)
setHtmlInter
public void setHtmlInter(String s)
getHtmlInter
public String getHtmlInter()
getHtmlInter
public String getHtmlInter(String nullValue)
setHtmlPost
public void setHtmlPost(String s)
getHtmlPost
public String getHtmlPost()
getHtmlPost
public String getHtmlPost(String nullValue)
setType
public void setType(int i)
setType
public void setType(String s)
getType
public int getType()
setSaveInfo
public void setSaveInfo(boolean b)
getSaveInfo
public boolean getSaveInfo()
setCssClass
public void setCssClass(String s)
getCssClass
public String getCssClass()
getHtmlCssClass
public String getHtmlCssClass()
getHtmlSaveInfo
public String getHtmlSaveInfo()
setCssStyles
public void setCssStyles(Map h)
setCssStyles
public void setCssStyles(String key,
String value)
getCssStyles
public Map getCssStyles()
getCssStyles
public String getCssStyles(String key,
String nullValue)
getCssStyles
public String getCssStyles(String key)
getHtmlCssStyles
public String getHtmlCssStyles()
setValueType
public void setValueType(int i)
getValueType
public int getValueType()
setEncoding
public void setEncoding(int i)
getEncoding
public int getEncoding()
setIsRichEditValue
public void setIsRichEditValue(int i)
getIsRichEditValue
public int getIsRichEditValue()
escapeHTML
public static String escapeHTML(String str)
println
protected void println(Writer out,
String s)
throws IOException
- Throws:
IOException
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.