com.tensegrity.gui.component
Interface BasicComponent

All Superinterfaces:
Evaluable
All Known Subinterfaces:
Applet, AttributeTable, AttributeTree, Frame, GraphPanel, Menu, MenuBar, ObjectTreePanel, PopupMenuMarkup, StatusBar, ToolBar
All Known Implementing Classes:
AppletStatusBar, CopyOfSwtAttributeTable, ExtendedJFrame, ExtendedShell, PopupMenu, SwingApplet, SwingAttributeTable, SwingAttributeTree, SwingGraphPanel, SwingMenu, SwingMenuBar, SwingObjectTreePanel, SwingStatusBar, SwingToolBar, SwtAttributeTree, SwtGraphPanel, SwtMenuBar, SwtPopupMenu, SwtToolBar

public interface BasicComponent
extends Evaluable

This class specifies a basic user interface component which is Evaluable, has a size and is able to repaint itself. This functionality represents the base responsibility for all derived BaseComponent interfaces, each of which contains more specific behavior.

Class Diagram BasicComponent

Version:
$Id: BasicComponent.java,v 1.9 2005/06/16 16:14:51 AndreasEbbert Exp $
Author:
Stepan Rutz

Method Summary
 int getHeight()
          Returns the height of the component in pixels.
 BasicComponent getParentComponent()
          Returns the parent Component of this instance.
 int getWidth()
          Returns the width of the component in pixels.
 void repaint()
          Triggers a repaint.
 
Methods inherited from interface com.tensegrity.gui.Evaluable
applyEvList, installEvList
 

Method Detail

getWidth

public int getWidth()
Returns the width of the component in pixels.

Returns:
the width of the component in pixels.

Find more information in the class documentation


getHeight

public int getHeight()
Returns the height of the component in pixels.

Returns:
the height of the component in pixels.

Find more information in the class documentation


repaint

public void repaint()
Triggers a repaint.

Find more information in the class documentation


getParentComponent

public BasicComponent getParentComponent()
Returns the parent Component of this instance.

Returns:
the parent component or null if no parent exists.

Find more information in the class documentation



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