org.wings
Class SURLIcon

java.lang.Object
  extended by org.wings.SAbstractIcon
      extended by org.wings.SURLIcon
All Implemented Interfaces:
Serializable, SIcon, URLResource

public class SURLIcon
extends SAbstractIcon

SIcon which is backed by an URL to get the image.

Author:
Armin Haaf
See Also:
Serialized Form

Field Summary
protected  SimpleURL url
           
 
Fields inherited from class org.wings.SAbstractIcon
height, title, width
 
Constructor Summary
SURLIcon(SimpleURL u)
           
SURLIcon(String u)
           
SURLIcon(String u, int width, int height)
           
SURLIcon(URL u)
           
 
Method Summary
 SimpleURL getURL()
          returns the URL, this resource can be fetched from.
 String toString()
           
 
Methods inherited from class org.wings.SAbstractIcon
getIconHeight, getIconTitle, getIconWidth, setIconHeight, setIconTitle, setIconWidth
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

url

protected SimpleURL url
Constructor Detail

SURLIcon

public SURLIcon(URL u)

SURLIcon

public SURLIcon(SimpleURL u)

SURLIcon

public SURLIcon(String u)

SURLIcon

public SURLIcon(String u,
                int width,
                int height)
Method Detail

getURL

public SimpleURL getURL()
Description copied from interface: URLResource
returns the URL, this resource can be fetched from. This URL may be relative, usually if generated from the externalizer.


toString

public String toString()
Overrides:
toString in class Object


wingS Swings ;-)