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
Field Summary |
static java.lang.String |
REMOVE
|
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 |
File(java.lang.String name,
info.magnolia.cms.core.Content content)
|
File(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, 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 java.lang.String REMOVE
- See Also:
- Constant Field Values
File
public File(java.lang.String name,
java.lang.String value)
- Parameters:
name
- value
-
File
public File(java.lang.String name,
info.magnolia.cms.core.Content content)
- Parameters:
name
- content
-
setCssClassFileName
public void setCssClassFileName(java.lang.String s)
getCssClassFileName
public java.lang.String getCssClassFileName()
getHtmlCssClassFileName
public java.lang.String getHtmlCssClassFileName()
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()
getHtmlBrowse
public java.lang.String getHtmlBrowse()
getFileName
public java.lang.String getFileName()
getImageWidth
public java.lang.String getImageWidth()
getImageHeight
public java.lang.String getImageHeight()
setNodeDataTemplate
public void setNodeDataTemplate(java.lang.String s)
getNodeDataTemplate
public java.lang.String getNodeDataTemplate()
getExtension
public java.lang.String getExtension()
getHtmlFileName
public java.lang.String getHtmlFileName()
getHtmlNodeDataTemplate
public java.lang.String getHtmlNodeDataTemplate()
getHtmlRemove
public java.lang.String getHtmlRemove()
getHtmlRemove
public java.lang.String getHtmlRemove(java.lang.String additionalOnclick)
getHandle
public java.lang.String getHandle()
getPath
public java.lang.String getPath()
- Overrides:
getPath
in class ControlImpl
getPropertyString
protected java.lang.String getPropertyString(java.lang.String propertyName)
- Read a property from content node, check nulls.
- Parameters:
propertyName
- node data name
- Returns:
- property string, "" if not found
- Throws:
javax.jcr.RepositoryException
getPropertyNode
protected info.magnolia.cms.core.NodeData getPropertyNode()
Copyright © 2003-2010 Magnolia International Ltd.. All Rights Reserved.