|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.swt.widgets.Widget org.eclipse.swt.widgets.Control org.eclipse.swt.widgets.Scrollable org.eclipse.swt.widgets.Composite org.eclipse.swt.widgets.Canvas org.argosfields.battlefield.BattleFieldView
BattleFieldView.java
Field Summary |
Fields inherited from class org.eclipse.swt.widgets.Composite |
embeddedHandle |
Fields inherited from class org.eclipse.swt.widgets.Widget |
handle |
Constructor Summary | |
BattleFieldView(org.eclipse.swt.widgets.Composite parent,
int style)
|
Method Summary | |
org.eclipse.swt.graphics.Point |
computeSize(int wHint,
int hHint)
|
BattleField |
getBattleField()
|
protected org.eclipse.swt.graphics.Image |
getGrayMapImage()
|
protected org.eclipse.swt.graphics.Image |
getMapImage()
|
int |
getSelectedIndex()
|
Unit |
getSelectedUnit()
|
void |
setBattleField(BattleField field)
|
void |
setSelectedIndex(int selectedIndex)
|
protected void |
updateMapImages()
|
protected void |
updateMapImages(int index)
|
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 |
public BattleFieldView(org.eclipse.swt.widgets.Composite parent, int style)
parent
- style
- Method Detail |
public Unit getSelectedUnit()
public int getSelectedIndex()
public void setSelectedIndex(int selectedIndex)
protected org.eclipse.swt.graphics.Image getGrayMapImage()
protected org.eclipse.swt.graphics.Image getMapImage()
public BattleField getBattleField()
public void setBattleField(BattleField field)
field
- public org.eclipse.swt.graphics.Point computeSize(int wHint, int hHint)
Control.computeSize(int, int)
protected void updateMapImages()
protected void updateMapImages(int index)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |