Package org.gwtoolbox.widget.client.table.basic

Examples of org.gwtoolbox.widget.client.table.basic.Cell


        }
        if (selectedCellElement != null) {
            UIUtils.removeStyleName(selectedCellElement, options.getSelectionStyleName());
        }
        selectedCellElement = cellElement;
        selectedCell = new Cell(row, column);
        UIUtils.addStyleName(selectedCellElement, options.getSelectionStyleName());
        UIUtils.removeStyleName(selectedCellElement, options.getHoverStyleName());
        notifyCellSelected(row, column);
    }
View Full Code Here


    public void uninstall() {
        table = null;
    }

    public void handleCellClicked(int row, int column, Event event) {
        selectCell(new Cell(row, column), event.getCtrlKey());
    }
View Full Code Here

    public Selection getSelection() {
        return this;
    }

    public boolean isCellSelected(int row, int column) {
        return isCellSelected(new Cell(row, column));
    }
View Full Code Here

    public List<Cell> getSelectedCells() {
        return selectedCells;
    }

    public void selectCell(int row, int column) {
        selectCell(new Cell(row, column), false);
    }
View Full Code Here

            unselectCell(cell);
        }
    }

    public void unselectCell(int row, int column) {
        unselectCell(new Cell(row, column));
    }
View Full Code Here

TOP

Related Classes of org.gwtoolbox.widget.client.table.basic.Cell

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.