Class FlatSplitPaneUI

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      protected class  FlatSplitPaneUI.FlatSplitPaneDivider  
      • Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicSplitPaneUI

        javax.swing.plaf.basic.BasicSplitPaneUI.BasicHorizontalLayoutManager, javax.swing.plaf.basic.BasicSplitPaneUI.BasicVerticalLayoutManager, javax.swing.plaf.basic.BasicSplitPaneUI.FocusHandler, javax.swing.plaf.basic.BasicSplitPaneUI.KeyboardDownRightHandler, javax.swing.plaf.basic.BasicSplitPaneUI.KeyboardEndHandler, javax.swing.plaf.basic.BasicSplitPaneUI.KeyboardHomeHandler, javax.swing.plaf.basic.BasicSplitPaneUI.KeyboardResizeToggleHandler, javax.swing.plaf.basic.BasicSplitPaneUI.KeyboardUpLeftHandler, javax.swing.plaf.basic.BasicSplitPaneUI.PropertyHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String arrowType  
      protected java.awt.Color draggingColor  
      private java.util.Map<java.lang.String,​java.lang.Object> oldStyleValues  
      protected java.awt.Color oneTouchArrowColor  
      protected java.awt.Color oneTouchHoverArrowColor  
      protected java.awt.Color oneTouchPressedArrowColor  
      • Fields inherited from class javax.swing.plaf.basic.BasicSplitPaneUI

        beginDragDividerLocation, divider, dividerResizeToggleKey, dividerSize, downKey, draggingHW, endKey, focusListener, homeKey, KEYBOARD_DIVIDER_MOVE_OFFSET, keyboardDownRightListener, keyboardEndListener, keyboardHomeListener, keyboardResizeToggleListener, keyboardUpLeftListener, layoutManager, leftKey, NON_CONTINUOUS_DIVIDER, nonContinuousLayoutDivider, propertyChangeListener, rightKey, splitPane, upKey
    • Constructor Summary

      Constructors 
      Constructor Description
      FlatSplitPaneUI()  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void applyStyle​(java.lang.Object style)  
      protected java.lang.Object applyStyleProperty​(java.lang.String key, java.lang.Object value)  
      javax.swing.plaf.basic.BasicSplitPaneDivider createDefaultDivider()  
      protected java.awt.Component createDefaultNonContinuousLayoutDivider()  
      protected java.beans.PropertyChangeListener createPropertyChangeListener()  
      static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent c)  
      void finishedPaintingChildren​(javax.swing.JSplitPane sp, java.awt.Graphics g)  
      java.util.Map<java.lang.String,​java.lang.Class<?>> getStyleableInfos​(javax.swing.JComponent c)  
      java.lang.Object getStyleableValue​(javax.swing.JComponent c, java.lang.String key)  
      protected void installDefaults()  
      protected void installStyle()  
      void installUI​(javax.swing.JComponent c)  
      java.lang.Boolean isTitleBarCaptionAt​(int x, int y)
      Invoked for a component that is enabled and has mouse listeners, to check whether it processes mouse input at the given x/y location.
      private void paintDragDivider​(java.awt.Graphics g, int dividerLocation)  
      protected void uninstallDefaults()  
      • Methods inherited from class javax.swing.plaf.basic.BasicSplitPaneUI

        createFocusListener, createKeyboardDownRightListener, createKeyboardEndListener, createKeyboardHomeListener, createKeyboardResizeToggleListener, createKeyboardUpLeftListener, dragDividerTo, finishDraggingTo, getDivider, getDividerBorderSize, getDividerLocation, getInsets, getLastDragLocation, getMaximumDividerLocation, getMaximumSize, getMinimumDividerLocation, getMinimumSize, getNonContinuousLayoutDivider, getOrientation, getPreferredSize, getSplitPane, installKeyboardActions, installListeners, isContinuousLayout, paint, resetLayoutManager, resetToPreferredSizes, setContinuousLayout, setDividerLocation, setLastDragLocation, setNonContinuousLayoutDivider, setNonContinuousLayoutDivider, setOrientation, startDragging, uninstallKeyboardActions, uninstallListeners, uninstallUI
      • Methods inherited from class javax.swing.plaf.ComponentUI

        contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, update
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • arrowType

        protected java.lang.String arrowType
      • draggingColor

        protected java.awt.Color draggingColor
        Since:
        3.3
      • oneTouchArrowColor

        protected java.awt.Color oneTouchArrowColor
      • oneTouchHoverArrowColor

        protected java.awt.Color oneTouchHoverArrowColor
      • oneTouchPressedArrowColor

        protected java.awt.Color oneTouchPressedArrowColor
      • oldStyleValues

        private java.util.Map<java.lang.String,​java.lang.Object> oldStyleValues
    • Constructor Detail

      • FlatSplitPaneUI

        public FlatSplitPaneUI()
    • Method Detail

      • createUI

        public static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent c)
      • installUI

        public void installUI​(javax.swing.JComponent c)
        Overrides:
        installUI in class javax.swing.plaf.basic.BasicSplitPaneUI
      • installDefaults

        protected void installDefaults()
        Overrides:
        installDefaults in class javax.swing.plaf.basic.BasicSplitPaneUI
      • uninstallDefaults

        protected void uninstallDefaults()
        Overrides:
        uninstallDefaults in class javax.swing.plaf.basic.BasicSplitPaneUI
      • createPropertyChangeListener

        protected java.beans.PropertyChangeListener createPropertyChangeListener()
        Overrides:
        createPropertyChangeListener in class javax.swing.plaf.basic.BasicSplitPaneUI
      • createDefaultDivider

        public javax.swing.plaf.basic.BasicSplitPaneDivider createDefaultDivider()
        Overrides:
        createDefaultDivider in class javax.swing.plaf.basic.BasicSplitPaneUI
      • installStyle

        protected void installStyle()
        Since:
        2
      • applyStyle

        protected void applyStyle​(java.lang.Object style)
        Since:
        2
      • applyStyleProperty

        protected java.lang.Object applyStyleProperty​(java.lang.String key,
                                                      java.lang.Object value)
        Since:
        2
      • createDefaultNonContinuousLayoutDivider

        protected java.awt.Component createDefaultNonContinuousLayoutDivider()
        Overrides:
        createDefaultNonContinuousLayoutDivider in class javax.swing.plaf.basic.BasicSplitPaneUI
      • finishedPaintingChildren

        public void finishedPaintingChildren​(javax.swing.JSplitPane sp,
                                             java.awt.Graphics g)
        Overrides:
        finishedPaintingChildren in class javax.swing.plaf.basic.BasicSplitPaneUI
      • paintDragDivider

        private void paintDragDivider​(java.awt.Graphics g,
                                      int dividerLocation)
      • isTitleBarCaptionAt

        public java.lang.Boolean isTitleBarCaptionAt​(int x,
                                                     int y)
        Description copied from interface: FlatTitlePane.TitleBarCaptionHitTest
        Invoked for a component that is enabled and has mouse listeners, to check whether it processes mouse input at the given x/y location. Useful for components that do not use mouse input on whole component bounds. E.g. a tabbed pane with a few tabs has some empty space beside the tabs that can be used to move the window.
        Specified by:
        isTitleBarCaptionAt in interface FlatTitlePane.TitleBarCaptionHitTest
        Returns:
        true if the component is not interested in mouse input at the given location false if the component wants process mouse input at the given location null if the component children should be checked
        Since:
        3.4