Package com.xwiki.macros.viewfile.macro
Class ViewFileMacroParameters
- java.lang.Object
-
- com.xwiki.macros.viewfile.macro.ViewFileMacroParameters
-
public class ViewFileMacroParameters extends Object
Parameter bean class forViewFileMacro.- Since:
- 1.27
- Version:
- $Id$
-
-
Constructor Summary
Constructors Constructor Description ViewFileMacroParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAttFilename()ViewFileDisplaygetDisplay()StringgetHeight()StringgetName()StringgetPage()StringgetWidth()voidsetAttFilename(String attFilename)Alias of File name used for compatibility reasons.voidsetDisplay(ViewFileDisplay display)Set the display type.voidsetHeight(String height)Set the height of the display window.voidsetName(String name)Set the attachment name.voidsetPage(String page)Set the source document for the attachments.voidsetWidth(String width)Set the width of the display window.
-
-
-
Method Detail
-
getName
public String getName()
- Returns:
- the name of the attachment.
-
setName
public void setName(String name)
Set the attachment name.- Parameters:
name- the name of the attachment.
-
getPage
public String getPage()
- Returns:
- the source document of the attachments.
-
setPage
public void setPage(String page)
Set the source document for the attachments.- Parameters:
page- the source document of the attachments.
-
getDisplay
public ViewFileDisplay getDisplay()
- Returns:
- the display type.
-
setDisplay
public void setDisplay(ViewFileDisplay display)
Set the display type.- Parameters:
display- the display type.
-
getWidth
public String getWidth()
- Returns:
- the width of the display window.
-
setWidth
public void setWidth(String width)
Set the width of the display window.- Parameters:
width- the width of the display window.
-
getHeight
public String getHeight()
- Returns:
- the height of the display window.
-
setHeight
public void setHeight(String height)
Set the height of the display window.- Parameters:
height- the height of the display window.
-
getAttFilename
public String getAttFilename()
- Returns:
- the attachment filename.
-
setAttFilename
public void setAttFilename(String attFilename)
Alias of File name used for compatibility reasons.- Parameters:
attFilename- the attachment filename.
-
-