org.argosfields.widget
Class UnitView

java.lang.Object
  extended byorg.eclipse.swt.widgets.Widget
      extended byorg.eclipse.swt.widgets.Control
          extended byorg.eclipse.swt.widgets.Scrollable
              extended byorg.eclipse.swt.widgets.Composite
                  extended byorg.eclipse.swt.widgets.Canvas
                      extended byorg.argosfields.widget.UnitView
All Implemented Interfaces:
org.eclipse.swt.graphics.Drawable

public class UnitView
extends org.eclipse.swt.widgets.Canvas

UnitView.java

Version:
$Revision: 1.3 $ $Date: 2003/12/01 07:38:04 $
Author:
Xavier Cho

Field Summary
 
Fields inherited from class org.eclipse.swt.widgets.Composite
embeddedHandle
 
Fields inherited from class org.eclipse.swt.widgets.Widget
handle
 
Constructor Summary
UnitView(org.eclipse.swt.widgets.Composite parent, int style)
           
 
Method Summary
 org.eclipse.swt.graphics.Point computeSize(int wHint, int hHint)
           
protected  Unit getUnit()
           
protected  void setUnit(Unit unit)
           
 
Methods inherited from class org.eclipse.swt.widgets.Canvas
getCaret, scroll, setCaret, setFont
 
Methods inherited from class org.eclipse.swt.widgets.Composite
checkSubclass, computeSize, getChildren, getLayout, getTabList, layout, layout, setFocus, setLayout, setTabList
 
Methods inherited from class org.eclipse.swt.widgets.Scrollable
computeTrim, getBorderWidth, getClientArea, getHorizontalBar, getVerticalBar
 
Methods inherited from class org.eclipse.swt.widgets.Control
addControlListener, addFocusListener, addHelpListener, addKeyListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addPaintListener, addTraverseListener, forceFocus, getAccessible, getBackground, getBounds, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getParent, getShell, getSize, getToolTipText, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, redraw, redraw, removeControlListener, removeFocusListener, removeHelpListener, removeKeyListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removePaintListener, removeTraverseListener, setBackground, setBounds, setBounds, setCapture, setCursor, setEnabled, setForeground, setLayoutData, setLocation, setLocation, setMenu, setParent, setRedraw, setSize, setSize, setToolTipText, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, update
 
Methods inherited from class org.eclipse.swt.widgets.Widget
addDisposeListener, addListener, checkWidget, dispose, getData, getData, getDisplay, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, setData, setData, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UnitView

public UnitView(org.eclipse.swt.widgets.Composite parent,
                int style)
Parameters:
parent -
style -
Method Detail

computeSize

public org.eclipse.swt.graphics.Point computeSize(int wHint,
                                                  int hHint)
See Also:
Control.computeSize(int, int)

getUnit

protected Unit getUnit()
Returns:
Returns the unit.

setUnit

protected void setUnit(Unit unit)
Parameters:
unit - The unit to set.


Copyright © Gnome Korea. All Rights Reserved.