org.wings
Class SURLIcon
java.lang.Object
org.wings.SAbstractIcon
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
url
protected SimpleURL url
SURLIcon
public SURLIcon(URL u)
SURLIcon
public SURLIcon(SimpleURL u)
SURLIcon
public SURLIcon(String u)
SURLIcon
public SURLIcon(String u,
int width,
int height)
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 ;-)