org.xwiki.rendering.macro.useravatar
Class UserAvatarMacroParameters
java.lang.Object
org.xwiki.rendering.macro.useravatar.UserAvatarMacroParameters
public class UserAvatarMacroParameters
- extends Object
Parameters for the org.xwiki.rendering.internal.macro.useravatar.UserAvatarMacro Macro.
- Since:
- 1.8RC2
- Version:
- $Id: ca5a10b19f5b2cd8f066b6bd8278d31e0de64002 $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UserAvatarMacroParameters
public UserAvatarMacroParameters()
getUsername
public String getUsername()
- Returns:
- the name of the user whose avatar is to be displayed
setUsername
public void setUsername(String username)
- Parameters:
username - the name of the user whose avatar is to be displayed
getWidth
public Integer getWidth()
- Returns:
- the width of the image.
setWidth
public void setWidth(Integer width)
- Parameters:
width - the width of the image
getHeight
public Integer getHeight()
- Returns:
- the height of the image
setHeight
public void setHeight(Integer height)
- Parameters:
height - the height of the image
Copyright © 2004-2013 XWiki. All Rights Reserved.