blob: 1c3cbd85c358121c4a677230bb79c078ddaf1660 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
/*
* SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
*
* Distributable under LGPL license.
* See terms of license at gnu.org.
*/
package net.java.sip.communicator.service.gui;
/**
* The <tt>FavoriteButton</tt> interface is meant to be used by plugins in order
* to register their own components in the menu of favorites opened, by clicking
* the arrow button above the contact list.
*
* @author Yana Stamcheva
*/
public interface FavoritesButton
{
/**
* Returns the image to be set on the favorites button.
*
* @return the image to be set on the favorites button.
*/
public byte[] getImage();
/**
* Returns the text to be set to the favorites button.
*
* @return the text to be set to the favorites button.
*/
public String getText();
/**
* This method will be called when one clicks on the button.
*/
public void actionPerformed();
}
|