if (this.table.getDragEnabled() && col.isVisible()) {
state = Constants.FS_DRAG;
}
// TF:19/06/2008:Split this out to a separate method
OutlineColumnDesc desc = new OutlineColumnDesc(col.getAlignment(),
false,
false,
// TF:19/06/2008:The max characters actually reflects the current width
//col.getMaxCharacters(),
UIutils.pixelsToCols((int)(col.getWidth() / UIutils.FORTE_COLUMNS_SCALING_FACTOR), this.table),
col.getName(),
col.getSizePolicy(),
state,
(String)col.getHeaderValue(),
col.getTitleMsgNumber());
desc.setActualWidth(col.getWidth());
if (pSetArrayColLink) {
desc.setArrayColumn(col);
}
return desc;
}