return;
}
// CraigM:03/07/2008 - Added a special read only flag so combo boxes can be focusable but not editable.
else if (comp instanceof AutoResizingComboBox) {
AutoResizingComboBox autoResizingComboBox = (AutoResizingComboBox)comp;
switch (state) {
case Constants.FS_UPDATE:
autoResizingComboBox.setReadOnly(false);
Enabled.set(comp, true);
Visible.set(comp, true);
Focusable.set(comp, true);
removeSelectionListener(comp);
break;
case Constants.FS_DISABLED:
autoResizingComboBox.setReadOnly(false);
Enabled.set(comp, false);
Visible.set(comp, true);
Focusable.set(comp, false);
removeSelectionListener(comp);
break;
case Constants.FS_INVISIBLE:
autoResizingComboBox.setReadOnly(false);
Enabled.set(comp, false);
Visible.set(comp, false);
Focusable.set(comp, false);
removeSelectionListener(comp);
break;
case Constants.FS_VIEWONLY:
autoResizingComboBox.setReadOnly(true);
Enabled.set(comp, true);
Visible.set(comp, true);
Focusable.set(comp, true);
removeSelectionListener(comp);
break;
case Constants.FS_INACTIVE:
autoResizingComboBox.setReadOnly(false);
Enabled.set(comp, false);
Visible.set(comp, true);
Focusable.set(comp, false);
removeSelectionListener(comp);
break;
case Constants.FS_SELECTONLY:
// TF:08/11/2009:Changed this so it's not enabled
autoResizingComboBox.setReadOnly(true);
Enabled.set(comp, false);
Visible.set(comp, true);
Focusable.set(comp, false);
// TF:27/04/2009:Changed this to use the new selection listener method
addSelectionListener(comp);