|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wings.SAbstractIcon
public abstract class SAbstractIcon
Base class for icons.
| 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. |
| Constructor Summary | |
|---|---|
protected |
SAbstractIcon()
|
protected |
SAbstractIcon(int width,
int height)
|
| Method Summary | |
|---|---|
int |
getIconHeight()
Returns the height of the icon. |
String |
getIconTitle()
gets the title of the icon, empty String if unknown. |
int |
getIconWidth()
Returns the width of the icon. |
void |
setIconHeight(int h)
sets the height of the icon, -1 if unknown. |
void |
setIconTitle(String title)
sets the title of the icon, empty String if unknown. |
void |
setIconWidth(int w)
Sets the width of the icon. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.wings.URLResource |
|---|
getURL |
| Field Detail |
|---|
protected int width
protected int height
protected String title
"" if not set.
| Constructor Detail |
|---|
protected SAbstractIcon()
protected SAbstractIcon(int width,
int height)
| Method Detail |
|---|
public int getIconWidth()
getIconWidth in interface SIconpublic int getIconHeight()
getIconHeight in interface SIconpublic void setIconWidth(int w)
setIconWidth in interface SIconw - the width of the iconpublic void setIconHeight(int h)
SIcon
setIconHeight in interface SIconpublic String getIconTitle()
SIcon
getIconTitle in interface SIconpublic void setIconTitle(String title)
SIcon
setIconTitle in interface SIcon
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||