info.magnolia.cms.gui.control
Class File
java.lang.Object
info.magnolia.cms.gui.control.ControlImpl
info.magnolia.cms.gui.control.File
- All Implemented Interfaces:
- Control
public class File
- 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_NO, ENCRYPTION_HASH_BCRYPT, ENCRYPTION_HASH_SHA, ENCRYPTION_NO, ENCRYPTION_NO_ENCODING_BASE64, RICHEDIT_FCK, RICHEDIT_KUPU, RICHEDIT_NONE, VALUETYPE_MULTIPLE, VALUETYPE_SINGLE |
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, getLabel, getName, getNodeCollectionName, getNodeCollectionName, getNodeName, getNodeName, getRequest, getSaveInfo, getType, getValue, getValues, getValueType, getWebsiteNode, println, setCssClass, setCssStyles, setCssStyles, setEncoding, setEvent, setEvent, setEvents, setHtmlInter, setHtmlPost, setHtmlPre, setId, setIsRichEditValue, setLabel, 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 |
REMOVE
public static final String REMOVE
- See Also:
- Constant Field Values
File
public File(String name,
String value)
- Parameters:
name
- value
-
File
public File(String name,
info.magnolia.cms.core.Content content)
- Parameters:
name
- content
-
setCssClassFileName
public void setCssClassFileName(String s)
getCssClassFileName
public String getCssClassFileName()
getHtmlCssClassFileName
public String getHtmlCssClassFileName()
getHtml
public 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()
getHtmlBrowse
public String getHtmlBrowse()
getFileName
public String getFileName()
getImageWidth
public String getImageWidth()
getImageHeight
public String getImageHeight()
setNodeDataTemplate
public void setNodeDataTemplate(String s)
getNodeDataTemplate
public String getNodeDataTemplate()
getExtension
public String getExtension()
getHtmlFileName
public String getHtmlFileName()
getHtmlNodeDataTemplate
public String getHtmlNodeDataTemplate()
getHtmlRemove
public String getHtmlRemove()
getHtmlRemove
public String getHtmlRemove(String additionalOnclick)
getHandle
public String getHandle()
getPath
public String getPath()
- Overrides:
getPath
in class ControlImpl
getPropertyString
protected String getPropertyString(String propertyName)
- Read a property from content node, check nulls.
- Parameters:
propertyName
- node data name
- Returns:
- property string, "" if not found
- Throws:
RepositoryException
getPropertyNode
protected info.magnolia.cms.core.NodeData getPropertyNode()
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.