public boolean init() { for (int i = 0; i < super.getComponentCount(); i++) { Object objCur = super.getComponent(i); if (!(objCur instanceof IFAbs)) continue; IFAbs ifeCur = (IFAbs) objCur; if (!ifeCur.init()) return false; /*ifeCur.setVisible(true); try { ifeCur.setSelected(true); } catch (PropertyVetoException ex) { ex.printStackTrace(); return false; }*/ } return true; }
public void setContextualHelpID() { for (int i = 0; i < super.getComponentCount(); i++) { Object objCur = super.getComponent(i); if (!(objCur instanceof IFAbs)) continue; IFAbs ifeCur = (IFAbs) objCur; ifeCur.setContextualHelpID(); } }
public void destroy() { for (int i = 0; i < super.getComponentCount(); i++) { Object objCur = super.getComponent(i); if (!(objCur instanceof IFAbs)) continue; IFAbs ifeCur = (IFAbs) objCur; if (ifeCur != null) { ifeCur.destroy(); ifeCur = null; } } }
public void setSelectedTaskJarToSig() { String strMethod = "setSelectedTaskJarToSig()"; IFAbs ifeTarget = null; for (int i = 0; i < super.getComponentCount(); i++) { Object objCur = super.getComponent(i); if (!(objCur instanceof IFAbs)) continue; IFAbs ifeCur = (IFAbs) objCur; if (ifeCur instanceof IFKstOpenJarVerif) { ifeTarget = ifeCur; continue; } if (ifeCur.isVisible()) ifeCur.setVisible(false); } if (ifeTarget == null) // !! BUG return; if (ifeTarget.isIcon()) { try { ifeTarget.setIcon(false); } catch (PropertyVetoException ex) { ex.printStackTrace(); MySystem.s_printOutExit(this, strMethod, ex.getMessage() + "\n exiting"); } } if (!ifeTarget.isVisible()) ifeTarget.setVisible(true); ifeTarget.toFront(); }