com.atlassian.confluence.macro.browser.beans
Class MacroIcon
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MacroIcon
public MacroIcon(java.lang.String location,
boolean relative)
MacroIcon
public MacroIcon(java.lang.String location,
boolean relative,
int height,
int width)
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.