public class PuristicScrollPane.PuristicScrollBar extends ScrollBar
ScrollBar
with no thumb and non-opaque buttons.ScrollBar.ThumbDragger
Figure.FigureIterator, Figure.IdentitySearch
IFigure.NoInsets
MAX_FLAG, thumbDragger, transposer
bgColor, border, bounds, fgColor, flags, font, maxSize, minSize, NO_MANAGER, prefSize, toolTip
HORIZONTAL, VERTICAL
ALWAYS_LEFT, ALWAYS_RIGHT, BOTTOM, CENTER, EAST, EAST_WEST, LEFT, LEFT_CENTER_RIGHT, MIDDLE, NONE, NORTH, NORTH_EAST, NORTH_SOUTH, NORTH_WEST, NSEW, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TOP_MIDDLE_BOTTOM, WEST
MAX_DIMENSION, MIN_DIMENSION, NO_INSETS
Constructor and Description |
---|
PuristicScrollBar(boolean isHorizontal)
Instantiates a new transparent scroll bar.
|
Modifier and Type | Method and Description |
---|---|
protected Clickable |
createDefaultDownButton()
Creates the default 'Down' ArrowButton for the ScrollBar.
|
protected IFigure |
createDefaultThumb()
Creates the Scrollbar's "thumb", the draggable Figure that indicates the
Scrollbar's position.
|
protected Clickable |
createDefaultUpButton()
Creates the default 'Up' ArrowButton for the ScrollBar.
|
protected Clickable |
createPageDown()
Creates the pagedown Figure for the Scrollbar.
|
protected Clickable |
createPageUp()
Creates the pageup Figure for the Scrollbar.
|
void |
propertyChange(java.beans.PropertyChangeEvent event) |
getButtonDown, getButtonUp, getExtent, getMaximum, getMinimum, getPageDown, getPageIncrement, getPageUp, getRangeModel, getStepIncrement, getThumb, getValue, getValueRange, initialize, isHorizontal, revalidate, setDirection, setDownClickable, setEnabled, setExtent, setHorizontal, setMaximum, setMinimum, setOrientation, setPageDown, setPageIncrement, setPageUp, setRangeModel, setStepIncrement, setThumb, setUpClickable, setValue, stepDown, stepUp
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findDescendantAtExcluding, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, findMouseEventTargetInDescendantsAt, fireCoordinateSystemChanged, fireFigureMoved, fireMoved, firePropertyChange, firePropertyChange, firePropertyChange, getBackgroundColor, getBorder, getBounds, getChildren, getClientArea, getClientArea, getClippingStrategy, getCursor, getFlag, getFont, getForegroundColor, getInsets, getLayoutManager, getListeners, getLocalBackgroundColor, getLocalFont, getLocalForegroundColor, getLocation, getMaximumSize, getMinimumSize, getMinimumSize, getParent, getPreferredSize, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, internalGetEventDispatcher, intersects, invalidate, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isMouseEventTarget, isOpaque, isRequestFocusEnabled, isShowing, isValid, isValidationRoot, isVisible, layout, paint, paintBorder, paintChildren, paintClientArea, paintFigure, primTranslate, remove, removeAll, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, setBackgroundColor, setBorder, setBounds, setChildrenDirection, setChildrenEnabled, setChildrenOrientation, setClippingStrategy, setConstraint, setCursor, setFlag, setFocusTraversable, setFont, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setValid, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, useLocalCoordinates, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, add, add, add, addAncestorListener, addCoordinateListener, addFigureListener, addFocusListener, addKeyListener, addLayoutListener, addMouseListener, addMouseMotionListener, addNotify, addPropertyChangeListener, addPropertyChangeListener, containsPoint, containsPoint, erase, findFigureAt, findFigureAt, findFigureAt, findFigureAtExcluding, findMouseEventTargetAt, getBackgroundColor, getBorder, getBounds, getChildren, getClientArea, getClientArea, getClippingStrategy, getCursor, getFont, getForegroundColor, getInsets, getLayoutManager, getLocalBackgroundColor, getLocalForegroundColor, getMaximumSize, getMinimumSize, getMinimumSize, getParent, getPreferredSize, getPreferredSize, getSize, getToolTip, getUpdateManager, handleFocusGained, handleFocusLost, handleKeyPressed, handleKeyReleased, handleMouseDoubleClicked, handleMouseDragged, handleMouseEntered, handleMouseExited, handleMouseHover, handleMouseMoved, handleMousePressed, handleMouseReleased, hasFocus, internalGetEventDispatcher, intersects, invalidate, invalidateTree, isCoordinateSystem, isEnabled, isFocusTraversable, isMirrored, isOpaque, isRequestFocusEnabled, isShowing, isVisible, paint, remove, removeAncestorListener, removeCoordinateListener, removeFigureListener, removeFocusListener, removeKeyListener, removeLayoutListener, removeMouseListener, removeMouseMotionListener, removeNotify, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, requestFocus, setBackgroundColor, setBorder, setBounds, setClippingStrategy, setConstraint, setCursor, setFocusTraversable, setFont, setForegroundColor, setLayoutManager, setLocation, setMaximumSize, setMinimumSize, setOpaque, setParent, setPreferredSize, setRequestFocusEnabled, setSize, setSize, setToolTip, setVisible, translate, translateFromParent, translateToAbsolute, translateToParent, translateToRelative, validate
public PuristicScrollBar(boolean isHorizontal)
isHorizontal
- whether this scroll bar is used as a horizontal one.protected Clickable createDefaultDownButton()
ScrollBar
createDefaultDownButton
in class ScrollBar
ScrollBar.createDefaultDownButton()
protected IFigure createDefaultThumb()
ScrollBar
createDefaultThumb
in class ScrollBar
ScrollBar.createDefaultThumb()
protected Clickable createDefaultUpButton()
ScrollBar
createDefaultUpButton
in class ScrollBar
ScrollBar.createDefaultUpButton()
protected Clickable createPageDown()
ScrollBar
createPageDown
in class ScrollBar
ScrollBar.createPageDown()
protected Clickable createPageUp()
ScrollBar
createPageUp
in class ScrollBar
ScrollBar.createPageUp()
public void propertyChange(java.beans.PropertyChangeEvent event)
propertyChange
in interface java.beans.PropertyChangeListener
propertyChange
in class ScrollBar
PropertyChangeListener#propertyChange(java.beans.
PropertyChangeEvent )
Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.