public int getAlignment() {
		checkWidget();
		if ((style & SWT.ARROW) != 0) {
			if ((style & SWT.UP) != 0)
				return SWT.UP;
			if ((style & SWT.DOWN) != 0)
				return SWT.DOWN;
			if ((style & SWT.LEFT) != 0)
				return SWT.LEFT;
			if ((style & SWT.RIGHT) != 0)
				return SWT.RIGHT;
			return SWT.UP;
		}
		if ((style & SWT.LEFT) != 0)
			return SWT.LEFT;
		if ((style & SWT.CENTER) != 0)
			return SWT.CENTER;
		if ((style & SWT.RIGHT) != 0)
			return SWT.RIGHT;
		return SWT.LEFT;
	}