public class DecisionBox
extends org.eclipse.swt.widgets.Composite
| Constructor and Description |
|---|
DecisionBox(org.eclipse.swt.widgets.Composite parent,
DecisionManager decisionManager,
org.eclipse.swt.graphics.Color color,
VisualConflict conflict)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
VisualConflict |
getConflict()
Returns the conflict of the box.
|
DecisionManager |
getDecisionManager()
Returns the decisionmanager.
|
void |
layoutPage(int heightSizeChange)
Relayouts the box.
|
void |
setSolution(ConflictOption option)
Set the solution of this conflict.
|
changed, computeSize, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabListcomputeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBaraddControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, updatepublic DecisionBox(org.eclipse.swt.widgets.Composite parent,
DecisionManager decisionManager,
org.eclipse.swt.graphics.Color color,
VisualConflict conflict)
parent - parentdecisionManager - decisionManagercolor - background colorconflict - the conflictpublic DecisionManager getDecisionManager()
public void setSolution(ConflictOption option)
option - the optionpublic void layoutPage(int heightSizeChange)
heightSizeChange - size deltapublic VisualConflict getConflict()
Copyright © 2017. All rights reserved.