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

public class MacroIcon extends Object
  • Constructor Details

    • MacroIcon

      public MacroIcon(String location, boolean relative)
    • MacroIcon

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

    • getLocation

      public String getLocation()
    • isRelative

      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
    • getHeight

      public int getHeight()
      Returns:
      the height of the icon in pixels
    • getWidth

      public int getWidth()
      Returns:
      the width of the icon in pixels