Class SWTSkinObjectSash

    • Field Detail

      • 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:
        Constant Field Values
      • sControlBefore

        protected java.lang.String sControlBefore
      • sControlAfter

        protected java.lang.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 java.lang.String sBorder
    • Constructor Detail

      • SWTSkinObjectSash

        public SWTSkinObjectSash​(SWTSkin skin,
                                 SWTSkinProperties properties,
                                 java.lang.String sID,
                                 java.lang.String sConfigID,
                                 java.lang.String[] typeParams,
                                 SWTSkinObject parent,
                                 boolean bVertical)
    • Method Detail

      • initialize

        protected void initialize()
        Since:
        3.1.0.1
      • 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)