Package org.eclipse.net4j.util.ui.widgets

# Klasse SashComposite

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.net4j.util.ui.widgets.SashComposite

Alle implementierten Schnittstellen:
  `INotifier`, `Drawable`

public abstract class SashComposite extends Composite implements INotifier

Autor:
  Eike Stepper

## Verschachtelte Klassen - Übersicht

Verschachtelte Klassen
Modifizierer und Typ
Klasse
Beschreibung
`class`
`SashComposite.OrientationChangedEvent`

## Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.eclipse.net4j.util.event.INotifier

`INotifier.INotifier2`

## Feldübersicht

### Von Klasse geerbte Felder org.eclipse.swt.widgets.Control

`handle`

### Von Klasse geerbte Felder org.eclipse.swt.widgets.Widget

`nativeZoom`

## Konstruktorübersicht

Konstruktoren
Konstruktor
Beschreibung
`SashComposite(Composite parent, int style, int limit, int percent)`
`SashComposite(Composite parent, int style, int limit, int percent, boolean borders)`
`SashComposite(Composite parent, int style, int limit, int percent, boolean borders, boolean vertical, boolean showBand)`

## Methodenübersicht

Modifizierer und Typ
Methode
Beschreibung
`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)`

### Von Klasse geerbte Methoden org.eclipse.swt.widgets.Composite

`changed, checkSubclass, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList, toString`

### Von Klasse geerbte Methoden org.eclipse.swt.widgets.Scrollable

`computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar, setScrollbarsMode`

### Von Klasse geerbte Methoden org.eclipse.swt.widgets.Control

`addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, 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, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update`

### Von Klasse geerbte Methoden org.eclipse.swt.widgets.Widget

`addDisposeListener, addListener, addTypedListener, checkWidget, getData, getData, getDisplay, getListeners, getStyle, getTypedListeners, isAutoDirection, isDisposed, isListening, notifyListeners, removeDisposeListener, removeListener, removeListener, removeListener, removeTypedListener, reskin, setData, setData`

### Von Klasse geerbte Methoden java.lang.Object

`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

### Von Schnittstelle geerbte Methoden org.eclipse.swt.graphics.Drawable

`isAutoScalable`

## Konstruktordetails

### SashComposite

public SashComposite(Composite parent, int style, int limit, int percent)

### SashComposite

public SashComposite(Composite parent, int style, int limit, int percent, boolean borders)

### SashComposite

public SashComposite(Composite parent, int style, int limit, int percent, boolean borders, boolean vertical, boolean showBand)

Seit:
  3.13

## Methodendetails

### dispose

public void dispose()

Setzt außer Kraft:
  `dispose` in Klasse `Widget`
Seit:
  2.0

### addListener

public void addListener(IListener listener)
Beschreibung aus Schnittstelle kopiert: `INotifier`
Adds a listener to this notifier.

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,

Angegeben von:
  `addListener` in Schnittstelle `INotifier`
Seit:
  2.0

### getListeners

public IListener[] getListeners()
Beschreibung aus Schnittstelle kopiert: `INotifier`
Returns the listeners that are registered with this notifier.

Depending on the implementation duplicate listeners may be contained in the returned array.

Angegeben von:
  `getListeners` in Schnittstelle `INotifier`
Seit:
  2.0

### hasListeners

public boolean hasListeners()
Beschreibung aus Schnittstelle kopiert: `INotifier`
Returns `true` if one or more listeners are registered with this notifier, `false` otherwise.

Angegeben von:
  `hasListeners` in Schnittstelle `INotifier`
Seit:
  2.0

### removeListener

public void removeListener(IListener listener)
Beschreibung aus Schnittstelle kopiert: `INotifier`
Removes a listener from this notifier.

Angegeben von:
  `removeListener` in Schnittstelle `INotifier`
Seit:
  2.0

### isVertical

public boolean isVertical()

### setVertical

public void setVertical(boolean vertical)

### getSash

public Sash getSash()

### getControl1

public Control getControl1()

### getControl2

public Control getControl2()

### init

protected void init()

### swap

protected void swap()

### swap

protected void swap(FormData formData)

### createSash

protected Sash createSash(Composite parent)

### createControl1

protected abstract Control createControl1(Composite parent)

### createControl2

protected abstract Control createControl2(Composite parent)