javax.swing.SwingConstants


A collection of constants generally used for positioning and orienting components on the screen.

package javax.swing;

public interface SwingConstants {

	public static final int CENTER  = 0;	// (>Swing1.1b3, >JDK1.2fcs)
	public static final int TOP     = 1;	// (>Swing1.1b3, >JDK1.2fcs)
	public static final int LEFT    = 2;	// (>Swing1.1b3, >JDK1.2fcs)
	public static final int BOTTOM  = 3;	// (>Swing1.1b3, >JDK1.2fcs)
	public static final int RIGHT   = 4;	// (>Swing1.1b3, >JDK1.2fcs)

	public static final int NORTH      = 1;	// (>Swing1.1b3, >JDK1.2fcs)
	public static final int NORTH_EAST = 2;	// (>Swing1.1b3, >JDK1.2fcs)
	public static final int EAST       = 3;	// (>Swing1.1b3, >JDK1.2fcs)
	public static final int SOUTH_EAST = 4;	// (>Swing1.1b3, >JDK1.2fcs)
	public static final int SOUTH      = 5;	// (>Swing1.1b3, >JDK1.2fcs)
	public static final int SOUTH_WEST = 6;	// (>Swing1.1b3, >JDK1.2fcs)
	public static final int WEST       = 7;	// (>Swing1.1b3, >JDK1.2fcs)
	public static final int NORTH_WEST = 8;	// (>Swing1.1b3, >JDK1.2fcs)

	public static final int HORIZONTAL = 0;	// (>Swing1.1b3, >JDK1.2fcs)
	public static final int VERTICAL   = 1;	// (>Swing1.1b3, >JDK1.2fcs)

	public static final int LEADING  = 10;	// (>Swing1.1b3, >JDK1.2fcs)
	public static final int TRAILING = 11;	// (>Swing1.1b3, >JDK1.2fcs)
}

Christophe Merlet
redfox@redfoxcenter.org
©Tous droits réservés
2 janvier 1999