public interface ContactActionMenuItem<T>
Modifier and Type | Method and Description |
---|---|
void |
actionPerformed(T actionSource)
Invoked when an action occurs.
|
byte[] |
getIcon()
The icon used by the UI to visualize this action.
|
char |
getMnemonics() |
java.lang.String |
getText(T actionSource)
Returns the text of the component to create for this contact
action.
|
boolean |
isCheckBox()
Returns true if the item should be a check box and
false if not
|
boolean |
isEnabled(T actionSource)
Returns true if the item should be enabled and false
- not.
|
boolean |
isSelected(T actionSource)
Returns the state of the item if the item is check box.
|
boolean |
isVisible(T actionSource)
Indicates if this action is visible for the given actionSource.
|
void actionPerformed(T actionSource) throws OperationFailedException
actionSource
- the source of the actionOperationFailedException
byte[] getIcon()
java.lang.String getText(T actionSource)
actionSource
- the action source for associated with the
action.boolean isVisible(T actionSource)
actionSource
- the action source for which we're verifying the
action.char getMnemonics()
boolean isEnabled(T actionSource)
actionSource
- the action source for which we're verifying the
action.boolean isCheckBox()
boolean isSelected(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.