|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StatusIcon
Item
can return this from the "getIconColor" method so that
its "status icon" can be shown in Hudson UI.
For future compatibility, please extend from AbstractStatusIcon
instead of implementing this directly, so that we can add methods later.
This is a generalization of BallColor
.
StockStatusIcon
Method Summary | |
---|---|
String |
getDescription()
Gets the human-readable description used as img/@alt. |
String |
getImageOf(String size)
Returns the URL to the image. |
Method Detail |
---|
String getImageOf(String size)
size
- The size specified. Must support "16x16", "24x24", and "32x32" at least.
For forward compatibility, if you receive a size that's not supported,
consider returning your biggest icon (and let the browser rescale.)
String getDescription()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |