Creates the list of {@link ListViewColumn}s to be used for a {@link ListView}s and their likes.

@see View#getColumns()
@since 2.37
507411
public static List<ListViewColumn> createDefaultInitialColumnList(View view) {
        return createDefaultInitialColumnList(DescriptorVisibilityFilter.apply(view, ListViewColumn.all()));
    }
771989
public List<BaseColumn> getExpandedColumns() {
        final List<BaseColumn> columns = new ArrayList<BaseColumn>();
        columns.add(rowNumberCol);
        columns.add(descriptionCol);
        columns.addAll(metadataCols);
        columns.addAll(attributeCols);
        for (CompositeColumn<?> cc : this.conditionPatterns) {
            boolean explode = !(cc instanceof LimitedEntryCol);
            if (explode) {
                for (BaseColumn bc : cc.getChildColumns()) {
                    columns.add(bc);
                }
            } else {
                columns.add(cc);
            }
        }
        for (ActionCol52 ac : this.actionCols) {
            if (ac instanceof BRLActionColumn) {
                if (ac instanceof LimitedEntryCol) {
                    columns.add(ac);
                } else {
                    final BRLActionColumn bac = (BRLActionColumn) ac;
                    for (BRLActionVariableColumn variable : bac.getChildColumns()) {
                        columns.add(variable);
                    }
                }
            } else {
                columns.add(ac);
            }
        }
        return columns;
    }
1154922
public ArrayList<String> getAllColumns() {
		ArrayList<String> columns = new ArrayList<String>();
		for (String col : columnLookup.keySet()) {
			columns.add(col);
		}
		return columns;
	}
739765
public List<I_CmsDataViewItem> getSelection() {

        List<I_CmsDataViewItem> result = Lists.newArrayList();
        Object val = m_table.get().getValue();
        if (val == null) {
            return result;
        }
        if (val instanceof Collection) {
            Collection<?> results = (Collection<?>)val;
            for (Object obj : results) {
                result.add(m_dataView.getItemById((String)obj));
            }
        } else {
            result.add(m_dataView.getItemById((String)val));
        }
        return result;

    }
886349
public void setColumns(List<Cell> columns)
    {
        for (Cell column : columns)
        {
            putColumn(CellUtil.cloneFamily(column), CellUtil.cloneQualifier(column), CellUtil.cloneValue(column));
        }
    }
503688
public String[] getAllColumns() {
        if (cachedAllColumns == null) {
            cachedAllColumns = new ArrayList<String>(getColumnAttributeMappings().keySet())
                    .toArray(ArrayUtils.EMPTY_STRING_ARRAY);
        }
        return cachedAllColumns;
    }
161970
public String[] getColumnNames() {
		Set<String> attrNameSet = getColumns().keySet();
		return attrNameSet.toArray(new String[attrNameSet.size()]);
	}
843103
@Override
    public String[] columnNames() {
        return getInputSchema().getColumnNames().toArray(new String[getInputSchema().getColumnNames().size()]);
    }
302538
public int getColumns() {
        return (java.lang.Integer) getStateHelper().eval(PropertyKeys.columns, Integer.MIN_VALUE);

    }
689909
public List<ColumnResult<ConstructorResult<T>>> getAllColumn()
   {
      List<ColumnResult<ConstructorResult<T>>> list = new ArrayList<ColumnResult<ConstructorResult<T>>>();
      List<Node> nodeList = childNode.get("column");
      for(Node node: nodeList)
      {
         ColumnResult<ConstructorResult<T>>  type = new ColumnResultImpl<ConstructorResult<T>>(this, "column", childNode, node);
         list.add(type);
      }
      return list;
   }
94502
private function _getColumns()
    {
        $columns = [];
        foreach ($this->_config['columns'] as $data) {
            $columns[] = new Column($data, $this->_config['view_name']);
        }
        return $columns;
    }
200934
public static List<UserCustomColumn> createRequiredColumns(int startingIndex) {

		List<UserCustomColumn> columns = new ArrayList<>();
		columns.add(createBaseIdColumn(startingIndex++));
		columns.add(createRelatedIdColumn(startingIndex++));

		return columns;
	}
467756
public List<CategoricalColumn<?>> categoricalColumns(String... columnName) {
        List<CategoricalColumn<?>> cols = new ArrayList<>(columnName.length);
        for (String aColumnName : columnName) {
            cols.add(categoricalColumn(aColumnName));
        }
        return cols;
    }
783660
public ArrayList<View> getCustomViews(String viewName)
    {
        ArrayList<View> returnViews = new ArrayList<View>();
        for(View v: this.getViews())
        {
            if(v.getClass().getSimpleName().equals(viewName))
                returnViews.add(v);
        }

        return returnViews;
    }
1266111
public String[] buildColumnsAs(Map<String, String> columns) {

		String[] columnNames = table.getColumnNames();
		String[] columnsAs = new String[columnNames.length];

		for (int i = 0; i < columnNames.length; i++) {
			String column = columnNames[i];
			columnsAs[i] = columns.get(column);
		}

		return columnsAs;
	}
1253285
public List<Column<?>> columns(int... columnIndices) {
        List<Column<?>> cols = new ArrayList<>(columnIndices.length);
        for (int i : columnIndices) {
            cols.add(column(i));
        }
        return cols;
    }
1269036
protected List<ListGridField> createAndGetListGridFields() {
		List<ListGridField> fields = new ArrayList<ListGridField>();

		ListGridField labelFld = new ListGridField(FLD_LABEL,
				MESSAGES.layerListGridColumnLayerName(), FLD_LABEL_WIDTH);

		ListGridField visibilityFld = new ListGridField(FLD_VISIBILITY,
				MESSAGES.layerListGridColumnVisibilityName(), FLD_VISIBILITY_WIDTH);
		visibilityFld.setType(ListGridFieldType.IMAGE);
		visibilityFld.setAlign(Alignment.CENTER);
		addCellClickHandler(new CellClickHandler() {
			@Override
			public void onCellClick(CellClickEvent cellClickEvent) {
				if (cellClickEvent.getColNum() == getFieldNum(FLD_VISIBILITY)) {
					handler.onToggleVisibility((Layer) cellClickEvent.getRecord().getAttributeAsObject(FLD_OBJECT));
				}
			}
		});

		fields.add(visibilityFld);
		fields.add(labelFld);
		return fields;
	}