Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.service.gui
Class Container

java.lang.Object
  extended by net.java.sip.communicator.service.gui.Container

public class Container
extends Object

The Container wraps a string which is meant to point to a plugin container. The plugin container is a GUI container that contains plugin components.

Author:
Yana Stamcheva

Field Summary
static String BOTTOM
          Indicates the bottom edge of a container.
static Container CONTAINER_ACCOUNT_SOUTH
          The container added on the south of the account panel above the contact list.
static Container CONTAINER_CALL_BUTTONS_PANEL
          Call panel container.
static Container CONTAINER_CALL_DIALOG
          Call dialog container.
static Container CONTAINER_CALL_HISTORY
          Call history panel container.
static Container CONTAINER_CHAT_EDIT_MENU
          Chat window "edit menu" container.
static Container CONTAINER_CHAT_FILE_MENU
          Chat window "file menu" container.
static Container CONTAINER_CHAT_HELP_MENU
          Chat window "help menu" container.
static Container CONTAINER_CHAT_MENU_BAR
          Chat window "menu bar" container.
static Container CONTAINER_CHAT_SETTINGS_MENU
          Chat window "settings menu" container.
static Container CONTAINER_CHAT_STATUS_BAR
          Status bar container.
static Container CONTAINER_CHAT_TOOL_BAR
          Chat window toolbar container.
static Container CONTAINER_CHAT_WINDOW
          Chat window container.
static Container CONTAINER_CONTACT_LIST
          The contact list panel.
static Container CONTAINER_CONTACT_RIGHT_BUTTON_MENU
          Main application window "right button menu" over a contact container.
static Container CONTAINER_FILE_MENU
          Main application window "file menu" container.
static Container CONTAINER_GROUP_RIGHT_BUTTON_MENU
          Main application window "right button menu" over a group container.
static Container CONTAINER_HELP_MENU
          Main application window "help menu" container.
static String CONTAINER_ID
           
static Container CONTAINER_MAIN_TABBED_PANE
          Main application window main tabbedpane container.
static Container CONTAINER_MAIN_TOOL_BAR
          Main application window main toolbar container.
static Container CONTAINER_MAIN_WINDOW
          Main window container.
static Container CONTAINER_SETTINGS_MENU
          Main application window "settings menu" container.
static Container CONTAINER_STATUS_BAR
          Status bar container.
static Container CONTAINER_TOOLS_MENU
          Main application window "tools menu" container.
static Container CONTAINER_VIEW_MENU
          Main application window "view menu" container.
static String END
          Indicates the most right/bottom edge of a container.
static String LEFT
          Indicates the left edge of a container.
static String RIGHT
          Indicates the right edge of a container.
static String START
          Indicates the most left/top edge of a container.
static String TOP
          Indicates the top edge of a container.
 
Constructor Summary
Container(String containerName)
          Creates a Container from the given container name.
 
Method Summary
 boolean equals(Object obj)
          Indicates whether some other object is "equal to" this one which in terms of containers translates to having equal identifiers.
 String getID()
          Returns the String identifier of this Container.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTAINER_ID

public static final String CONTAINER_ID
See Also:
Constant Field Values

CONTAINER_FILE_MENU

public static final Container CONTAINER_FILE_MENU
Main application window "file menu" container.


CONTAINER_TOOLS_MENU

public static final Container CONTAINER_TOOLS_MENU
Main application window "tools menu" container.


CONTAINER_VIEW_MENU

public static final Container CONTAINER_VIEW_MENU
Main application window "view menu" container.


CONTAINER_HELP_MENU

public static final Container CONTAINER_HELP_MENU
Main application window "help menu" container.


CONTAINER_SETTINGS_MENU

public static final Container CONTAINER_SETTINGS_MENU
Main application window "settings menu" container.


CONTAINER_MAIN_TOOL_BAR

public static final Container CONTAINER_MAIN_TOOL_BAR
Main application window main toolbar container.


CONTAINER_ACCOUNT_SOUTH

public static final Container CONTAINER_ACCOUNT_SOUTH
The container added on the south of the account panel above the contact list.


CONTAINER_MAIN_TABBED_PANE

public static final Container CONTAINER_MAIN_TABBED_PANE
Main application window main tabbedpane container.


CONTAINER_CHAT_TOOL_BAR

public static final Container CONTAINER_CHAT_TOOL_BAR
Chat window toolbar container.


CONTAINER_CONTACT_RIGHT_BUTTON_MENU

public static final Container CONTAINER_CONTACT_RIGHT_BUTTON_MENU
Main application window "right button menu" over a contact container.


CONTAINER_GROUP_RIGHT_BUTTON_MENU

public static final Container CONTAINER_GROUP_RIGHT_BUTTON_MENU
Main application window "right button menu" over a group container.


CONTAINER_CHAT_MENU_BAR

public static final Container CONTAINER_CHAT_MENU_BAR
Chat window "menu bar" container.


CONTAINER_CHAT_FILE_MENU

public static final Container CONTAINER_CHAT_FILE_MENU
Chat window "file menu" container.


CONTAINER_CHAT_EDIT_MENU

public static final Container CONTAINER_CHAT_EDIT_MENU
Chat window "edit menu" container.


CONTAINER_CHAT_SETTINGS_MENU

public static final Container CONTAINER_CHAT_SETTINGS_MENU
Chat window "settings menu" container.


CONTAINER_CHAT_HELP_MENU

public static final Container CONTAINER_CHAT_HELP_MENU
Chat window "help menu" container.


CONTAINER_CHAT_WINDOW

public static final Container CONTAINER_CHAT_WINDOW
Chat window container.


CONTAINER_MAIN_WINDOW

public static final Container CONTAINER_MAIN_WINDOW
Main window container.


CONTAINER_CONTACT_LIST

public static final Container CONTAINER_CONTACT_LIST
The contact list panel.


CONTAINER_CALL_HISTORY

public static final Container CONTAINER_CALL_HISTORY
Call history panel container.


CONTAINER_CALL_DIALOG

public static final Container CONTAINER_CALL_DIALOG
Call dialog container.


CONTAINER_CALL_BUTTONS_PANEL

public static final Container CONTAINER_CALL_BUTTONS_PANEL
Call panel container.


CONTAINER_STATUS_BAR

public static final Container CONTAINER_STATUS_BAR
Status bar container.


CONTAINER_CHAT_STATUS_BAR

public static final Container CONTAINER_CHAT_STATUS_BAR
Status bar container.


START

public static final String START
Indicates the most left/top edge of a container.

See Also:
Constant Field Values

END

public static final String END
Indicates the most right/bottom edge of a container.

See Also:
Constant Field Values

TOP

public static final String TOP
Indicates the top edge of a container.

See Also:
Constant Field Values

BOTTOM

public static final String BOTTOM
Indicates the bottom edge of a container.

See Also:
Constant Field Values

LEFT

public static final String LEFT
Indicates the left edge of a container.

See Also:
Constant Field Values

RIGHT

public static final String RIGHT
Indicates the right edge of a container.

See Also:
Constant Field Values
Constructor Detail

Container

public Container(String containerName)
Creates a Container from the given container name.

Parameters:
containerName - the name of the container.
Method Detail

getID

public String getID()
Returns the String identifier of this Container.

Returns:
the String identifier of this Container.

equals

public boolean equals(Object obj)
Indicates whether some other object is "equal to" this one which in terms of containers translates to having equal identifiers. If the given object is a String we'll compare it directly to the identifier of our container.

Overrides:
equals in class Object
Parameters:
obj - the reference object with which to compare.
Returns:
true if this container has the same id as that of the obj argument or if the object argument is the id of this container.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.