src/share/classes/java/awt/LayoutManager.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1995, 2005, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1995, 2014, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 60,78 **** --- 60,81 ---- /** * Calculates the preferred size dimensions for the specified * container, given the components it contains. * @param parent the container to be laid out + * @return the preferred dimension for the container * * @see #minimumLayoutSize */ Dimension preferredLayoutSize(Container parent); /** * Calculates the minimum size dimensions for the specified * container, given the components it contains. * @param parent the component to be laid out + * @return the minimum dimension for the container + * * @see #preferredLayoutSize */ Dimension minimumLayoutSize(Container parent); /**