Class SashComposite

All Implemented Interfaces:
INotifier, Drawable

public abstract class SashComposite extends Composite implements INotifier
Author:
Eike Stepper
  • Constructor Details

    • 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)
      Since:
      3.13
  • Method Details

    • dispose

      public void dispose()
      Overrides:
      dispose in class Widget
      Since:
      2.0
    • addListener

      public void addListener(IListener listener)
      Description copied from interface: 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,

      Specified by:
      addListener in interface INotifier
      Since:
      2.0
    • getListeners

      public IListener[] getListeners()
      Description copied from interface: INotifier
      Returns the listeners that are registered with this notifier.

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

      Specified by:
      getListeners in interface INotifier
      Since:
      2.0
    • hasListeners

      public boolean hasListeners()
      Description copied from interface: INotifier
      Returns true if one or more listeners are registered with this notifier, false otherwise.
      Specified by:
      hasListeners in interface INotifier
      Since:
      2.0
    • removeListener

      public void removeListener(IListener listener)
      Description copied from interface: INotifier
      Removes a listener from this notifier.
      Specified by:
      removeListener in interface INotifier
      Since:
      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)