Summary: Inherited Constants | Ctors | Methods | Inherited Methods | [Expand All]
public class

# PDFViewScrollPane

extends JPanel

java.lang.Object
↳ | java.awt.Component
| ↳ | java.awt.Container
|  | ↳ | javax.swing.JComponent
|  |  | ↳ | javax.swing.JPanel
|  |  |  | ↳ | com.pdftron.pdf.PDFViewScrollPane

## Class Overview

A scrolling panel. Both vertical and horizontal scroll bar appear as needed.

## Summary

[Expand] Inherited Constants
From class javax.swing.JComponent
String | TOOL_TIP_TEXT_KEY |
int | UNDEFINED_CONDITION |
int | WHEN_ANCESTOR_OF_FOCUSED_COMPONENT |
int | WHEN_FOCUSED |
int | WHEN_IN_FOCUSED_WINDOW |
From class java.awt.Component
float | BOTTOM_ALIGNMENT |
float | CENTER_ALIGNMENT |
float | LEFT_ALIGNMENT |
float | RIGHT_ALIGNMENT |
float | TOP_ALIGNMENT |
From interface java.awt.image.ImageObserver
int | ABORT |
int | ALLBITS |
int | ERROR |
int | FRAMEBITS |
int | HEIGHT |
int | PROPERTIES |
int | SOMEBITS |
int | WIDTH |

Public Constructors
| PDFViewScrollPane(PDFViewCtrl view) Constructor

Public Methods
JScrollBar | getHScrollbar()
JScrollBar | getVScrollbar()
void | refresh()
void | updateHScrollbarValue()
void | updateScrollbarValue()
void | updateVScrollbarValue()

