/** * Free. */ public void free() { super.free(); } /**
/** * Free. */ public void free() { super.free(); } /**
/** * Free. */ public void free() { super.free(); } /**
/** * Free. */ public void free() { m_StaticString = null; super.free(); } /**
/** * Free. */ public void free() { m_StaticString = null; super.free(); } /**
/** * Free. */ public void free() { super.free(); } /**
/** * Free. */ public void free() { super.free(); } }
/** * Free. */ public void free() { super.free(); } /**
/** * Free. */ public void free() { super.free(); } }
/** * Free Method. */ public void free() { m_sHtmlView.free(); super.free(); } /**
/** * Free. */ public void free() { if (m_DependentConverter != null) { if (m_DependentConverter.getField() == null) m_DependentConverter.free(); // Special case, must remove converter m_DependentConverter = null; } super.free(); } /**
/** * Free. */ public void free() { if (m_DependentConverter != null) { if (m_DependentConverter.getField() == null) m_DependentConverter.free(); // Special case, must remove converter m_DependentConverter = null; } super.free(); } /**
/** * Free all the child sFields. * @param bIncludeToolScreens If true, also free the toolScreens. */ public void freeAllSFields(boolean bIncludeToolScreens) { int iToolScreens = 0; while (this.getSFieldCount() > iToolScreens) { // First, get rid of all child screens. ScreenField sField = this.getSField(iToolScreens); if ((!bIncludeToolScreens) && (sField instanceof ToolScreen)) iToolScreens++; else sField.free(); } } /**
/** * Free all the child sFields. * @param bIncludeToolScreens If true, also free the toolScreens. */ public void freeAllSFields(boolean bIncludeToolScreens) { int iToolScreens = 0; while (this.getSFieldCount() > iToolScreens) { // First, get rid of all child screens. ScreenField sField = this.getSField(iToolScreens); if ((!bIncludeToolScreens) && (sField instanceof ToolScreen)) iToolScreens++; else sField.free(); } } /**
/** * Remove this screen field from this screen. * @param sField The screen field to add. * @return true if successful (if found). */ public boolean removeSField(ScreenField sField) { // This call is used when a SField is deleted boolean bFlag = false; if (m_SFieldList.contains(sField)) { // This should only be called for Imaged GridScreens (Child windows would be deleted by now if Component) bFlag = m_SFieldList.removeElement(sField); if (sField.getScreenFieldView() != null) if (sField.getScreenFieldView().getControl() != null) // If it isn't being delete x now, do it sField.free(); } return bFlag; } /**
/** * Free. */ public void free() { if (m_recordOwnerCollection != null) m_recordOwnerCollection.free(); m_recordOwnerCollection = null; if (m_registration != null) ((UserProperties)m_registration).free(); m_registration = null; this.freeAllSFields(true); m_SFieldList = null; super.free(); } /**
/** * Free. */ public void free() { if (m_recordOwnerCollection != null) m_recordOwnerCollection.free(); m_recordOwnerCollection = null; if (m_registration != null) ((UserProperties)m_registration).free(); m_registration = null; this.freeAllSFields(true); m_SFieldList = null; super.free(); } /**
/** * Add the menus that belong with this screen. */ public void addScreenMenus() { AppletScreen appletScreen = this.getAppletScreen(); if (appletScreen != null) { ScreenField menuBar = appletScreen.getSField(0); if ((menuBar == null) || (!(menuBar instanceof SGridMenuBar))) { if (menuBar instanceof SBaseMenuBar) menuBar.free(); // Wrong menu new SGridMenuBar(new ScreenLocation(ScreenConstants.FIRST_SCREEN_LOCATION, ScreenConstants.SET_ANCHOR), appletScreen, null, ScreenConstants.DONT_DISPLAY_FIELD_DESC); } } } /**
/** * Add the menus that belong with this screen. */ public void addScreenMenus() { AppletScreen appletScreen = this.getAppletScreen(); if (appletScreen != null) { ScreenField menuBar = appletScreen.getSField(0); if ((menuBar == null) || (!(menuBar instanceof SMenuBar))) { if (menuBar instanceof SBaseMenuBar) menuBar.free(); // Wrong menu new SMenuBar(new ScreenLocation(ScreenConstants.FIRST_SCREEN_LOCATION, ScreenConstants.SET_ANCHOR), appletScreen, null, ScreenConstants.DONT_DISPLAY_FIELD_DESC, null); } } } /**
/** * Add the menus that belong with this screen. */ public void addScreenMenus() { AppletScreen appletScreen = this.getAppletScreen(); if (appletScreen != null) { ScreenField menuBar = appletScreen.getSField(0); if ((menuBar == null) || (!(menuBar instanceof SGridMenuBar))) { if (menuBar instanceof SBaseMenuBar) menuBar.free(); // Wrong menu new SGridMenuBar(new ScreenLocation(ScreenConstants.FIRST_SCREEN_LOCATION, ScreenConstants.SET_ANCHOR), appletScreen, null, ScreenConstants.DONT_DISPLAY_FIELD_DESC, null); } } } /**