com.tensegrity.gui.container
Interface Container

All Known Subinterfaces:
AttributeEditorContainer, AttributeTableContainer, AttributeTreeContainer, Document, GraphDocument, LayoutToolsContainer, NavigatorContainer, OutlinerContainer, RepositoryContainer, TemplateDocument, ToolContainer
All Known Implementing Classes:
AbstractDocument, AbstractSwingToolContainer, AbstractSwtToolContainer, SwingAttributeTableContainer, SwingAttributeTreeContainer, SwingGraphDocument, SwingLayoutToolsContainer, SwingNavigatorContainer, SwingOutlinerContainer, SwingRepositoryContainer, SwingTemplateDocument, SwtAttributeTreeContainer, SwtGraphDocument, SwtLayoutToolsContainer, SwtNavigatorContainer, SwtRepositoryContainer

public interface Container

A Container represents a part of the application window holding a user interface element. A Container can be selected, has a name and is embedded in an ApplicationFrame.

Containers implement the basic windows of an Application. While a Document represents a data container, all other containers represent some sort of tool panel. Interfaces OutlinerContainer, AttributeTableContainer, NavigatorContainer and RepositoryContainer all derive from this basic interface and are each responsible for containing components that support a specific user activity.

Class Diagram Container

Version:
$Id: Container.java,v 1.20 2005/06/16 16:15:53 AndreasEbbert Exp $
Author:
GillesIachelini

Method Summary
 ApplicationFrame getApplicationFrame()
          Returns the enclosing ApplicationFrame of this Container.
 java.lang.String getName()
          A container has a name.
 void setName(java.lang.String name)
          Sets the name of this container.
 void setSelected(boolean b)
          Sets the selected flag of this container.
 

Method Detail

getName

public java.lang.String getName()
A container has a name. This name can be used for title elements, menu entries or within any other component which refers to this container.

Returns:
the name of the container.

Find more information in the class documentation


setName

public void setName(java.lang.String name)
Sets the name of this container.

Parameters:
name - the new name for this container.

Find more information in the class documentation


getApplicationFrame

public ApplicationFrame getApplicationFrame()
Returns the enclosing ApplicationFrame of this Container.

Returns:
the instance of the enclosing ApplicationFrame.

Find more information in the class documentation


setSelected

public void setSelected(boolean b)
Sets the selected flag of this container.

Parameters:
b - true to indicate that this container is selected.

Find more information in the class documentation



Copyright © 2005 Tensegrity Software GmbH. All Rights Reserved. Date of creation: 09.06.2006.