Class SplitLayoutPanel.Splitter

All Implemented Interfaces:
HasAttachHandlers, HasHandlers, EventListener, HasVisibility, IsWidget
Direct Known Subclasses:
SplitLayoutPanel.HSplitter, SplitLayoutPanel.VSplitter
Enclosing class:
SplitLayoutPanel

abstract class SplitLayoutPanel.Splitter extends Widget
  • Field Details

    • target

      protected final Widget target
  • Constructor Details

    • Splitter

      public Splitter(Widget target, boolean reverse)
  • Method Details

    • onBrowserEvent

      public void onBrowserEvent(Event event)
      Description copied from interface: EventListener
      Fired whenever a browser event is received.
      Specified by:
      onBrowserEvent in interface EventListener
      Overrides:
      onBrowserEvent in class Widget
      Parameters:
      event - the event received
    • setMinSize

      public void setMinSize(int minSize)
    • setSnapClosedSize

      public void setSnapClosedSize(int snapClosedSize)
    • setToggleDisplayAllowed

      public void setToggleDisplayAllowed(boolean allowed)
    • getAbsolutePosition

      protected abstract int getAbsolutePosition()
    • getCenterSize

      protected abstract double getCenterSize()
    • getEventPosition

      protected abstract int getEventPosition(Event event)
    • getTargetPosition

      protected abstract int getTargetPosition()
    • getTargetSize

      protected abstract int getTargetSize()