com.atlassian.confluence.macro.browser.beans
Class MacroIcon

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

public class MacroIcon
extends java.lang.Object


Constructor Summary
MacroIcon(java.lang.String location, boolean relative)
           
MacroIcon(java.lang.String location, boolean relative, int height, int width)
           
 
Method Summary
 int getHeight()
           
 java.lang.String getLocation()
           
 int getWidth()
           
 boolean isRelative()
          Whether or not the location of this icon should be taken as a relative path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacroIcon

public MacroIcon(java.lang.String location,
                 boolean relative)

MacroIcon

public MacroIcon(java.lang.String location,
                 boolean relative,
                 int height,
                 int width)
Method Detail

getLocation

public java.lang.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


Copyright © 2003-2010 Atlassian. All Rights Reserved.