public class ProtocolIconIrcImpl extends java.lang.Object implements ProtocolIcon
ICON_SIZE_16x16, ICON_SIZE_32x32, ICON_SIZE_48x48, ICON_SIZE_64x64
Constructor and Description |
---|
ProtocolIconIrcImpl() |
Modifier and Type | Method and Description |
---|---|
byte[] |
getConnectingIcon()
Returns the icon image used to represent the protocol connecting state.
|
byte[] |
getIcon(java.lang.String iconSize)
Returns the icon image in the given size.
|
java.lang.String |
getIconPath(java.lang.String iconSize)
Returns a path to the icon with the given size.
|
(package private) static byte[] |
getImageInBytes(java.lang.String imageID)
Returns the byte representation of the image corresponding to the given
identifier.
|
java.util.Iterator<java.lang.String> |
getSupportedSizes()
Implements the ProtocolIcon.getSupportedSizes() method.
|
boolean |
isSizeSupported(java.lang.String iconSize)
Returns TRUE if a icon with the given size is supported, FALSE-otherwise.
|
public java.util.Iterator<java.lang.String> getSupportedSizes()
getSupportedSizes
in interface ProtocolIcon
public boolean isSizeSupported(java.lang.String iconSize)
isSizeSupported
in interface ProtocolIcon
iconSize
- the icon size; one of ICON_SIZE_XXX constantspublic byte[] getIcon(java.lang.String iconSize)
getIcon
in interface ProtocolIcon
iconSize
- the icon size; one of ICON_SIZE_XXX constantspublic java.lang.String getIconPath(java.lang.String iconSize)
getIconPath
in interface ProtocolIcon
iconSize
- the icon size; one of ICON_SIZE_XXX constantspublic byte[] getConnectingIcon()
getConnectingIcon
in interface ProtocolIcon
static byte[] getImageInBytes(java.lang.String imageID)
imageID
- the identifier of the image
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.