javax.swing

Interface SwingConstants

Known Implementing Classes:
AbstractButton, AsyncBoxView, BasicArrowButton, BasicComboBoxRenderer, BasicComboBoxRenderer.UIResource, BasicInternalFrameUI.BorderListener, BasicScrollBarUI, BasicTabbedPaneUI, BasicToolBarUI, BlockView, BoxView, ComponentView, CompositeView, DefaultListCellRenderer, DefaultListCellRenderer.UIResource, DefaultTableCellRenderer, DefaultTableCellRenderer.UIResource, DefaultTreeCellEditor.DefaultTextField, DefaultTreeCellRenderer, FieldView, FlowView, FormView, FrameSetView, GlyphView, IconView, ImageView, InlineView, JButton, JCheckBox, JCheckBoxMenuItem, JFormattedTextField, JLabel, JMenu, JMenuItem, JPasswordField, JPopupMenu.Separator, JProgressBar, JRadioButton, JRadioButtonMenuItem, JSeparator, JSlider, JTabbedPane, JTextField, JToggleButton, JToolBar, JToolBar.Separator, LabelView, ListView, MetalBorders.ToolBarBorder, MetalComboBoxButton, MetalFileChooserUI.FileRenderer, MetalFileChooserUI.FilterComboBoxRenderer, MetalScrollBarUI, MetalScrollButton, MetalTabbedPaneUI, MetalToolBarUI, ObjectView, ParagraphView, ParagraphView, PasswordView, PlainView, SwingUtilities, TableView, TableView.TableCell, TableView.TableRow, View, WrappedPlainView, ZoneView

public interface SwingConstants

Defines constant values that are used throughout the Swing packages.

Field Summary

static int
BOTTOM
static int
CENTER
static int
EAST
static int
HORIZONTAL
static int
LEADING
static int
LEFT
static int
NEXT
static int
NORTH
static int
NORTH_EAST
static int
NORTH_WEST
static int
PREVIOUS
static int
RIGHT
static int
SOUTH
static int
SOUTH_EAST
static int
SOUTH_WEST
static int
TOP
static int
TRAILING
static int
VERTICAL
static int
WEST

Field Details

BOTTOM

public static final int BOTTOM
Field Value:
3

CENTER

public static final int CENTER
Field Value:
0

EAST

public static final int EAST
Field Value:
3

HORIZONTAL

public static final int HORIZONTAL
Field Value:
0

LEADING

public static final int LEADING
Field Value:
10

LEFT

public static final int LEFT
Field Value:
2

NEXT
Field Value:
12
Since:
1.4

NORTH

public static final int NORTH
Field Value:
1

NORTH_EAST

public static final int NORTH_EAST
Field Value:
2

NORTH_WEST

public static final int NORTH_WEST
Field Value:
8

PREVIOUS
Field Value:
13
Since:
1.4

RIGHT

public static final int RIGHT
Field Value:
4

SOUTH

public static final int SOUTH
Field Value:
5

SOUTH_EAST

public static final int SOUTH_EAST
Field Value:
4

SOUTH_WEST

public static final int SOUTH_WEST
Field Value:
6

TOP

public static final int TOP
Field Value:
1

TRAILING

public static final int TRAILING
Field Value:
11

VERTICAL

public static final int VERTICAL
Field Value:
1

WEST

public static final int WEST
Field Value:
7

SwingConstants.java -- Copyright (C) 2002 Free Software Foundation, Inc. This file is part of GNU Classpath. GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Classpath; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. Linking this library statically or dynamically with other modules is making a combined work based on this library. Thus, the terms and conditions of the GNU General Public License cover the whole combination. As a special exception, the copyright holders of this library give you permission to link this library with independent modules to produce an executable, regardless of the license terms of these independent modules, and to copy and distribute the resulting executable under terms of your choice, provided that you also meet, for each linked independent module, the terms and conditions of the license of that module. An independent module is a module which is not derived from or based on this library. If you modify this library, you may extend 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 exception statement from your version.