Modifier and Type | Class and Description |
---|---|
class |
SashComposite.OrientationChangedEvent |
Constructor and Description |
---|
SashComposite(Composite parent,
int style,
int limit,
int percent) |
SashComposite(Composite parent,
int style,
int limit,
int percent,
boolean borders) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(IListener listener)
Adds a listener to this notifier.
|
protected abstract Control |
createControl1(Composite parent) |
protected abstract Control |
createControl2(Composite parent) |
protected Sash |
createSash(Composite parent) |
void |
dispose() |
Control |
getControl1() |
Control |
getControl2() |
IListener[] |
getListeners()
Returns the listeners that are registered with this notifier.
|
Sash |
getSash() |
boolean |
hasListeners()
Returns
true if one or more listeners are registered with this notifier, false otherwise. |
protected void |
init() |
boolean |
isVertical() |
void |
removeListener(IListener listener)
Removes a listener from this notifier.
|
void |
setVertical(boolean vertical) |
protected void |
swap() |
protected void |
swap(FormData formData) |
changed, checkSubclass, computeSize, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar
addControlListener, 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, update
addDisposeListener, addListener, checkWidget, getData, getData, getDisplay, getListeners, getStyle, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, reskin, setData, setData, toString
public SashComposite(Composite parent, int style, int limit, int percent)
public SashComposite(Composite parent, int style, int limit, int percent, boolean borders)
public void addListener(IListener listener)
INotifier
Depending on the implementation duplicate listeners may lead to duplicate event delivery or not. Implementors are encouraged to prevent events from being delivered more than once to the same listener,
addListener
in interface INotifier
public IListener[] getListeners()
INotifier
Depending on the implementation duplicate listeners may be contained in the returned array.
getListeners
in interface INotifier
public boolean hasListeners()
INotifier
true
if one or more listeners are registered with this notifier, false
otherwise.hasListeners
in interface INotifier
public void removeListener(IListener listener)
INotifier
removeListener
in interface INotifier
public boolean isVertical()
public void setVertical(boolean vertical)
public Sash getSash()
public Control getControl1()
public Control getControl2()
protected void init()
protected void swap()
protected void swap(FormData formData)
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.