Package org.eclipse.nebula.widgets.nattable.ui.util

Examples of org.eclipse.nebula.widgets.nattable.ui.util.CellEdgeEnum


            if (currentEvent.x > natTable.getWidth()) {
                return;
            }

            CellEdgeEnum moveDirection = getMoveDirection(currentEvent.x);
            int dragToGridColumnPosition = getDragToGridColumnPosition(
                    moveDirection,
                    natTable.getColumnPositionByX(currentEvent.x));

            if (isValidTargetColumnPosition(natTable,
View Full Code Here


            if (currentEvent.y > natTable.getHeight()) {
                return;
            }

            CellEdgeEnum moveDirection = getMoveDirection(currentEvent.y);
            int dragToGridRowPosition = getDragToGridRowPosition(moveDirection,
                    natTable.getRowPositionByY(currentEvent.y));

            if (isValidTargetRowPosition(natTable, dragFromGridRowPosition,
                    dragToGridRowPosition)) {
View Full Code Here

                && isNotFilterRegion(regionLabels)
                && isNotColumnGroupRegion(regionLabels);
    }

    private boolean isNearTheHeaderEdge(ILayer natLayer, MouseEvent event) {
        CellEdgeEnum cellEdge = CellEdgeDetectUtil.getHorizontalCellEdge(
                natLayer, new Point(event.x, event.y),
                GUIHelper.DEFAULT_RESIZE_HANDLE_SIZE);
        return cellEdge == CellEdgeEnum.NONE;
    }
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.ui.util.CellEdgeEnum

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.