eu.geclipse.ui.visualisation
Class VisComposite
java.lang.Object
Composite
eu.geclipse.ui.visualisation.VisComposite
public class VisComposite
- extends Composite
This class is simply an SWT Composite enhanced by the org.eclipse.swt.awt.SWT_AWT
bridge class, which makes it possible to embed AWT components in SWT and vice versa.
VisComposite contains SWT Composite and an an AWT Frame. After initialization of the
SWT Composite, the AWT Frame gets initialized through the bridge class, using the
SWT Composite as its parent. The subclasses of AbstractVisualisationWindow can then
make use of the addToAWTFrame methods to readily assign their graphical components
or a heavy weight component like the Canvas to this frame.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VisComposite
public VisComposite(Composite vis,
int style)
- Parameters:
vis - style -
addToAWTFrame
public void addToAWTFrame(java.awt.Canvas panel)
- Parameters:
panel -
addToAWTFrame
public void addToAWTFrame(java.awt.Component panel)
- Parameters:
panel -
dispose
public void dispose()
setStatsLabel
public void setStatsLabel(Label statsLabel)
- Parameters:
statsLabel -
getStatsLabel
public Label getStatsLabel()
- Returns: