public class

MacroIcon

extends Object
java.lang.Object
   ↳ com.atlassian.confluence.macro.browser.beans.MacroIcon

Summary

Public Constructors
MacroIcon(String location, boolean relative)
MacroIcon(String location, boolean relative, int height, int width)
Public Methods
int getHeight()
String getLocation()
int getWidth()
boolean isRelative()
Whether or not the location of this icon should be taken as a relative path.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public MacroIcon (String location, boolean relative)

public MacroIcon (String location, boolean relative, int height, int width)

Public Methods

public int getHeight ()

Returns
  • the height of the icon in pixels

public String getLocation ()

public int getWidth ()

Returns
  • the width of the icon in pixels

public boolean isRelative ()

Whether or not the location of this icon should be taken as a relative path.

Returns
  • true if the location is relative to the image base directory