org.xwiki.rendering.macro.useravatar
Class UserAvatarMacroParameters

java.lang.Object
  extended by org.xwiki.rendering.macro.useravatar.UserAvatarMacroParameters

public class UserAvatarMacroParameters
extends Object

Parameters for the UserAvatarMacro Macro.

Since:
1.8RC2

Constructor Summary
UserAvatarMacroParameters()
           
 
Method Summary
 Integer getHeight()
           
 String getUsername()
           
 Integer getWidth()
           
 void setHeight(Integer height)
           
 void setUsername(String username)
           
 void setWidth(Integer width)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserAvatarMacroParameters

public UserAvatarMacroParameters()
Method Detail

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