de.grogra.pf.ui
Interface Context

All Known Subinterfaces:
ChartPanel, Console, JobManager, Panel, TextEditor, Window
All Known Implementing Classes:
ActionEditEvent, ClickEvent, DragEvent, DragEvent3D, EditEvent, IMPJobManager, IMPWorkbench, InputEditEvent, MouseEditEvent, PanelDecorator, UIPropertyEditEvent, View, View3D, ViewSelectionChanged, Workbench

public interface Context

A Context represents some object in the context of the graphical user interface. It knows its containing workbench, window, panel, and component.

Author:
Ole Kniemeyer

Method Summary
 java.lang.Object getComponent()
          Determines the GUI component of this GUI context.
 Panel getPanel()
          Determines the panel of this GUI context.
 Window getWindow()
          Determines the window of this GUI context.
 Workbench getWorkbench()
          Determines the workbench of this GUI context.
 

Method Detail

getComponent

java.lang.Object getComponent()
Determines the GUI component of this GUI context.

Returns:
this context's component

getPanel

Panel getPanel()
Determines the panel of this GUI context.

Returns:
this context's panel

getWindow

Window getWindow()
Determines the window of this GUI context.

Returns:
this context's window

getWorkbench

Workbench getWorkbench()
Determines the workbench of this GUI context.

Returns:
this context's workbench