[Expand] Inherited Methods
From class javax.swing.JPanel
AccessibleContext | getAccessibleContext()
PanelUI | getUI()
String | getUIClassID()
void | setUI(PanelUI arg0)
void | updateUI()
From class javax.swing.JComponent
void | addAncestorListener(AncestorListener arg0)
void | addNotify()
synchronized void | addVetoableChangeListener(VetoableChangeListener arg0)
void | computeVisibleRect(Rectangle arg0)
boolean | contains(int arg0, int arg1)
JToolTip | createToolTip()
void | disable()
void | enable()
void | firePropertyChange(String arg0, boolean arg1, boolean arg2)
void | firePropertyChange(String arg0, char arg1, char arg2)
void | firePropertyChange(String arg0, int arg1, int arg2)
ActionListener | getActionForKeyStroke(KeyStroke arg0)
final ActionMap | getActionMap()
float | getAlignmentX()
float | getAlignmentY()
AncestorListener[] | getAncestorListeners()
boolean | getAutoscrolls()
int | getBaseline(int arg0, int arg1)
Component.BaselineResizeBehavior | getBaselineResizeBehavior()
Border | getBorder()
Rectangle | getBounds(Rectangle arg0)
final Object | getClientProperty(Object arg0)
JPopupMenu | getComponentPopupMenu()
int | getConditionForKeyStroke(KeyStroke arg0)
int | getDebugGraphicsOptions()
static Locale | getDefaultLocale()
FontMetrics | getFontMetrics(Font arg0)
Graphics | getGraphics()
int | getHeight()
boolean | getInheritsPopupMenu()
final InputMap | getInputMap(int arg0)
final InputMap | getInputMap()
InputVerifier | getInputVerifier()
Insets | getInsets()
Insets | getInsets(Insets arg0)
<T extends EventListener> T[] | getListeners(Class<T> arg0)
Point | getLocation(Point arg0)
Dimension | getMaximumSize()
Dimension | getMinimumSize()
Component | getNextFocusableComponent()
Point | getPopupLocation(MouseEvent arg0)
Dimension | getPreferredSize()
KeyStroke[] | getRegisteredKeyStrokes()
JRootPane | getRootPane()
Dimension | getSize(Dimension arg0)
Point | getToolTipLocation(MouseEvent arg0)
String | getToolTipText()
String | getToolTipText(MouseEvent arg0)
Container | getTopLevelAncestor()
TransferHandler | getTransferHandler()
String | getUIClassID()
boolean | getVerifyInputWhenFocusTarget()
synchronized VetoableChangeListener[] | getVetoableChangeListeners()
Rectangle | getVisibleRect()
int | getWidth()
int | getX()
int | getY()
void | grabFocus()
void | hide()
boolean | isDoubleBuffered()
static boolean | isLightweightComponent(Component arg0)
boolean | isManagingFocus()
boolean | isOpaque()
boolean | isOptimizedDrawingEnabled()
final boolean | isPaintingForPrint()
boolean | isPaintingTile()
boolean | isRequestFocusEnabled()
boolean | isValidateRoot()
void | paint(Graphics arg0)
void | paintImmediately(int arg0, int arg1, int arg2, int arg3)
void | paintImmediately(Rectangle arg0)
void | print(Graphics arg0)
void | printAll(Graphics arg0)
final void | putClientProperty(Object arg0, Object arg1)
void | registerKeyboardAction(ActionListener arg0, KeyStroke arg1, int arg2)
void | registerKeyboardAction(ActionListener arg0, String arg1, KeyStroke arg2, int arg3)
void | removeAncestorListener(AncestorListener arg0)
void | removeNotify()
synchronized void | removeVetoableChangeListener(VetoableChangeListener arg0)
void | repaint(Rectangle arg0)
void | repaint(long arg0, int arg1, int arg2, int arg3, int arg4)
boolean | requestDefaultFocus()
void | requestFocus()
boolean | requestFocus(boolean arg0)
boolean | requestFocusInWindow()
void | resetKeyboardActions()
void | reshape(int arg0, int arg1, int arg2, int arg3)
void | revalidate()
void | scrollRectToVisible(Rectangle arg0)
final void | setActionMap(ActionMap arg0)
void | setAlignmentX(float arg0)
void | setAlignmentY(float arg0)
void | setAutoscrolls(boolean arg0)
void | setBackground(Color arg0)
void | setBorder(Border arg0)
void | setComponentPopupMenu(JPopupMenu arg0)
void | setDebugGraphicsOptions(int arg0)
static void | setDefaultLocale(Locale arg0)
void | setDoubleBuffered(boolean arg0)
void | setEnabled(boolean arg0)
void | setFocusTraversalKeys(int arg0, Set<? extends AWTKeyStroke> arg1)
void | setFont(Font arg0)
void | setForeground(Color arg0)
void | setInheritsPopupMenu(boolean arg0)
final void | setInputMap(int arg0, InputMap arg1)
void | setInputVerifier(InputVerifier arg0)
void | setMaximumSize(Dimension arg0)
void | setMinimumSize(Dimension arg0)
void | setNextFocusableComponent(Component arg0)
void | setOpaque(boolean arg0)
void | setPreferredSize(Dimension arg0)
void | setRequestFocusEnabled(boolean arg0)
void | setToolTipText(String arg0)
void | setTransferHandler(TransferHandler arg0)
void | setVerifyInputWhenFocusTarget(boolean arg0)
void | setVisible(boolean arg0)
void | unregisterKeyboardAction(KeyStroke arg0)
void | update(Graphics arg0)
void | updateUI()
From class java.awt.Container
void | add(Component arg0, Object arg1, int arg2)
Component | add(Component arg0)
Component | add(String arg0, Component arg1)
void | add(Component arg0, Object arg1)
Component | add(Component arg0, int arg1)
synchronized void | addContainerListener(ContainerListener arg0)
void | addNotify()
void | addPropertyChangeListener(String arg0, PropertyChangeListener arg1)
void | addPropertyChangeListener(PropertyChangeListener arg0)
void | applyComponentOrientation(ComponentOrientation arg0)
boolean | areFocusTraversalKeysSet(int arg0)
int | countComponents()
void | deliverEvent(Event arg0)
void | doLayout()
Component | findComponentAt(int arg0, int arg1)
Component | findComponentAt(Point arg0)
float | getAlignmentX()
float | getAlignmentY()
Component | getComponent(int arg0)
Component | getComponentAt(int arg0, int arg1)
Component | getComponentAt(Point arg0)
int | getComponentCount()
int | getComponentZOrder(Component arg0)
Component[] | getComponents()
synchronized ContainerListener[] | getContainerListeners()
Set<AWTKeyStroke> | getFocusTraversalKeys(int arg0)
FocusTraversalPolicy | getFocusTraversalPolicy()
Insets | getInsets()
LayoutManager | getLayout()
<T extends EventListener> T[] | getListeners(Class<T> arg0)
Dimension | getMaximumSize()
Dimension | getMinimumSize()
Point | getMousePosition(boolean arg0)
Dimension | getPreferredSize()
Insets | insets()
void | invalidate()
boolean | isAncestorOf(Component arg0)
boolean | isFocusCycleRoot()
boolean | isFocusCycleRoot(Container arg0)
final boolean | isFocusTraversalPolicyProvider()
boolean | isFocusTraversalPolicySet()
boolean | isValidateRoot()
void | layout()
void | list(PrintWriter arg0, int arg1)
void | list(PrintStream arg0, int arg1)
Component | locate(int arg0, int arg1)
Dimension | minimumSize()
void | paint(Graphics arg0)
void | paintComponents(Graphics arg0)
Dimension | preferredSize()
void | print(Graphics arg0)
void | printComponents(Graphics arg0)
void | remove(Component arg0)
void | remove(int arg0)
void | removeAll()
synchronized void | removeContainerListener(ContainerListener arg0)
void | removeNotify()
void | setComponentZOrder(Component arg0, int arg1)
void | setFocusCycleRoot(boolean arg0)
void | setFocusTraversalKeys(int arg0, Set<? extends AWTKeyStroke> arg1)
void | setFocusTraversalPolicy(FocusTraversalPolicy arg0)
final void | setFocusTraversalPolicyProvider(boolean arg0)
void | setFont(Font arg0)
void | setLayout(LayoutManager arg0)
void | transferFocusDownCycle()
void | update(Graphics arg0)
void | validate()
From class java.awt.Component
boolean | action(Event arg0, Object arg1)
void | add(PopupMenu arg0)
synchronized void | addComponentListener(ComponentListener arg0)
synchronized void | addFocusListener(FocusListener arg0)
void | addHierarchyBoundsListener(HierarchyBoundsListener arg0)
void | addHierarchyListener(HierarchyListener arg0)
synchronized void | addInputMethodListener(InputMethodListener arg0)
synchronized void | addKeyListener(KeyListener arg0)
synchronized void | addMouseListener(MouseListener arg0)
synchronized void | addMouseMotionListener(MouseMotionListener arg0)
synchronized void | addMouseWheelListener(MouseWheelListener arg0)
void | addNotify()
void | addPropertyChangeListener(String arg0, PropertyChangeListener arg1)
void | addPropertyChangeListener(PropertyChangeListener arg0)
void | applyComponentOrientation(ComponentOrientation arg0)
boolean | areFocusTraversalKeysSet(int arg0)
Rectangle | bounds()
int | checkImage(Image arg0, int arg1, int arg2, ImageObserver arg3)
int | checkImage(Image arg0, ImageObserver arg1)
boolean | contains(Point arg0)
boolean | contains(int arg0, int arg1)
Image | createImage(ImageProducer arg0)
Image | createImage(int arg0, int arg1)
VolatileImage | createVolatileImage(int arg0, int arg1, ImageCapabilities arg2)
VolatileImage | createVolatileImage(int arg0, int arg1)
void | deliverEvent(Event arg0)
void | disable()
final void | dispatchEvent(AWTEvent arg0)
void | doLayout()
void | enable()
void | enable(boolean arg0)
void | enableInputMethods(boolean arg0)
void | firePropertyChange(String arg0, byte arg1, byte arg2)
void | firePropertyChange(String arg0, char arg1, char arg2)
void | firePropertyChange(String arg0, short arg1, short arg2)
void | firePropertyChange(String arg0, double arg1, double arg2)
void | firePropertyChange(String arg0, float arg1, float arg2)
void | firePropertyChange(String arg0, long arg1, long arg2)
AccessibleContext | getAccessibleContext()
float | getAlignmentX()
float | getAlignmentY()
Color | getBackground()
int | getBaseline(int arg0, int arg1)
Component.BaselineResizeBehavior | getBaselineResizeBehavior()
Rectangle | getBounds()
Rectangle | getBounds(Rectangle arg0)
ColorModel | getColorModel()
Component | getComponentAt(int arg0, int arg1)
Component | getComponentAt(Point arg0)
synchronized ComponentListener[] | getComponentListeners()
ComponentOrientation | getComponentOrientation()
Cursor | getCursor()
synchronized DropTarget | getDropTarget()
Container | getFocusCycleRootAncestor()
synchronized FocusListener[] | getFocusListeners()
Set<AWTKeyStroke> | getFocusTraversalKeys(int arg0)
boolean | getFocusTraversalKeysEnabled()
Font | getFont()
FontMetrics | getFontMetrics(Font arg0)
Color | getForeground()
Graphics | getGraphics()
GraphicsConfiguration | getGraphicsConfiguration()
int | getHeight()
synchronized HierarchyBoundsListener[] | getHierarchyBoundsListeners()
synchronized HierarchyListener[] | getHierarchyListeners()
boolean | getIgnoreRepaint()
InputContext | getInputContext()
synchronized InputMethodListener[] | getInputMethodListeners()
InputMethodRequests | getInputMethodRequests()
synchronized KeyListener[] | getKeyListeners()
<T extends EventListener> T[] | getListeners(Class<T> arg0)
Locale | getLocale()
Point | getLocation(Point arg0)
Point | getLocation()
Point | getLocationOnScreen()
Dimension | getMaximumSize()
Dimension | getMinimumSize()
synchronized MouseListener[] | getMouseListeners()
synchronized MouseMotionListener[] | getMouseMotionListeners()
Point | getMousePosition()
synchronized MouseWheelListener[] | getMouseWheelListeners()
String | getName()
Container | getParent()
ComponentPeer | getPeer()
Dimension | getPreferredSize()
PropertyChangeListener[] | getPropertyChangeListeners()
PropertyChangeListener[] | getPropertyChangeListeners(String arg0)
Dimension | getSize()
Dimension | getSize(Dimension arg0)
Toolkit | getToolkit()
final Object | getTreeLock()
int | getWidth()
int | getX()
int | getY()
boolean | gotFocus(Event arg0, Object arg1)
boolean | handleEvent(Event arg0)
boolean | hasFocus()
void | hide()
boolean | imageUpdate(Image arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
boolean | inside(int arg0, int arg1)
void | invalidate()
boolean | isBackgroundSet()
boolean | isCursorSet()
boolean | isDisplayable()
boolean | isDoubleBuffered()
boolean | isEnabled()
boolean | isFocusCycleRoot(Container arg0)
boolean | isFocusOwner()
boolean | isFocusTraversable()
boolean | isFocusable()
boolean | isFontSet()
boolean | isForegroundSet()
boolean | isLightweight()
boolean | isMaximumSizeSet()
boolean | isMinimumSizeSet()
boolean | isOpaque()
boolean | isPreferredSizeSet()
boolean | isShowing()
boolean | isValid()
boolean | isVisible()
boolean | keyDown(Event arg0, int arg1)
boolean | keyUp(Event arg0, int arg1)
void | layout()
void | list()
void | list(PrintStream arg0)
void | list(PrintWriter arg0)
void | list(PrintWriter arg0, int arg1)
void | list(PrintStream arg0, int arg1)
Component | locate(int arg0, int arg1)
Point | location()
boolean | lostFocus(Event arg0, Object arg1)
Dimension | minimumSize()
boolean | mouseDown(Event arg0, int arg1, int arg2)
boolean | mouseDrag(Event arg0, int arg1, int arg2)
boolean | mouseEnter(Event arg0, int arg1, int arg2)
boolean | mouseExit(Event arg0, int arg1, int arg2)
boolean | mouseMove(Event arg0, int arg1, int arg2)
boolean | mouseUp(Event arg0, int arg1, int arg2)
void | move(int arg0, int arg1)
void | nextFocus()
void | paint(Graphics arg0)
void | paintAll(Graphics arg0)
boolean | postEvent(Event arg0)
Dimension | preferredSize()
boolean | prepareImage(Image arg0, int arg1, int arg2, ImageObserver arg3)
boolean | prepareImage(Image arg0, ImageObserver arg1)
void | print(Graphics arg0)
void | printAll(Graphics arg0)
void | remove(MenuComponent arg0)
synchronized void | removeComponentListener(ComponentListener arg0)
synchronized void | removeFocusListener(FocusListener arg0)
void | removeHierarchyBoundsListener(HierarchyBoundsListener arg0)
void | removeHierarchyListener(HierarchyListener arg0)
synchronized void | removeInputMethodListener(InputMethodListener arg0)
synchronized void | removeKeyListener(KeyListener arg0)
synchronized void | removeMouseListener(MouseListener arg0)
synchronized void | removeMouseMotionListener(MouseMotionListener arg0)
synchronized void | removeMouseWheelListener(MouseWheelListener arg0)
void | removeNotify()
void | removePropertyChangeListener(String arg0, PropertyChangeListener arg1)
void | removePropertyChangeListener(PropertyChangeListener arg0)
void | repaint(int arg0, int arg1, int arg2, int arg3)
void | repaint()
void | repaint(long arg0)
void | repaint(long arg0, int arg1, int arg2, int arg3, int arg4)
void | requestFocus()
boolean | requestFocusInWindow()
void | reshape(int arg0, int arg1, int arg2, int arg3)
void | resize(Dimension arg0)
void | resize(int arg0, int arg1)
void | revalidate()
void | setBackground(Color arg0)
void | setBounds(int arg0, int arg1, int arg2, int arg3)
void | setBounds(Rectangle arg0)
void | setComponentOrientation(ComponentOrientation arg0)
void | setCursor(Cursor arg0)
synchronized void | setDropTarget(DropTarget arg0)
void | setEnabled(boolean arg0)
void | setFocusTraversalKeys(int arg0, Set<? extends AWTKeyStroke> arg1)
void | setFocusTraversalKeysEnabled(boolean arg0)
void | setFocusable(boolean arg0)
void | setFont(Font arg0)
void | setForeground(Color arg0)
void | setIgnoreRepaint(boolean arg0)
void | setLocale(Locale arg0)
void | setLocation(Point arg0)
void | setLocation(int arg0, int arg1)
void | setMaximumSize(Dimension arg0)
void | setMinimumSize(Dimension arg0)
void | setName(String arg0)
void | setPreferredSize(Dimension arg0)
void | setSize(int arg0, int arg1)
void | setSize(Dimension arg0)
void | setVisible(boolean arg0)
void | show(boolean arg0)
void | show()
Dimension | size()
String | toString()
void | transferFocus()
void | transferFocusBackward()
void | transferFocusUpCycle()
void | update(Graphics arg0)
void | validate()
From class java.lang.Object
boolean | equals(Object arg0)
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)
final void | wait()
From interface java.awt.MenuContainer
abstract Font | getFont()
abstract boolean | postEvent(Event arg0)
abstract void | remove(MenuComponent arg0)
From interface java.awt.image.ImageObserver
abstract boolean | imageUpdate(Image arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
From interface javax.accessibility.Accessible
abstract AccessibleContext | getAccessibleContext()

## Public Constructors

#### public PDFViewScrollPane (PDFViewCtrl view)

Constructor

##### Parameters

view | the PDFViewCtrl that associated with this panel

## Public Methods

#### public JScrollBar getHScrollbar ()

#### public JScrollBar getVScrollbar ()

#### public void refresh ()

#### public void updateHScrollbarValue ()

#### public void updateScrollbarValue ()

#### public void updateVScrollbarValue ()