net.beeger.squareness.delegate
Class SquarenessScrollBarUI

java.lang.Object
  extended by javax.swing.plaf.ComponentUI
      extended by javax.swing.plaf.ScrollBarUI
          extended by javax.swing.plaf.basic.BasicScrollBarUI
              extended by net.beeger.squareness.delegate.SquarenessScrollBarUI
All Implemented Interfaces:
java.awt.LayoutManager, javax.swing.SwingConstants

public class SquarenessScrollBarUI
extends javax.swing.plaf.basic.BasicScrollBarUI

The Squareness Scroll Bar UI delegate.


Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.plaf.basic.BasicScrollBarUI
javax.swing.plaf.basic.BasicScrollBarUI.PropertyChangeHandler
 
Field Summary
 
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
SquarenessScrollBarUI()
           
 
Method Summary
static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent component)
          Create the ui delegate for the given component
 void installUI(javax.swing.JComponent component)
          Install this UI delegate for the given component.
 void uninstallUI(javax.swing.JComponent component)
          Uninstall this UI delegate from the given component.
 
Methods inherited from class javax.swing.plaf.basic.BasicScrollBarUI
addLayoutComponent, getMaximumSize, getPreferredSize, getSupportsAbsolutePositioning, isThumbRollover, layoutContainer, minimumLayoutSize, paint, preferredLayoutSize, removeLayoutComponent
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, getBaseline, getBaselineResizeBehavior, getMinimumSize, update
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SquarenessScrollBarUI

public SquarenessScrollBarUI()
Method Detail

createUI

public static javax.swing.plaf.ComponentUI createUI(javax.swing.JComponent component)
Create the ui delegate for the given component

Parameters:
component - The component for which to create the ui delegate
Returns:
The created ui delegate

installUI

public void installUI(javax.swing.JComponent component)
Install this UI delegate for the given component.

Overrides:
installUI in class javax.swing.plaf.basic.BasicScrollBarUI
Parameters:
component - The component to install this UI delegate for,.

uninstallUI

public void uninstallUI(javax.swing.JComponent component)
Uninstall this UI delegate from the given component.

Overrides:
uninstallUI in class javax.swing.plaf.basic.BasicScrollBarUI
Parameters:
component - The component to uninstall this UI delegate from.