Search in sources :

Example 1 with GroupCellEditor

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

the class EventStatusView 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)

Example 2 with GroupCellEditor

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

the class StudyStatisticsView 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)

Example 3 with GroupCellEditor

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

the class StatisticsView 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)

Example 4 with GroupCellEditor

use of org.jmesa.view.editor.GroupCellEditor 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

Column (org.jmesa.view.component.Column)4 CellEditor (org.jmesa.view.editor.CellEditor)4 GroupCellEditor (org.jmesa.view.editor.GroupCellEditor)4