public interface ProtocolIcon
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ICON_SIZE_16x16
Defines a 16x16 icon size.
|
static java.lang.String |
ICON_SIZE_32x32
Defines a 32x32 icon size.
|
static java.lang.String |
ICON_SIZE_48x48
Defines a 48x48 icon size.
|
static java.lang.String |
ICON_SIZE_64x64
logo
Defines a 64x64 icon size.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getConnectingIcon()
Returns the icon that should be used when the protocol provider is in
a connecting state.
|
byte[] |
getIcon(java.lang.String iconSize)
Returns the protocol icon image in the desired size.
|
java.lang.String |
getIconPath(java.lang.String iconSize)
Returns a path to the icon with the given size.
|
java.util.Iterator<java.lang.String> |
getSupportedSizes()
Returns an iterator over a set, containing different predefined icon sizes.
|
boolean |
isSizeSupported(java.lang.String iconSize)
Checks if the given icon size is supported by the current protocol
implementation.
|
static final java.lang.String ICON_SIZE_16x16
static final java.lang.String ICON_SIZE_32x32
static final java.lang.String ICON_SIZE_48x48
static final java.lang.String ICON_SIZE_64x64
java.util.Iterator<java.lang.String> getSupportedSizes()
boolean isSizeSupported(java.lang.String iconSize)
iconSize
- the size of the protocol icon; one of the ICON_SIZE_XXX
constantsbyte[] getIcon(java.lang.String iconSize)
iconSize
- the size of the protocol icon; one of the ICON_SIZE_XXX
constantsjava.lang.String getIconPath(java.lang.String iconSize)
iconSize
- the size of the icon we're looking forbyte[] getConnectingIcon()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.