Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse Draw2d
3.3

org.eclipse.draw2d
Interface PositionConstants

All Known Subinterfaces:
Orientable
All Known Implementing Classes:
ArrowButton, Label, ScrollBar, Triangle

public interface PositionConstants

Constants representing cardinal directions and relative positions. Some of these constants can be grouped as follows:
LEFT, CENTER, RIGHT Used to describe horizontal position.
TOP, MIDDLE, BOTTOM Used to describe vertical position.
NORTH, SOUTH, EAST, WEST Used to describe the four positions relative to an object's center point. May also be used when describing which direction an object is facing.
NOTE: If you have a use for all four of these possibilities, do not use TOP, BOTTOM, RIGHT, LEFT in place of NORTH, SOUTH, EAST, WEST.


Field Summary
static int ALWAYS_LEFT
          Used to signify left alignment regardless of orientation (i.e., LTR or RTL)
static int ALWAYS_RIGHT
          Used to signify right alignment regardless of orientation (i.e., LTR or RTL)
static int BOTTOM
          Bottom
static int CENTER
          Center (Horizontal)
static int EAST
          East
static int EAST_WEST
          East-West: a bit-wise OR of EAST and WEST
static int HORIZONTAL
          A constant indicating horizontal direction
static int LEFT
          Left
static int LEFT_CENTER_RIGHT
          Bit-wise OR of LEFT, CENTER, and RIGHT
static int MIDDLE
          Middle (Vertical)
static int NONE
          None
static int NORTH
          North
static int NORTH_EAST
          North-East: a bit-wise OR of NORTH and EAST
static int NORTH_SOUTH
          North-South: a bit-wise OR of NORTH and SOUTH
static int NORTH_WEST
          North-West: a bit-wise OR of NORTH and WEST
static int NSEW
          North-South-East-West: a bit-wise OR of all 4 directions.
static int RIGHT
          Right
static int SOUTH
          South
static int SOUTH_EAST
          South-East: a bit-wise OR of SOUTH and EAST
static int SOUTH_WEST
          South-West: a bit-wise OR of SOUTH and WEST
static int TOP
          Top
static int TOP_MIDDLE_BOTTOM
          Bit-wise OR of TOP, MIDDLE, and BOTTOM
static int VERTICAL
          A constant indicating vertical direction
static int WEST
          West
 

Field Detail

NONE

public static final int NONE
None

See Also:
Constant Field Values

LEFT

public static final int LEFT
Left

See Also:
Constant Field Values

CENTER

public static final int CENTER
Center (Horizontal)

See Also:
Constant Field Values

RIGHT

public static final int RIGHT
Right

See Also:
Constant Field Values

LEFT_CENTER_RIGHT

public static final int LEFT_CENTER_RIGHT
Bit-wise OR of LEFT, CENTER, and RIGHT

See Also:
Constant Field Values

ALWAYS_LEFT

public static final int ALWAYS_LEFT
Used to signify left alignment regardless of orientation (i.e., LTR or RTL)

See Also:
Constant Field Values

ALWAYS_RIGHT

public static final int ALWAYS_RIGHT
Used to signify right alignment regardless of orientation (i.e., LTR or RTL)

See Also:
Constant Field Values

TOP

public static final int TOP
Top

See Also:
Constant Field Values

MIDDLE

public static final int MIDDLE
Middle (Vertical)

See Also:
Constant Field Values

BOTTOM

public static final int BOTTOM
Bottom

See Also:
Constant Field Values

TOP_MIDDLE_BOTTOM

public static final int TOP_MIDDLE_BOTTOM
Bit-wise OR of TOP, MIDDLE, and BOTTOM

See Also:
Constant Field Values

NORTH

public static final int NORTH
North

See Also:
Constant Field Values

SOUTH

public static final int SOUTH
South

See Also:
Constant Field Values

WEST

public static final int WEST
West

See Also:
Constant Field Values

EAST

public static final int EAST
East

See Also:
Constant Field Values

HORIZONTAL

public static final int HORIZONTAL
A constant indicating horizontal direction

See Also:
Constant Field Values

VERTICAL

public static final int VERTICAL
A constant indicating vertical direction

See Also:
Constant Field Values

NORTH_EAST

public static final int NORTH_EAST
North-East: a bit-wise OR of NORTH and EAST

See Also:
Constant Field Values

NORTH_WEST

public static final int NORTH_WEST
North-West: a bit-wise OR of NORTH and WEST

See Also:
Constant Field Values

SOUTH_EAST

public static final int SOUTH_EAST
South-East: a bit-wise OR of SOUTH and EAST

See Also:
Constant Field Values

SOUTH_WEST

public static final int SOUTH_WEST
South-West: a bit-wise OR of SOUTH and WEST

See Also:
Constant Field Values

NORTH_SOUTH

public static final int NORTH_SOUTH
North-South: a bit-wise OR of NORTH and SOUTH

See Also:
Constant Field Values

EAST_WEST

public static final int EAST_WEST
East-West: a bit-wise OR of EAST and WEST

See Also:
Constant Field Values

NSEW

public static final int NSEW
North-South-East-West: a bit-wise OR of all 4 directions.

See Also:
Constant Field Values

Eclipse Draw2d
3.3

Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire