122 lines
4.2 KiB
HTML
122 lines
4.2 KiB
HTML
|
<!--NewPage-->
|
||
|
<html>
|
||
|
<head>
|
||
|
<!-- Generated by javadoc on Sat May 10 12:20:47 1997 -->
|
||
|
<a name="_top_"></a>
|
||
|
<title>
|
||
|
Class ComponentScroller
|
||
|
</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<h1>
|
||
|
Class ComponentScroller
|
||
|
</h1>
|
||
|
<pre>
|
||
|
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
|
||
|
|
|
||
|
+----<a href="java.awt.Component.html#_top_">java.awt.Component</a>
|
||
|
|
|
||
|
+----<a href="java.awt.Container.html#_top_">java.awt.Container</a>
|
||
|
|
|
||
|
+----<a href="java.awt.Panel.html#_top_">java.awt.Panel</a>
|
||
|
|
|
||
|
+----<a href="Scroller.html#_top_">Scroller</a>
|
||
|
|
|
||
|
+----ComponentScroller
|
||
|
</pre>
|
||
|
<hr>
|
||
|
<dl>
|
||
|
<dt> public class <b>ComponentScroller</b>
|
||
|
<dt> extends <a href="Scroller.html#_top_">Scroller</a>
|
||
|
</dl>
|
||
|
Scrolls any component. Component to be scrolled may be a
|
||
|
container, so ultimately many components may be scrolled
|
||
|
at once.<p>
|
||
|
Component to be scrolled may be specified at construction
|
||
|
time, or may be set after construction via
|
||
|
void setComponent(Component).<p>
|
||
|
<dl>
|
||
|
<dt> <b>Version:</b>
|
||
|
<dd> 1.0, Apr 1 1996
|
||
|
<dt> <b>Author:</b>
|
||
|
<dd> David Geary
|
||
|
<dt> <b>See Also:</b>
|
||
|
<dd> <a href="BulletinLayout.html#_top_">BulletinLayout</a>, <a href="Scroller.html#_top_">Scroller</a>, <a href="ScrollerLayout.html#_top_">ScrollerLayout</a>, <a href="ImageScroller.html#_top_">ImageScroller</a>, <a href="gjt.test.ComponentScrollerTest.html#_top_">ComponentScrollerTest</a>
|
||
|
</dl>
|
||
|
<hr>
|
||
|
<a name="index"></a>
|
||
|
<h2>
|
||
|
<img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
|
||
|
</h2>
|
||
|
<dl>
|
||
|
<dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
|
||
|
<a href="#ComponentScroller()"><b>ComponentScroller</b></a>()
|
||
|
<dd>
|
||
|
<dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
|
||
|
<a href="#ComponentScroller(java.awt.Component)"><b>ComponentScroller</b></a>(Component)
|
||
|
<dd>
|
||
|
</dl>
|
||
|
<h2>
|
||
|
<img src="images/method-index.gif" width=207 height=38 alt="Method Index">
|
||
|
</h2>
|
||
|
<dl>
|
||
|
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
|
||
|
<a href="#getScrollAreaSize()"><b>getScrollAreaSize</b></a>()
|
||
|
<dd>
|
||
|
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
|
||
|
<a href="#scrollTo(int, int)"><b>scrollTo</b></a>(int, int)
|
||
|
<dd>
|
||
|
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
|
||
|
<a href="#setComponent(java.awt.Component)"><b>setComponent</b></a>(Component)
|
||
|
<dd>
|
||
|
</dl>
|
||
|
<a name="constructors"></a>
|
||
|
<h2>
|
||
|
<img src="images/constructors.gif" width=231 height=38 alt="Constructors">
|
||
|
</h2>
|
||
|
<a name="ComponentScroller"></a>
|
||
|
<a name="ComponentScroller()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
|
||
|
<b>ComponentScroller</b>
|
||
|
<pre>
|
||
|
public ComponentScroller()
|
||
|
</pre>
|
||
|
<a name="ComponentScroller(java.awt.Component)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
|
||
|
<b>ComponentScroller</b>
|
||
|
<pre>
|
||
|
public ComponentScroller(<a href="java.awt.Component.html#_top_">Component</a> component)
|
||
|
</pre>
|
||
|
<a name="methods"></a>
|
||
|
<h2>
|
||
|
<img src="images/methods.gif" width=151 height=38 alt="Methods">
|
||
|
</h2>
|
||
|
<a name="setComponent(java.awt.Component)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
|
||
|
<a name="setComponent"><b>setComponent</b></a>
|
||
|
<pre>
|
||
|
public void setComponent(<a href="java.awt.Component.html#_top_">Component</a> component)
|
||
|
</pre>
|
||
|
<a name="scrollTo(int, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
|
||
|
<a name="scrollTo"><b>scrollTo</b></a>
|
||
|
<pre>
|
||
|
public void scrollTo(int x,
|
||
|
int y)
|
||
|
</pre>
|
||
|
<dl>
|
||
|
<dl>
|
||
|
<dt> <b>Overrides:</b>
|
||
|
<dd> <a href="Scroller.html#scrollTo(int, int)">scrollTo</a> in class <a href="Scroller.html#_top_">Scroller</a>
|
||
|
</dl>
|
||
|
</dl>
|
||
|
<a name="getScrollAreaSize()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
|
||
|
<a name="getScrollAreaSize"><b>getScrollAreaSize</b></a>
|
||
|
<pre>
|
||
|
public <a href="java.awt.Dimension.html#_top_">Dimension</a> getScrollAreaSize()
|
||
|
</pre>
|
||
|
<dl>
|
||
|
<dl>
|
||
|
<dt> <b>Overrides:</b>
|
||
|
<dd> <a href="Scroller.html#getScrollAreaSize()">getScrollAreaSize</a> in class <a href="Scroller.html#_top_">Scroller</a>
|
||
|
</dl>
|
||
|
</dl>
|
||
|
</body>
|
||
|
</html>
|