Commit 82396c2a by Michael Koch Committed by Michael Koch

Choice.java, [...]: Fixed documentation.

2002-11-07  Michael Koch <konqueror@gmx.de>

	* java/awt/Choice.java,
	java/awt/Container.java,
	java/awt/GridBagLayout.java:
	Fixed documentation.
	* java/awt/peer/ContainerPeer.java:
	Reindented.

From-SVN: r58888
parent c2905f7b
2002-11-07 Michael Koch <konqueror@gmx.de> 2002-11-07 Michael Koch <konqueror@gmx.de>
* java/awt/Choice.java,
java/awt/Container.java,
java/awt/GridBagLayout.java:
Fixed documentation.
* java/awt/peer/ContainerPeer.java:
Reindented.
2002-11-07 Michael Koch <konqueror@gmx.de>
* java/awt/color/ICC_Profile.java: * java/awt/color/ICC_Profile.java:
Added missing constants. Added missing constants.
* java/awt/color/ICC_ColorSpace.java * java/awt/color/ICC_ColorSpace.java
......
...@@ -215,7 +215,7 @@ insert(String item, int index) ...@@ -215,7 +215,7 @@ insert(String item, int index)
* *
* @param item The item to remove. * @param item The item to remove.
* *
* @param IllegalArgumentException If the specified item doesn't exist. * @exception IllegalArgumentException If the specified item doesn't exist.
*/ */
public synchronized void public synchronized void
remove(String item) remove(String item)
...@@ -234,7 +234,7 @@ remove(String item) ...@@ -234,7 +234,7 @@ remove(String item)
* *
* @param index The index of the item to remove. * @param index The index of the item to remove.
* *
* @exception ArrayIndexOutOfBoundsException If the index is not valid. * @exception IndexOutOfBoundsException If the index is not valid.
*/ */
public synchronized void public synchronized void
remove(int index) remove(int index)
...@@ -325,7 +325,7 @@ getSelectedIndex() ...@@ -325,7 +325,7 @@ getSelectedIndex()
* *
* @param index The index of the row to make selected. * @param index The index of the row to make selected.
* *
* @param IllegalArgumentException If the specified index is invalid. * @exception IllegalArgumentException If the specified index is invalid.
*/ */
public synchronized void public synchronized void
select(int index) select(int index)
......
...@@ -205,7 +205,7 @@ public class Container extends Component ...@@ -205,7 +205,7 @@ public class Container extends Component
* *
* @return The same component that was added. * @return The same component that was added.
* *
* @param throws ArrayIndexOutOfBounds If the specified index is invalid. * @throws ArrayIndexOutOfBounds If the specified index is invalid.
*/ */
public Component add(Component comp, int index) public Component add(Component comp, int index)
{ {
...@@ -236,7 +236,7 @@ public class Container extends Component ...@@ -236,7 +236,7 @@ public class Container extends Component
* @param index The index in the component list to insert this child * @param index The index in the component list to insert this child
* at, or -1 to add at the end of the list. * at, or -1 to add at the end of the list.
* *
* @param throws ArrayIndexOutOfBounds If the specified index is invalid. * @throws ArrayIndexOutOfBounds If the specified index is invalid.
*/ */
public void add(Component comp, Object constraints, int index) public void add(Component comp, Object constraints, int index)
{ {
...@@ -256,7 +256,7 @@ public class Container extends Component ...@@ -256,7 +256,7 @@ public class Container extends Component
* @param index The index in the component list to insert this child * @param index The index in the component list to insert this child
* at, or -1 to add at the end of the list. * at, or -1 to add at the end of the list.
* *
* @param throws ArrayIndexOutOfBounds If the specified index is invalid. * @throws ArrayIndexOutOfBounds If the specified index is invalid.
*/ */
protected void addImpl(Component comp, Object constraints, int index) protected void addImpl(Component comp, Object constraints, int index)
{ {
......
...@@ -40,7 +40,7 @@ package java.awt; ...@@ -40,7 +40,7 @@ package java.awt;
import java.io.Serializable; import java.io.Serializable;
/** /**
* Stub implementeation. * Stub implementation.
*/ */
public class GridBagLayout public class GridBagLayout
implements Serializable, LayoutManager2 implements Serializable, LayoutManager2
......
...@@ -35,18 +35,15 @@ this exception to your version of the library, but you are not ...@@ -35,18 +35,15 @@ this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */ exception statement from your version. */
package java.awt.peer; package java.awt.peer;
import java.awt.Insets; import java.awt.Insets;
public interface ContainerPeer extends ComponentPeer public interface ContainerPeer extends ComponentPeer
{ {
public abstract Insets insets();
public abstract Insets insets(); public abstract Insets getInsets();
public abstract Insets getInsets(); public abstract void beginValidate();
public abstract void beginValidate(); public abstract void endValidate();
public abstract void endValidate();
} // interface ContainerPeer } // interface ContainerPeer
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment