src/share/classes/javax/swing/SwingConstants.java

Print this page
rev 10121 : 8046485: Add missing @since tag under javax.swing.*
Reviewed-by:


  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 package javax.swing;
  26 
  27 
  28 /**
  29  * A collection of constants generally used for positioning and orienting
  30  * components on the screen.
  31  *
  32  * @author Jeff Dinkins
  33  * @author Ralph Kar (orientation support)

  34  */
  35 public interface SwingConstants {
  36 
  37         /**
  38          * The central position in an area. Used for
  39          * both compass-direction constants (NORTH, etc.)
  40          * and box-orientation constants (TOP, etc.).
  41          */
  42         public static final int CENTER  = 0;
  43 
  44         //
  45         // Box-orientation constant used to specify locations in a box.
  46         //
  47         /**
  48          * Box-orientation constant used to specify the top of a box.
  49          */
  50         public static final int TOP     = 1;
  51         /**
  52          * Box-orientation constant used to specify the left side of a box.
  53          */




  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 package javax.swing;
  26 
  27 
  28 /**
  29  * A collection of constants generally used for positioning and orienting
  30  * components on the screen.
  31  *
  32  * @author Jeff Dinkins
  33  * @author Ralph Kar (orientation support)
  34  * @since 1.2
  35  */
  36 public interface SwingConstants {
  37 
  38         /**
  39          * The central position in an area. Used for
  40          * both compass-direction constants (NORTH, etc.)
  41          * and box-orientation constants (TOP, etc.).
  42          */
  43         public static final int CENTER  = 0;
  44 
  45         //
  46         // Box-orientation constant used to specify locations in a box.
  47         //
  48         /**
  49          * Box-orientation constant used to specify the top of a box.
  50          */
  51         public static final int TOP     = 1;
  52         /**
  53          * Box-orientation constant used to specify the left side of a box.
  54          */