Changeset 1391 for branches/GNU/src/gcc/libjava/java/awt/LayoutManager.java
- Timestamp:
- Apr 27, 2004, 8:39:34 PM (22 years ago)
- Location:
- branches/GNU/src/gcc
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
libjava/java/awt/LayoutManager.java (modified) (2 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gcc
- Property svn:ignore
-
old new 26 26 configure.vr 27 27 configure.vrs 28 28 29 Makefile 29 dir.info30 30 lost+found 31 31 update.out
-
- Property svn:ignore
-
branches/GNU/src/gcc/libjava/java/awt/LayoutManager.java
-
Property cvs2svn:cvs-rev
changed from
1.1to1.1.1.2
r1390 r1391 1 /* LayoutManager.java -- Layout containers in a Window2 Copyright (C) 1999 Free Software Foundation, Inc.1 /* LayoutManager.java -- 2 Copyright (C) 1999 Free Software Foundation, Inc. 3 3 4 4 This file is part of GNU Classpath. … … 40 40 41 41 /** 42 * This interface is for laying out containers. 43 * 44 * @author Aaron M. Renn ([email protected]) 45 */ 42 * This interface is for laying out containers in a particular sequence. 43 * 44 * @author Aaron M. Renn <[email protected]> 45 * @see Container 46 * @since 1.0 47 * @status updated to 1.4 48 */ 46 49 public interface LayoutManager 47 50 { 51 52 53 54 55 56 57 48 58 49 /** 50 * Adds the specified component to the layout group. 51 * 52 * @param name The name of the component to add. 53 * @param component The component to add. 54 */ 55 public abstract void 56 addLayoutComponent(String name, Component component); 59 /** 60 * Removes the specified component from the layout group. 61 * 62 * @param component the component to remove 63 */ 64 void removeLayoutComponent(Component component); 57 65 58 /*************************************************************************/ 66 /** 67 * Calculates the preferred size for this container, taking into account 68 * the components it contains. 69 * 70 * @param parent the parent container to lay out 71 * @return the preferred dimensions of this container 72 * @see #minimumLayoutSize(Container) 73 */ 74 Dimension preferredLayoutSize(Container parent); 59 75 60 /** 61 * Removes the specified component from the layout group. 62 * 63 * @param component The component to remove. 64 */ 65 public abstract void 66 removeLayoutComponent(Component component); 76 /** 77 * Calculates the minimum size for this container, taking into account 78 * the components it contains. 79 * 80 * @param parent the parent container to lay out 81 * @return the minimum dimensions of this container 82 * @see #preferredLayoutSize(Container) 83 */ 84 Dimension minimumLayoutSize(Container parent); 67 85 68 /*************************************************************************/ 69 70 /** 71 * Calculates the preferred size for this container, taking into account 72 * the components in the specified parent container. 73 * 74 * @param parent The parent container. 75 * 76 * @return The preferred dimensions of this container. 77 */ 78 public abstract Dimension 79 preferredLayoutSize(Container parent); 80 81 /*************************************************************************/ 82 83 /** 84 * Calculates the minimum size for this container, taking into account 85 * the components in the specified parent container. 86 * 87 * @param parent The parent container. 88 * 89 * @return The minimum dimensions of this container. 90 */ 91 public abstract Dimension 92 minimumLayoutSize(Container parent); 93 94 /*************************************************************************/ 95 96 /** 97 * Lays out the components in this container on the specified parent 98 * container. 99 * 100 * @param parent The parent container. 101 */ 102 public abstract void 103 layoutContainer(Container parent); 104 86 /** 87 * Lays out the components in the given container. 88 * 89 * @param parent the container to lay out 90 */ 91 void layoutContainer(Container parent); 105 92 } // interface LayoutManager 106 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
