public interface ContactAction<T>
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(T actionSource,
int x,
int y)
Invoked when an action occurs.
|
byte[] |
getIcon()
The icon used by the UI to visualize this action.
|
byte[] |
getPressedIcon()
The icon used by the UI to visualize the pressed state of the button
|
byte[] |
getRolloverIcon()
The icon used by the UI to visualize the roll over state of the button.
|
java.lang.String |
getToolTipText()
Returns the tool tip text of the component to create for this contact
action.
|
boolean |
isVisible(T actionSource)
Indicates if this action is visible for the given actionSource.
|
void actionPerformed(T actionSource, int x, int y) throws OperationFailedException
actionSource
- the source of the actionx
- the x coordinate of the actiony
- the y coordinate of the actionOperationFailedException
byte[] getIcon()
byte[] getRolloverIcon()
byte[] getPressedIcon()
java.lang.String getToolTipText()
boolean isVisible(T actionSource)
actionSource
- the action source for which we're verifying the
action.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.