boolean toggle;
if (!isSelectionUsesKeyboard()) toggle = true;
else toggle = mouseEvt.getCtrlKey();
boolean extend = mouseEvt.getShiftKey();
ItsNatTableHeaderCellUI headerCellInfo = null;
if (header != null)
{
// Vemos si ha sido pulsada la cabecera
headerCellInfo = header.processEvent(nodeClicked,toggle,extend);
if ((headerCellInfo != null) && (isRowSelectionAllowed() || isColumnSelectionAllowed()))
{
// Adem�s seleccionamos la columna de la tabla
int column = headerCellInfo.getIndex();
changeColumnSelection(column,toggle,extend);
}
}
if ((headerCellInfo == null) && (isRowSelectionAllowed() || isColumnSelectionAllowed()))