COSC-4P82-Final-Project/lib/lilgp/lilgpSetup1.0/javadocs/GroupPanel.html

136 lines
4.2 KiB
HTML
Raw Permalink Normal View History

2024-04-01 00:01:49 -04:00
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Sat May 10 12:20:47 1997 -->
<a name="_top_"></a>
<title>
Class GroupPanel
</title>
</head>
<body>
<h1>
Class GroupPanel
</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>
|
+----GroupPanel
</pre>
<hr>
<dl>
<dt> class <b>GroupPanel</b>
<dt> extends <a href="java.awt.Panel.html#_top_">Panel</a>
</dl>
Create a panel that allows you to organize related components
on a panel surrounded by a raised border. It also allows you
to specify a group title.
<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="#GroupPanel(java.lang.String)"><b>GroupPanel</b></a>(String)
<dd> Create a new object and assign the title string
</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="#addNotify()"><b>addNotify</b></a>()
<dd>
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#insets()"><b>insets</b></a>()
<dd> Create new insets
<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> Paint the border around the group
param g the graphics object
<dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
<a href="#setBackground(java.awt.Color)"><b>setBackground</b></a>(Color)
<dd> Set the background color
</dl>
<a name="constructors"></a>
<h2>
<img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="GroupPanel"></a>
<a name="GroupPanel(java.lang.String)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>GroupPanel</b>
<pre>
public GroupPanel(<a href="java.lang.String.html#_top_">String</a> title)
</pre>
<dl>
<dd> Create a new object and assign the title string
</dl>
<a name="methods"></a>
<h2>
<img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="setBackground(java.awt.Color)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setBackground"><b>setBackground</b></a>
<pre>
public synchronized void setBackground(<a href="java.awt.Color.html#_top_">Color</a> c)
</pre>
<dl>
<dd> Set the background color
<dl>
<dt> <b>Parameters:</b>
<dd> c - the background color
<dt> <b>Overrides:</b>
<dd> <a href="java.awt.Component.html#setBackground(java.awt.Color)">setBackground</a> in class <a href="java.awt.Component.html#_top_">Component</a>
</dl>
</dl>
<a name="addNotify()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="addNotify"><b>addNotify</b></a>
<pre>
public void addNotify()
</pre>
<dl>
<dl>
<dt> <b>Overrides:</b>
<dd> <a href="java.awt.Panel.html#addNotify()">addNotify</a> in class <a href="java.awt.Panel.html#_top_">Panel</a>
</dl>
</dl>
<a name="insets()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="insets"><b>insets</b></a>
<pre>
public <a href="java.awt.Insets.html#_top_">Insets</a> insets()
</pre>
<dl>
<dd> Create new insets
<dl>
<dt> <b>Overrides:</b>
<dd> <a href="java.awt.Container.html#insets()">insets</a> in class <a href="java.awt.Container.html#_top_">Container</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>
<dd> Paint the border around the group
param g the graphics object
<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>
</body>
</html>