Class SWTSkinObjectSash

java.lang.Object
com.biglybt.ui.swt.skin.SWTSkinObjectBasic
com.biglybt.ui.swt.skin.SWTSkinObjectSash
All Implemented Interfaces:
ObfuscateImage, PluginUISWTSkinObject, SWTSkinObject, EventListener, org.eclipse.swt.events.PaintListener, org.eclipse.swt.internal.SWTEventListener

public class SWTSkinObjectSash extends SWTSkinObjectBasic

Parameters:

.startpos
Position in pixels of where to start the sash by default
  • Field Details

    • FASTDRAG

      private static final boolean FASTDRAG
      Fast Drag disables resizing left and right sides on each mouse move (when mouse is down) Two problems with disabling FASTDRAG: 1) The places we use the sash currently have very slow re-rendering 2) when the user drags out of bounds (minsize, etc), and we set doit to false. When the user lifts up the mouse button, we get one selection event at the old position (because we cancelled) #2 can be fixed... #1 not so much..
      See Also:
    • sControlBefore

      protected String sControlBefore
    • sControlAfter

      protected String sControlAfter
    • createOn

      private org.eclipse.swt.widgets.Composite createOn
    • isVertical

      private final boolean isVertical
    • sash

      private org.eclipse.swt.widgets.Sash sash
    • parentComposite

      private org.eclipse.swt.widgets.Composite parentComposite
    • above

      private org.eclipse.swt.widgets.Composite above
    • aboveMin

      private int aboveMin
    • below

      private org.eclipse.swt.widgets.Composite below
    • belowMin

      private int belowMin
    • sBorder

      private String sBorder
    • soAbove

      private SWTSkinObject soAbove
    • soBelow

      private SWTSkinObject soBelow
  • Constructor Details

  • Method Details

    • initialize

      protected void initialize()
      Since:
      3.1.0.1
    • dispose

      public void dispose()
      Specified by:
      dispose in interface SWTSkinObject
      Overrides:
      dispose in class SWTSkinObjectBasic
    • handleShow

      protected void handleShow()
      Parameters:
      e -
      Since:
      3.1.0.1
    • setBelowSize

      private void setBelowSize(int px)
      Parameters:
      below -
      bVertical -
      parentComposite -
      sash -
      above -
    • isAboveVisible

      public boolean isAboveVisible()
    • setAboveVisible

      public void setAboveVisible(boolean visible)