public class ViewPositions extends Object
Constructor and Description |
---|
ViewPositions() |
Modifier and Type | Method and Description |
---|---|
void |
add(JScrollPane scroll,
Point p)
Adds a pair of scrollbar and point to the list.
|
void |
clear()
Clears the contents of both lists.
|
Point |
getPoint(int index)
Returns the point at the provided index.
|
JScrollPane |
getScrollPane(int index)
Returns the scroll at the provided index.
|
int |
size()
Returns the size of the lists.
|
public ViewPositions()
public int size()
public void add(JScrollPane scroll, Point p)
scroll
- the scroll bar.p
- the point.public void clear()
public Point getPoint(int index)
index
- the index.public JScrollPane getScrollPane(int index)
index
- the index.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.