Class TIKScrollBarUI

java.lang.Object
javax.swing.plaf.ComponentUI
javax.swing.plaf.ScrollBarUI
javax.swing.plaf.basic.BasicScrollBarUI
com.moneydance.awt.TIKScrollBarUI
All Implemented Interfaces:
java.awt.LayoutManager, javax.swing.SwingConstants

public class TIKScrollBarUI
extends javax.swing.plaf.basic.BasicScrollBarUI
  • Nested Class Summary

    Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicScrollBarUI

    javax.swing.plaf.basic.BasicScrollBarUI.ArrowButtonListener, javax.swing.plaf.basic.BasicScrollBarUI.ModelListener, javax.swing.plaf.basic.BasicScrollBarUI.PropertyChangeHandler, javax.swing.plaf.basic.BasicScrollBarUI.ScrollListener, javax.swing.plaf.basic.BasicScrollBarUI.TrackListener
  • Field Summary

    Fields inherited from class javax.swing.plaf.basic.BasicScrollBarUI

    buttonListener, decrButton, DECREASE_HIGHLIGHT, decrGap, incrButton, INCREASE_HIGHLIGHT, incrGap, isDragging, maximumThumbSize, minimumThumbSize, modelListener, NO_HIGHLIGHT, propertyChangeListener, scrollbar, scrollBarWidth, scrollListener, scrollTimer, thumbColor, thumbDarkShadowColor, thumbHighlightColor, thumbLightShadowColor, thumbRect, trackHighlight, trackHighlightColor, trackListener, trackRect

    Fields inherited from interface javax.swing.SwingConstants

    BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST
  • Constructor Summary

    Constructors 
    Constructor Description
    TIKScrollBarUI​(javax.swing.JComponent mainViewport)  
  • Method Summary

    Modifier and Type Method Description
    static void addMouseListenerToSubviews​(java.awt.Container container, java.awt.event.MouseListener ml)  
    protected javax.swing.JButton createDecreaseButton​(int orientation)  
    protected javax.swing.JButton createIncreaseButton​(int orientation)  
    static javax.swing.plaf.ComponentUI createUI​(javax.swing.JComponent c)  
    protected java.awt.Dimension getMinimumThumbSize()  
    java.awt.Dimension getPreferredSize​(javax.swing.JComponent c)  
    java.awt.Color getTrackColor()  
    protected void paintThumb​(java.awt.Graphics g, javax.swing.JComponent c, java.awt.Rectangle bounds)  
    protected void paintTrack​(java.awt.Graphics graphics, javax.swing.JComponent c, java.awt.Rectangle trackBounds)  
    void setTrackColor​(java.awt.Color trackColor)  
    static void setupMouseListenerToAutoHideScrollBar​(javax.swing.JComponent containerView, javax.swing.JScrollPane scrollPane, TIKScrollBarUI scrollBarUI)  
    void setVisible​(boolean newVisibility)  

    Methods inherited from class javax.swing.plaf.basic.BasicScrollBarUI

    addLayoutComponent, configureScrollBarColors, createArrowButtonListener, createModelListener, createPropertyChangeListener, createScrollListener, createTrackListener, getMaximumSize, getMaximumThumbSize, getSupportsAbsolutePositioning, getThumbBounds, getTrackBounds, installComponents, installDefaults, installKeyboardActions, installListeners, installUI, isThumbRollover, layoutContainer, layoutHScrollbar, layoutVScrollbar, minimumLayoutSize, paint, paintDecreaseHighlight, paintIncreaseHighlight, preferredLayoutSize, removeLayoutComponent, scrollByBlock, scrollByUnit, setThumbBounds, setThumbRollover, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI

    Methods inherited from class javax.swing.plaf.ComponentUI

    contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMinimumSize, update

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TIKScrollBarUI

      public TIKScrollBarUI​(javax.swing.JComponent mainViewport)
  • Method Details

    • getMinimumThumbSize

      protected java.awt.Dimension getMinimumThumbSize()
      Overrides:
      getMinimumThumbSize in class javax.swing.plaf.basic.BasicScrollBarUI
    • createUI

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

      public java.awt.Dimension getPreferredSize​(javax.swing.JComponent c)
      Overrides:
      getPreferredSize in class javax.swing.plaf.basic.BasicScrollBarUI
    • setVisible

      public void setVisible​(boolean newVisibility)
    • createDecreaseButton

      protected javax.swing.JButton createDecreaseButton​(int orientation)
      Overrides:
      createDecreaseButton in class javax.swing.plaf.basic.BasicScrollBarUI
    • createIncreaseButton

      protected javax.swing.JButton createIncreaseButton​(int orientation)
      Overrides:
      createIncreaseButton in class javax.swing.plaf.basic.BasicScrollBarUI
    • paintTrack

      protected void paintTrack​(java.awt.Graphics graphics, javax.swing.JComponent c, java.awt.Rectangle trackBounds)
      Overrides:
      paintTrack in class javax.swing.plaf.basic.BasicScrollBarUI
    • paintThumb

      protected void paintThumb​(java.awt.Graphics g, javax.swing.JComponent c, java.awt.Rectangle bounds)
      Overrides:
      paintThumb in class javax.swing.plaf.basic.BasicScrollBarUI
    • getTrackColor

      public java.awt.Color getTrackColor()
    • setTrackColor

      public void setTrackColor​(java.awt.Color trackColor)
    • setupMouseListenerToAutoHideScrollBar

      public static void setupMouseListenerToAutoHideScrollBar​(javax.swing.JComponent containerView, javax.swing.JScrollPane scrollPane, TIKScrollBarUI scrollBarUI)
    • addMouseListenerToSubviews

      public static void addMouseListenerToSubviews​(java.awt.Container container, java.awt.event.MouseListener ml)