org.graffiti.plugin.gui
Interface GraffitiComponent

All Known Subinterfaces:
GraffitiContainer
All Known Implementing Classes:
AbstractGraffitiComponent, AbstractGraffitiContainer, GraffitiButton, GraffitiMenu, GraffitiMenuItem, GraffitiToggleButton, GraffitiToolbar, PluginPanel, ToolButton, ToolToolbar

public interface GraffitiComponent

Interface for all GUIComponents used in the editor. Provides the getPreferredComponent() method.

Version:
$Revision: 5768 $

Method Summary
 String getPreferredComponent()
          Returns the id of the component this component should be placed in.
 void setMainFrame(MainFrame mf)
          Sets the mainframe.
 

Method Detail

setMainFrame

void setMainFrame(MainFrame mf)
Sets the mainframe. The component's action can then work on it.

Parameters:
mf - see description.

getPreferredComponent

String getPreferredComponent()
Returns the id of the component this component should be placed in.

Returns:
the id of the component this component should be placed in.


Generated at 2012-05-30 11:00:36 PM CEST