public class ScrollbarWithLabel extends Panel implements Adjustable, AdjustmentListener
Panel.AccessibleAWTPanel
Container.AccessibleAWTContainer
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy
accessibleContext, BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
HORIZONTAL, NO_ORIENTATION, VERTICAL
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
Constructor and Description |
---|
ScrollbarWithLabel() |
ScrollbarWithLabel(StackWindow stackWindow,
int value,
int visible,
int minimum,
int maximum,
char label) |
Modifier and Type | Method and Description |
---|---|
void |
addAdjustmentListener(AdjustmentListener l) |
void |
addKeyListener(KeyListener l) |
void |
adjustmentValueChanged(AdjustmentEvent e) |
int |
getBlockIncrement() |
int |
getMaximum() |
int |
getMinimum() |
Dimension |
getMinimumSize() |
int |
getOrientation() |
Dimension |
getPreferredSize() |
int |
getUnitIncrement() |
int |
getValue() |
int |
getVisibleAmount() |
void |
removeAdjustmentListener(AdjustmentListener l) |
void |
removeKeyListener(KeyListener l) |
void |
setBlockIncrement(int b) |
void |
setFocusable(boolean focusable) |
void |
setMaximum(int max) |
void |
setMinimum(int min) |
void |
setUnitIncrement(int u) |
void |
setValue(int v) |
void |
setVisibleAmount(int v) |
void |
updatePlayPauseIcon() |
addNotify, getAccessibleContext
add, add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getAlignmentX, getAlignmentY, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getInsets, getLayout, getListeners, getMaximumSize, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, isValidateRoot, layout, list, list, locate, minimumSize, paint, paintComponents, paramString, preferredSize, print, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, removeNotify, setComponentZOrder, setFocusCycleRoot, setFocusTraversalKeys, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setFont, setLayout, transferFocusDownCycle, update, validate, validateTree
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, contains, createImage, createImage, createVolatileImage, createVolatileImage, disable, disableEvents, dispatchEvent, enable, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBaseline, getBaselineResizeBehavior, getBounds, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getFontMetrics, getForeground, getGraphics, getGraphicsConfiguration, getHeight, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getSize, getToolkit, getTreeLock, getWidth, getX, getY, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isDoubleBuffered, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isOpaque, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, printAll, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processKeyEvent, processMouseEvent, processMouseMotionEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, repaint, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, reshape, resize, resize, revalidate, setBackground, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setEnabled, setFocusTraversalKeysEnabled, setForeground, setIgnoreRepaint, setLocale, setLocation, setLocation, setMaximumSize, setMinimumSize, setName, setPreferredSize, setSize, setSize, setVisible, show, show, size, toString, transferFocus, transferFocusBackward, transferFocusUpCycle
public ScrollbarWithLabel()
public ScrollbarWithLabel(StackWindow stackWindow, int value, int visible, int minimum, int maximum, char label)
public Dimension getPreferredSize()
getPreferredSize
in class Container
public Dimension getMinimumSize()
getMinimumSize
in class Container
public void addKeyListener(KeyListener l)
addKeyListener
in class Component
public void removeKeyListener(KeyListener l)
removeKeyListener
in class Component
public void addAdjustmentListener(AdjustmentListener l)
addAdjustmentListener
in interface Adjustable
public int getBlockIncrement()
getBlockIncrement
in interface Adjustable
public int getMaximum()
getMaximum
in interface Adjustable
public int getMinimum()
getMinimum
in interface Adjustable
public int getOrientation()
getOrientation
in interface Adjustable
public int getUnitIncrement()
getUnitIncrement
in interface Adjustable
public int getValue()
getValue
in interface Adjustable
public int getVisibleAmount()
getVisibleAmount
in interface Adjustable
public void removeAdjustmentListener(AdjustmentListener l)
removeAdjustmentListener
in interface Adjustable
public void setBlockIncrement(int b)
setBlockIncrement
in interface Adjustable
public void setMaximum(int max)
setMaximum
in interface Adjustable
public void setMinimum(int min)
setMinimum
in interface Adjustable
public void setUnitIncrement(int u)
setUnitIncrement
in interface Adjustable
public void setValue(int v)
setValue
in interface Adjustable
public void setVisibleAmount(int v)
setVisibleAmount
in interface Adjustable
public void setFocusable(boolean focusable)
setFocusable
in class Component
public void adjustmentValueChanged(AdjustmentEvent e)
adjustmentValueChanged
in interface AdjustmentListener
public void updatePlayPauseIcon()
Copyright © 1997–2020 NIH. All rights reserved.