Package com.inmethod.icon
Interface Icon
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
PackageIcon
public interface Icon extends Serializable
Simple interface that represents an icon.- Author:
- Matej Knopp
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetHeight()Returns the icon height.CharSequencegetUrl()Returns the URL of icon image.intgetWidth()Returns the icon width.
-
-
-
Method Detail
-
getUrl
CharSequence getUrl()
Returns the URL of icon image.- Returns:
- icon URL
-
getWidth
int getWidth()
Returns the icon width.- Returns:
- icon width (in pixels) or -1 if the width can not be determined
-
getHeight
int getHeight()
Returns the icon height.- Returns:
- icon height (in pixels) or -1 if the height can not be determined
-
-