talx x1.0.5

talx.util
Class TALVerticalScrollerUI

java.lang.Object
  extended byjavax.swing.plaf.ComponentUI
      extended byjavax.swing.plaf.ScrollBarUI
          extended byjavax.swing.plaf.basic.BasicScrollBarUI
              extended bytalx.util.TALVerticalScrollerUI
All Implemented Interfaces:
DesktopConstants, java.awt.LayoutManager, javax.swing.SwingConstants

public class TALVerticalScrollerUI
extends javax.swing.plaf.basic.BasicScrollBarUI
implements DesktopConstants

TALHorizontalScrollerUI defines a custom look and feel for vertical scroll bars in TAL.


Nested Class Summary
 
Nested classes 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, incrButton, INCREASE_HIGHLIGHT, isDragging, maximumThumbSize, minimumThumbSize, modelListener, NO_HIGHLIGHT, propertyChangeListener, scrollbar, scrollListener, scrollTimer, thumbColor, thumbDarkShadowColor, thumbHighlightColor, thumbLightShadowColor, thumbRect, trackColor, trackHighlight, trackHighlightColor, trackListener, trackRect
 
Fields inherited from interface talx.util.DesktopConstants
ARROW_IMAGES, COVER_LAYER_OFFSET, DIALOG_LAYER_OFFSET, DOWN_ARROW, DOWN_TRIANGLE, DOWN_WORD_EN, INFO_ICON, INFO_LAYER_OFFSET, POINTER_LAYER_OFFSET, QUESTION_ICON, UP_ARROW, UP_TRIANGLE, UP_WORD_EN
 
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
TALVerticalScrollerUI(ShallowSettings settings)
          Creates a scrollbar with given Settings.
 
Method Summary
protected  void configureScrollBarColors()
           
protected  javax.swing.JButton createDecreaseButton(int orientation)
           
protected  javax.swing.JButton createIncreaseButton(int orientation)
           
 javax.swing.JButton getDownButton()
           
 java.awt.Dimension getPreferredSize(javax.swing.JComponent c)
           
 javax.swing.JButton getUpButton()
           
 void installUI(javax.swing.JComponent c)
           
 
Methods inherited from class javax.swing.plaf.basic.BasicScrollBarUI
addLayoutComponent, createArrowButtonListener, createModelListener, createPropertyChangeListener, createScrollListener, createTrackListener, createUI, getMaximumSize, getMaximumThumbSize, getMinimumSize, getMinimumThumbSize, getThumbBounds, getTrackBounds, installComponents, installDefaults, installKeyboardActions, installListeners, layoutContainer, layoutHScrollbar, layoutVScrollbar, minimumLayoutSize, paint, paintDecreaseHighlight, paintIncreaseHighlight, paintThumb, paintTrack, preferredLayoutSize, removeLayoutComponent, scrollByBlock, scrollByUnit, setThumbBounds, uninstallComponents, uninstallDefaults, uninstallKeyboardActions, uninstallListeners, uninstallUI
 
Methods inherited from class javax.swing.plaf.ComponentUI
contains, getAccessibleChild, getAccessibleChildrenCount, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TALVerticalScrollerUI

public TALVerticalScrollerUI(ShallowSettings settings)
Creates a scrollbar with given Settings. The class will set the width, thumb color, and up and down button text according to settings.

Method Detail

configureScrollBarColors

protected void configureScrollBarColors()

createIncreaseButton

protected javax.swing.JButton createIncreaseButton(int orientation)

createDecreaseButton

protected javax.swing.JButton createDecreaseButton(int orientation)

getPreferredSize

public java.awt.Dimension getPreferredSize(javax.swing.JComponent c)

getUpButton

public javax.swing.JButton getUpButton()

getDownButton

public javax.swing.JButton getDownButton()

installUI

public void installUI(javax.swing.JComponent c)

talx x1.0.5

© 2001-2005 University of Oregon.
Eugene OR 97403, U.S.A. All Rights Reserved.