/** * Returns the column's display name (= headerValue) of the column * at columnIndex in model coordinates. * * Used f.i. in SearchPanel to fill the field with the * column name.<p> * * Note: it's up to the implementation to decide for which * columns it returns a name - most will do so for the * subset with isTestable = true. * * This implementation delegates to getColumnIdentifierAt and returns it's * toString or null. * * @param columnIndex in model coordinates * @return column name or null if not found */ public String getColumnName(int columnIndex) { Object identifier = getColumnIdentifierAt(columnIndex); return identifier != null ? identifier.toString() : null; }
/** * Returns the column's display name (= headerValue) of the column * at columnIndex in model coordinates. * * Used f.i. in SearchPanel to fill the field with the * column name.<p> * * Note: it's up to the implementation to decide for which * columns it returns a name - most will do so for the * subset with isTestable = true. * * This implementation delegates to getColumnIdentifierAt and returns it's * toString or null. * * @param columnIndex in model coordinates * @return column name or null if not found */ public String getColumnName(int columnIndex) { Object identifier = getColumnIdentifierAt(columnIndex); return identifier != null ? identifier.toString() : null; }
/** * Returns the column's display name (= headerValue) of the column * at columnIndex in model coordinates. * * Used f.i. in SearchPanel to fill the field with the * column name.<p> * * Note: it's up to the implementation to decide for which * columns it returns a name - most will do so for the * subset with isTestable = true. * * This implementation delegates to getColumnIdentifierAt and returns it's * toString or null. * * @param columnIndex in model coordinates * @return column name or null if not found */ public String getColumnName(int columnIndex) { Object identifier = getColumnIdentifierAt(columnIndex); return identifier != null ? identifier.toString() : null; }
/** * Returns the column's display name (= headerValue) of the column * at columnIndex in model coordinates. * * Used f.i. in SearchPanel to fill the field with the * column name.<p> * * Note: it's up to the implementation to decide for which * columns it returns a name - most will do so for the * subset with isTestable = true. * * This implementation delegates to getColumnIdentifierAt and returns it's * toString or null. * * @param columnIndex in model coordinates * @return column name or null if not found */ public String getColumnName(int columnIndex) { Object identifier = getColumnIdentifierAt(columnIndex); return identifier != null ? identifier.toString() : null; }
/** * Returns the column's display name (= headerValue) of the column * at columnIndex in model coordinates. * * Used f.i. in SearchPanel to fill the field with the * column name.<p> * * Note: it's up to the implementation to decide for which * columns it returns a name - most will do so for the * subset with isTestable = true. * * This implementation delegates to getColumnIdentifierAt and returns it's * toString or null. * * @param columnIndex in model coordinates * @return column name or null if not found */ public String getColumnName(int columnIndex) { Object identifier = getColumnIdentifierAt(columnIndex); return identifier != null ? identifier.toString() : null; }
/** * {@inheritDoc} * * This implementation returns true if the adapter's column * is contained in this predicates list. * */ public boolean isHighlighted(Component renderer, ComponentAdapter adapter) { int modelIndex = adapter.viewToModel(adapter.column); Object identifier = adapter.getColumnIdentifierAt(modelIndex); return identifier != null ? columnList.contains(identifier) : false; }
if (identifier.equals(getColumnIdentifierAt(0))) { return 0;
if (identifier.equals(getColumnIdentifierAt(0))) { return 0;
if (identifier.equals(getColumnIdentifierAt(0))) { return 0;
if (identifier.equals(getColumnIdentifierAt(0))) { return 0;
if (identifier.equals(getColumnIdentifierAt(0))) { return 0;
/** * {@inheritDoc} * * This implementation returns true if the adapter's column * is contained in this predicates list. * */ @Override public boolean isHighlighted(Component renderer, ComponentAdapter adapter) { int modelIndex = adapter.convertColumnIndexToModel(adapter.column); Object identifier = adapter.getColumnIdentifierAt(modelIndex); return identifier != null ? columnList.contains(identifier) : false; }
/** * {@inheritDoc} * * This implementation returns true if the adapter's column * is contained in this predicates list. * */ @Override public boolean isHighlighted(Component renderer, ComponentAdapter adapter) { int modelIndex = adapter.convertColumnIndexToModel(adapter.column); Object identifier = adapter.getColumnIdentifierAt(modelIndex); return identifier != null ? columnList.contains(identifier) : false; }
/** * {@inheritDoc} * * This implementation returns true if the adapter's column * is contained in this predicates list. * */ @Override public boolean isHighlighted(Component renderer, ComponentAdapter adapter) { int modelIndex = adapter.convertColumnIndexToModel(adapter.column); Object identifier = adapter.getColumnIdentifierAt(modelIndex); return identifier != null ? columnList.contains(identifier) : false; }
/** * {@inheritDoc} * * This implementation returns true if the adapter's column * is contained in this predicates list. * */ @Override public boolean isHighlighted(Component renderer, ComponentAdapter adapter) { int modelIndex = adapter.convertColumnIndexToModel(adapter.column); Object identifier = adapter.getColumnIdentifierAt(modelIndex); return identifier != null ? columnList.contains(identifier) : false; }