public void setSwingFocus(ICFLibAnyObj value) { final String S_ProcName = "setSwingFocus"; if ((value == null) || (value instanceof ICFBamTextColObj)) { super.setSwingFocus(value); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException(getClass(), S_ProcName, "value", value, "ICFBamTextColObj"); } }
public void setPanelMode(CFJPanel.PanelMode value) { final String S_ProcName = "setPanelMode"; CFJPanel.PanelMode oldMode = getPanelMode(); if (oldMode == value) { return; } if ((value != CFJPanel.PanelMode.Unknown) && (value != CFJPanel.PanelMode.View) && (value != CFJPanel.PanelMode.Delete)) { throw CFLib.getDefaultExceptionFactory() .newUsageException( getClass(), S_ProcName, "AskDeleteJPanels only support PanelMode Unknown, View or Delete"); } super.setPanelMode(value); if (attrJPanel != null) { ((ICFBamSwingPopSubDep3JPanelCommon) attrJPanel).setPanelMode(value); } }
public void setSwingFocus(ICFLibAnyObj value) { final String S_ProcName = "setSwingFocus"; if ((value == null) || (value instanceof ICFBamServerListFuncObj)) { super.setSwingFocus(value); } else { throw CFLib.getDefaultExceptionFactory() .newUnsupportedClassException( getClass(), S_ProcName, "value", value, "ICFBamServerListFuncObj"); } if (dataTable == null) { return; } if (value == null) { dataTable.clearSelection(); } else { ICFBamServerListFuncObj curSelected; PickerTableModel tblDataModel = getDataModel(); int selectedRow = dataTable.getSelectedRow(); int modelIndex = dataTable.convertRowIndexToModel(selectedRow); if (selectedRow >= 0) { Object selectedRowData = tblDataModel.getValueAt(modelIndex, COLID_ROW_HEADER); curSelected = (ICFBamServerListFuncObj) selectedRowData; } else { curSelected = null; } if (curSelected != value) { int len = tblDataModel.getRowCount(); int idx = 0; while ((idx < len) && (tblDataModel.getValueAt(idx, COLID_ROW_HEADER) != value)) { idx++; } if (idx < len) { int viewRow = dataTable.convertRowIndexToView(idx); dataTable.clearSelection(); dataTable.addRowSelectionInterval(viewRow, viewRow); } } } }
public void setPanelMode(CFJPanel.PanelMode value) { super.setPanelMode(value); }
public void setPanelMode(CFJPanel.PanelMode value) { super.setPanelMode(value); ((ICFBamSwingStringColJPanelCommon) attrJPanel).setPanelMode(value); ((ICFBamSwingStringColJPanelCommon) eltJTabbedPane).setPanelMode(value); }
public void setPanelMode(CFJPanel.PanelMode value) { super.setPanelMode(value); ((ICFBamSwingProjectBaseJPanelCommon) attrJPanel).setPanelMode(value); ((ICFBamSwingProjectBaseJPanelCommon) eltJTabbedPane).setPanelMode(value); }