| java.lang.Object org.wings.SAbstractIcon
All known Subclasses: org.wings.SURLIcon, org.wings.SImageIcon,
SAbstractIcon | abstract public class SAbstractIcon implements SIcon(Code) | | Base class for icons.
author: Armin Haaf |
Field Summary | |
protected int | height The height of the icon. | protected String | title Title of icon, "" if not set. | protected int | width The width of the icon. |
height | protected int height(Code) | | The height of the icon. This is the height it is rendered, not
the real width of the icon. A value <0 means, no height is rendered
|
title | protected String title(Code) | | Title of icon, "" if not set.
|
width | protected int width(Code) | | The width of the icon. This is the width it is rendered, not
the real width of the icon. A value <0 means, no width is rendered
|
SAbstractIcon | protected SAbstractIcon()(Code) | | |
SAbstractIcon | protected SAbstractIcon(int width, int height)(Code) | | |
getIconHeight | public int getIconHeight()(Code) | | Returns the height of the icon.
the height or -1 if unknown |
getIconWidth | public int getIconWidth()(Code) | | Returns the width of the icon.
the width or -1 if unknown |
setIconHeight | public void setIconHeight(int h)(Code) | | |
setIconWidth | public void setIconWidth(int w)(Code) | | Sets the width of the icon.
Parameters: w - the width of the icon |
|
|