com.tensegrity.skeleton.container
Interface ToolContainer

All Superinterfaces:
Container
All Known Implementing Classes:
AbstractSwingToolContainer, AbstractSwtToolContainer

public interface ToolContainer
extends Container

A ToolContainer is used as Container for any kind of tools used in an application, for example Repositories, AttributeTables, Navigators and so on. Such a ToolContainer as a size (width, height) and can be manually repainted. Each ToolContainer is able to retrieve the application frame in which it is embedded. This is useful to trigger an update cycle.

Version:
$Id: ToolContainer.java,v 1.8 2004/02/27 14:17:15 GillesIachelini Exp $
Author:
GillesIachelini
See Also:
AttributeTableContainer, LayoutToolsContainer, NavigatorContainer, OutlinerContainer, RepositoryContainer

Method Summary
 int getHeight()
          Returns the width in pixel of this container.
 int getWidth()
          Returns the width in pixel of this container.
 void repaint()
          This might be called users to trigger a visual update of the ToolContainer.
 
Methods inherited from interface com.tensegrity.gui.container.Container
getApplicationFrame, getName, setName, setSelected
 

Method Detail

getWidth

public int getWidth()
Returns the width in pixel of this container.

Returns:
int

getHeight

public int getHeight()
Returns the width in pixel of this container.

Returns:
int

repaint

public void repaint()
This might be called users to trigger a visual update of the ToolContainer.



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