org.xwiki.rendering.macro.useravatar
Class UserAvatarMacroParameters
java.lang.Object
org.xwiki.rendering.macro.useravatar.UserAvatarMacroParameters
public class UserAvatarMacroParameters
- extends Object
Parameters for the UserAvatarMacro
Macro.
- Since:
- 1.8RC2
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