com.atlassian.plugin.web.model
Class DefaultWebIcon

java.lang.Object
  extended by com.atlassian.plugin.web.model.DefaultWebIcon
All Implemented Interfaces:
WebIcon

public class DefaultWebIcon
extends java.lang.Object
implements WebIcon

Represents an icon associated with an item. It will not always be displayed!


Constructor Summary
DefaultWebIcon(org.dom4j.Element iconEl, WebFragmentHelper webFragmentHelper, ContextProvider contextProvider, WebFragmentModuleDescriptor descriptor)
           
 
Method Summary
 int getHeight()
           
 WebLink getUrl()
           
 int getWidth()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultWebIcon

public DefaultWebIcon(org.dom4j.Element iconEl,
                      WebFragmentHelper webFragmentHelper,
                      ContextProvider contextProvider,
                      WebFragmentModuleDescriptor descriptor)
Method Detail

getUrl

public WebLink getUrl()
Specified by:
getUrl in interface WebIcon

getWidth

public int getWidth()
Specified by:
getWidth in interface WebIcon

getHeight

public int getHeight()
Specified by:
getHeight in interface WebIcon


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.