javax.swing

Interface SwingConstants

    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int BOTTOM
      Box-orientation constant used to specify the bottom of a box.
      static int CENTER
      The central position in an area.
      static int EAST
      Compass-direction east (right).
      static int HORIZONTAL
      Horizontal orientation.
      static int LEADING
      Identifies the leading edge of text for use with left-to-right and right-to-left languages.
      static int LEFT
      Box-orientation constant used to specify the left side of a box.
      static int NEXT
      Identifies the next direction in a sequence.
      static int NORTH
      Compass-direction North (up).
      static int NORTH_EAST
      Compass-direction north-east (upper right).
      static int NORTH_WEST
      Compass-direction north west (upper left).
      static int PREVIOUS
      Identifies the previous direction in a sequence.
      static int RIGHT
      Box-orientation constant used to specify the right side of a box.
      static int SOUTH
      Compass-direction south (down).
      static int SOUTH_EAST
      Compass-direction south-east (lower right).
      static int SOUTH_WEST
      Compass-direction south-west (lower left).
      static int TOP
      Box-orientation constant used to specify the top of a box.
      static int TRAILING
      Identifies the trailing edge of text for use with left-to-right and right-to-left languages.
      static int VERTICAL
      Vertical orientation.
      static int WEST
      Compass-direction west (left).

      SwingConstants (Java Platform SE 7 ) Home of API Java Contents Haut

    • Field Detail

      • CENTER

        static final int CENTER
        The central position in an area. Used for both compass-direction constants (NORTH, etc.) and box-orientation constants (TOP, etc.).
        See Also:
        Constant Field Values
      • TOP

        static final int TOP
        Box-orientation constant used to specify the top of a box.
        See Also:
        Constant Field Values
      • LEFT

        static final int LEFT
        Box-orientation constant used to specify the left side of a box.
        See Also:
        Constant Field Values
      • BOTTOM

        static final int BOTTOM
        Box-orientation constant used to specify the bottom of a box.
        See Also:
        Constant Field Values
      • RIGHT

        static final int RIGHT
        Box-orientation constant used to specify the right side of a box.
        See Also:
        Constant Field Values
      • NORTH_EAST

        static final int NORTH_EAST
        Compass-direction north-east (upper right).
        See Also:
        Constant Field Values
      • SOUTH_EAST

        static final int SOUTH_EAST
        Compass-direction south-east (lower right).
        See Also:
        Constant Field Values
      • SOUTH_WEST

        static final int SOUTH_WEST
        Compass-direction south-west (lower left).
        See Also:
        Constant Field Values
      • NORTH_WEST

        static final int NORTH_WEST
        Compass-direction north west (upper left).
        See Also:
        Constant Field Values
      • HORIZONTAL

        static final int HORIZONTAL
        Horizontal orientation. Used for scrollbars and sliders.
        See Also:
        Constant Field Values
      • VERTICAL

        static final int VERTICAL
        Vertical orientation. Used for scrollbars and sliders.
        See Also:
        Constant Field Values
      • LEADING

        static final int LEADING
        Identifies the leading edge of text for use with left-to-right and right-to-left languages. Used by buttons and labels.
        See Also:
        Constant Field Values
      • TRAILING

        static final int TRAILING
        Identifies the trailing edge of text for use with left-to-right and right-to-left languages. Used by buttons and labels.
        See Also:
        Constant Field Values
      • NEXT

        static final int NEXT
        Identifies the next direction in a sequence.
        Since:
        1.4
        See Also:
        Constant Field Values
      • PREVIOUS

        static final int PREVIOUS
        Identifies the previous direction in a sequence.
        Since:
        1.4
        See Also:
        Constant Field Values

Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/swing/swingconstants.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Manuel PHP : https://docs.oracle.com

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut