Package ariba.ui.table.AWTDataTable

Examples of ariba.ui.table.AWTDataTable.Column


        if (colLVal != null) colLVal.val = null;
        if (_dataTable._renderingPrimaryRow && _showColumnAttributeLabelOnRow) {
            // calculate the actual column used to render our column attribute
            List columns = _dataTable.displayedColumns();
            for (int i = _firstAttributeColumnIndex, count = columns.size(); i < count; i++) {
                Column column = (Column)columns.get(i);
                if (column instanceof PivotEdgeColumn) {
                    column = column.prepareAndReplace(_dataTable);
                    label = column.label(_dataTable);
                    _resetDetailRowIteration();
                    if (!StringUtil.nullOrEmptyOrBlankString(label)) {
                        if (colLVal != null) colLVal.val = column;
                        break;
                    }
View Full Code Here


            if (_dataTable._currentColumnIndex == _lastRowFieldColumnIndex - 1) {
                // Make sure that we indent the label (or value)
                _dataTable.indentNextColumn();
                if (_rowOverrideColumn.renderValueInLabelColumn(_dataTable)) {
                    // display the value here in the attribute area
                    Column col = firstNonEmptyAttributeColumn(group);
                    if (col != null) return col;
                }
                // Swap in RowAttribute -- it will render the *label* of the current row column
                return _RowAttributeLabelColumn;
            }
View Full Code Here

    Column firstNonEmptyAttributeColumn (PivotGroup group)
    {
        List columns = _dataTable.displayedColumns();
        for (int i = _firstAttributeColumnIndex, count = columns.size(); i < count; i++) {
            Column column = (Column)columns.get(i);
            if (column instanceof PivotEdgeColumn
                    && ((PivotEdgeColumn)column).edgeCell().itemInGroup(group) != null) {
                return column;
            }
        }
View Full Code Here

            _canCollapse = false;
        }

        EdgeCell addOrFind(Object object, CellVisitor visitor)
        {
            Column column = visitor._column;
            CellVisitor childVisitor = visitor._next;
            EdgeCell matchingChild = null;

            // If this column is at AttributeColumn, then we need to fan out here
            if (column instanceof PivotAttributesColumn) {
                // if we've been here before then our children are already here
                if (_children == null) {
                    List attributeColumns = ((PivotAttributesColumn)column).columns(object);
                    _children = ListUtil.list();
                    for (int i=0, count=attributeColumns.size(); i < count ; i++) {
                        Column attributeColumn = (Column)attributeColumns.get(i);
                        matchingChild = new EdgeCell(object, null, attributeColumn, this, attributeColumn);
                        _children.add(matchingChild);
                    }
                }
                // recurse
View Full Code Here

TOP

Related Classes of ariba.ui.table.AWTDataTable.Column

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.