Search in sources :

Example 6 with CellEditor

use of org.jmesa.view.editor.CellEditor in project OpenClinica by OpenClinica.

the class StudySubjectStatusView method setCustomCellEditors.

/**
	     * Setting the group cell editor.
	     */
private void setCustomCellEditors() {
    List<Column> columns = getTable().getRow().getColumns();
    for (Column column : columns) {
        CellEditor decoratedCellEditor = column.getCellRenderer().getCellEditor();
        column.getCellRenderer().setCellEditor(new GroupCellEditor(decoratedCellEditor));
    }
}
Also used : Column(org.jmesa.view.component.Column) GroupCellEditor(org.jmesa.view.editor.GroupCellEditor) CellEditor(org.jmesa.view.editor.CellEditor) GroupCellEditor(org.jmesa.view.editor.GroupCellEditor)

Aggregations

CellEditor (org.jmesa.view.editor.CellEditor)6 Column (org.jmesa.view.component.Column)5 GroupCellEditor (org.jmesa.view.editor.GroupCellEditor)4 ArrayList (java.util.ArrayList)2 List (java.util.List)2 RuleActionBean (org.akaza.openclinica.domain.rule.action.RuleActionBean)2 BasicCellEditor (org.jmesa.view.editor.BasicCellEditor)2 HtmlColumn (org.jmesa.view.html.component.HtmlColumn)2 HtmlRow (org.jmesa.view.html.component.HtmlRow)2 HtmlTable (org.jmesa.view.html.component.HtmlTable)2 Row (org.jmesa.view.component.Row)1 Table (org.jmesa.view.component.Table)1 HtmlBuilder (org.jmesa.view.html.HtmlBuilder)1