Example #1
0
 /** Make a default screen. */
 public ScreenParent makeScreen(
     ScreenLoc itsLocation,
     ComponentParent parentScreen,
     int iDocMode,
     Map<String, Object> properties) {
   ScreenParent screen = null;
   if ((iDocMode & ScreenConstants.MAINT_MODE) == ScreenConstants.MAINT_MODE)
     screen =
         Record.makeNewScreen(
             COUNTRY_SCREEN_CLASS,
             itsLocation,
             parentScreen,
             iDocMode | ScreenConstants.DONT_DISPLAY_FIELD_DESC,
             properties,
             this,
             true);
   else if ((iDocMode & ScreenConstants.DISPLAY_MODE) == ScreenConstants.DISPLAY_MODE)
     screen =
         Record.makeNewScreen(
             COUNTRY_GRID_SCREEN_CLASS,
             itsLocation,
             parentScreen,
             iDocMode | ScreenConstants.DONT_DISPLAY_FIELD_DESC,
             properties,
             this,
             true);
   else screen = super.makeScreen(itsLocation, parentScreen, iDocMode, properties);
   return screen;
 }
Example #2
0
 /** Get the table name. */
 public String getTableNames(boolean bAddQuotes) {
   return (m_tableName == null)
       ? Record.formatTableNames(COUNTRY_FILE, bAddQuotes)
       : super.getTableNames(bAddQuotes);
 }