COSC_4P82_Assignment_1/lib/lilgp/lilgpSetup1.0/javadocs/Scroller.html

306 lines
12 KiB
HTML
Raw Permalink Normal View History

2024-02-13 21:21:51 -05:00
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Sat May 10 12:20:47 1997 -->
<a name="_top_"></a>
<title>
Class Scroller
</title>
</head>
<body>
<h1>
Class Scroller
</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>
|
+----Scroller
</pre>
<hr>
<dl>
<dt> public class <b>Scroller</b>
<dt> extends <a href="java.awt.Panel.html#_top_">Panel</a>
</dl>
Each Scroller contains a Panel (viewport) and two Scrollbars
(horizontal and vertical). Works in conjunction with a
ScrollerLayout, that lays out the viewport and two
scrollbars.<p>
Subclasses must override:<p>
<dl>
<dd> abstract public void scrollTo(int x, int y)
<dd> abstract public Dimension getScrollAreaSize()
</dl>
<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="ComponentScroller.html#_top_">ComponentScroller</a>, <a href="ImageScroller.html#_top_">ImageScroller</a>, <a href="ScrollerLayout.html#_top_">ScrollerLayout</a>, <a href="gjt.test.ComponentScrollerTest.html#_top_">ComponentScrollerTest</a>, <a href="gjt.test.ImageScrollerTest.html#_top_">ImageScrollerTest</a>
</dl>
<hr>
<a name="index"></a>
<h2>
<img src="images/variable-index.gif" width=207 height=38 alt="Variable Index">
</h2>
<dl>
<dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#hbar"><b>hbar</b></a>
<dd>
<dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#vbar"><b>vbar</b></a>
<dd>
<dt> <img src="images/magenta-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#viewport"><b>viewport</b></a>
<dd>
</dl>
<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="#Scroller()"><b>Scroller</b></a>()
<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="#getHorizontalScrollbar()"><b>getHorizontalScrollbar</b></a>()
<dd>
<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="#getVerticalScrollbar()"><b>getVerticalScrollbar</b></a>()
<dd>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#getViewport()"><b>getViewport</b></a>()
<dd>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#handleEvent(java.awt.Event)"><b>handleEvent</b></a>(Event)
<dd>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#manageHorizontalScrollbar()"><b>manageHorizontalScrollbar</b></a>()
<dd>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#manageScrollbars()"><b>manageScrollbars</b></a>()
<dd>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#manageVerticalScrollbar()"><b>manageVerticalScrollbar</b></a>()
<dd>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#paint(java.awt.Graphics)"><b>paint</b></a>(Graphics)
<dd>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#scroll()"><b>scroll</b></a>()
<dd>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#scrollAbsolute(java.awt.Event)"><b>scrollAbsolute</b></a>(Event)
<dd>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#scrollLineDown(java.awt.Event)"><b>scrollLineDown</b></a>(Event)
<dd>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#scrollLineUp(java.awt.Event)"><b>scrollLineUp</b></a>(Event)
<dd>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#scrollPageDown(java.awt.Event)"><b>scrollPageDown</b></a>(Event)
<dd>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#scrollPageUp(java.awt.Event)"><b>scrollPageUp</b></a>(Event)
<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="#setHorizontalLineAndPageIncrements()"><b>setHorizontalLineAndPageIncrements</b></a>()
<dd>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#setHorizontalScrollbarValues()"><b>setHorizontalScrollbarValues</b></a>()
<dd>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#setScrollbarValues()"><b>setScrollbarValues</b></a>()
<dd>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#setVerticalLineAndPageIncrements()"><b>setVerticalLineAndPageIncrements</b></a>()
<dd>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#setVerticalScrollbarValues()"><b>setVerticalScrollbarValues</b></a>()
<dd>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#update(java.awt.Graphics)"><b>update</b></a>(Graphics)
<dd>
</dl>
<a name="variables"></a>
<h2>
<img src="images/variables.gif" width=153 height=38 alt="Variables">
</h2>
<a name="viewport"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>viewport</b>
<pre>
protected <a href="java.awt.Panel.html#_top_">Panel</a> viewport
</pre>
<a name="hbar"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>hbar</b>
<pre>
protected <a href="java.awt.Scrollbar.html#_top_">Scrollbar</a> hbar
</pre>
<a name="vbar"><img src="images/magenta-ball.gif" width=12 height=12 alt=" o "></a>
<b>vbar</b>
<pre>
protected <a href="java.awt.Scrollbar.html#_top_">Scrollbar</a> vbar
</pre>
<a name="constructors"></a>
<h2>
<img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="Scroller"></a>
<a name="Scroller()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>Scroller</b>
<pre>
public Scroller()
</pre>
<a name="methods"></a>
<h2>
<img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<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 abstract void scrollTo(int x,
int y)
</pre>
<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 abstract <a href="java.awt.Dimension.html#_top_">Dimension</a> getScrollAreaSize()
</pre>
<a name="getHorizontalScrollbar()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getHorizontalScrollbar"><b>getHorizontalScrollbar</b></a>
<pre>
public <a href="java.awt.Scrollbar.html#_top_">Scrollbar</a> getHorizontalScrollbar()
</pre>
<a name="getVerticalScrollbar()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getVerticalScrollbar"><b>getVerticalScrollbar</b></a>
<pre>
public <a href="java.awt.Scrollbar.html#_top_">Scrollbar</a> getVerticalScrollbar()
</pre>
<a name="getViewport()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getViewport"><b>getViewport</b></a>
<pre>
public <a href="java.awt.Panel.html#_top_">Panel</a> getViewport()
</pre>
<a name="handleEvent(java.awt.Event)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="handleEvent"><b>handleEvent</b></a>
<pre>
public boolean handleEvent(<a href="java.awt.Event.html#_top_">Event</a> event)
</pre>
<dl>
<dl>
<dt> <b>Overrides:</b>
<dd> <a href="java.awt.Component.html#handleEvent(java.awt.Event)">handleEvent</a> in class <a href="java.awt.Component.html#_top_">Component</a>
</dl>
</dl>
<a name="paint(java.awt.Graphics)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="paint"><b>paint</b></a>
<pre>
public void paint(<a href="java.awt.Graphics.html#_top_">Graphics</a> g)
</pre>
<dl>
<dl>
<dt> <b>Overrides:</b>
<dd> <a href="java.awt.Component.html#paint(java.awt.Graphics)">paint</a> in class <a href="java.awt.Component.html#_top_">Component</a>
</dl>
</dl>
<a name="update(java.awt.Graphics)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="update"><b>update</b></a>
<pre>
public void update(<a href="java.awt.Graphics.html#_top_">Graphics</a> g)
</pre>
<dl>
<dl>
<dt> <b>Overrides:</b>
<dd> <a href="java.awt.Component.html#update(java.awt.Graphics)">update</a> in class <a href="java.awt.Component.html#_top_">Component</a>
</dl>
</dl>
<a name="manageScrollbars()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="manageScrollbars"><b>manageScrollbars</b></a>
<pre>
public void manageScrollbars()
</pre>
<a name="manageHorizontalScrollbar()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="manageHorizontalScrollbar"><b>manageHorizontalScrollbar</b></a>
<pre>
protected void manageHorizontalScrollbar()
</pre>
<a name="manageVerticalScrollbar()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="manageVerticalScrollbar"><b>manageVerticalScrollbar</b></a>
<pre>
protected void manageVerticalScrollbar()
</pre>
<a name="setScrollbarValues()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setScrollbarValues"><b>setScrollbarValues</b></a>
<pre>
public void setScrollbarValues()
</pre>
<a name="setHorizontalScrollbarValues()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setHorizontalScrollbarValues"><b>setHorizontalScrollbarValues</b></a>
<pre>
protected void setHorizontalScrollbarValues()
</pre>
<a name="setVerticalScrollbarValues()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setVerticalScrollbarValues"><b>setVerticalScrollbarValues</b></a>
<pre>
protected void setVerticalScrollbarValues()
</pre>
<a name="scrollLineUp(java.awt.Event)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="scrollLineUp"><b>scrollLineUp</b></a>
<pre>
protected void scrollLineUp(<a href="java.awt.Event.html#_top_">Event</a> event)
</pre>
<a name="scrollLineDown(java.awt.Event)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="scrollLineDown"><b>scrollLineDown</b></a>
<pre>
protected void scrollLineDown(<a href="java.awt.Event.html#_top_">Event</a> event)
</pre>
<a name="scrollPageUp(java.awt.Event)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="scrollPageUp"><b>scrollPageUp</b></a>
<pre>
protected void scrollPageUp(<a href="java.awt.Event.html#_top_">Event</a> event)
</pre>
<a name="scrollPageDown(java.awt.Event)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="scrollPageDown"><b>scrollPageDown</b></a>
<pre>
protected void scrollPageDown(<a href="java.awt.Event.html#_top_">Event</a> event)
</pre>
<a name="scrollAbsolute(java.awt.Event)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="scrollAbsolute"><b>scrollAbsolute</b></a>
<pre>
protected void scrollAbsolute(<a href="java.awt.Event.html#_top_">Event</a> event)
</pre>
<a name="setHorizontalLineAndPageIncrements()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setHorizontalLineAndPageIncrements"><b>setHorizontalLineAndPageIncrements</b></a>
<pre>
protected void setHorizontalLineAndPageIncrements()
</pre>
<a name="setVerticalLineAndPageIncrements()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setVerticalLineAndPageIncrements"><b>setVerticalLineAndPageIncrements</b></a>
<pre>
protected void setVerticalLineAndPageIncrements()
</pre>
<a name="scroll()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="scroll"><b>scroll</b></a>
<pre>
protected void scroll()
</pre>
</body>
</html>