Package org.eclipse.nebula.widgets.nattable.hover.action

Examples of org.eclipse.nebula.widgets.nattable.hover.action.HoverStylingAction


                new RowResizeEventMatcher(SWT.NONE, 0),
                new RowResizeCursorAction());
        // apply a hover styling on moving the mouse over a NatTable and clear
        // the cursor
        uiBindingRegistry.registerMouseMoveBinding(new MouseEventMatcher(
                GridRegion.ROW_HEADER), new HoverStylingAction(layer));

        // clear any hover styling if the mouse is moved out of the region area
        // uiBindingRegistry.registerMouseMoveBinding(
        // new IMouseEventMatcher() {
        // @Override
View Full Code Here


                            LabelStack regionLabels) {
                        return layer.getClientAreaProvider().getClientArea()
                                .contains(event.x, event.y);
                    }

                }, new HoverStylingAction(layer));

        // clear any hover styling if the mouse is moved out of the region area
        // uiBindingRegistry.registerMouseMoveBinding(
        // new IMouseEventMatcher() {
        // @Override
View Full Code Here

                        GridRegion.COLUMN_HEADER, 0),
                new ColumnResizeCursorAction());
        // apply a hover styling on moving the mouse over a NatTable and clear
        // the cursor
        uiBindingRegistry.registerMouseMoveBinding(new MouseEventMatcher(
                GridRegion.COLUMN_HEADER), new HoverStylingAction(layer));

        // clear any hover styling if the mouse is moved out of a NatTable
        // region
        uiBindingRegistry.registerMouseMoveBinding(new IMouseEventMatcher() {
            @Override
View Full Code Here

                        int height = layer.getPreferredHeight();

                        return ((event.x > 0 && event.x < width) && (event.y > 0 && event.y < height));
                    }

                }, new HoverStylingAction(layer));

        // clear any hover styling if the mouse is moved out of the region area
        uiBindingRegistry.registerMouseMoveBinding(new IMouseEventMatcher() {
            @Override
            public boolean matches(NatTable natTable, MouseEvent event,
View Full Code Here

TOP

Related Classes of org.eclipse.nebula.widgets.nattable.hover.action.HoverStylingAction

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.