home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 25 / IOPROG_25.ISO / SOFT / JavaS / javastar-eval.exe / data1.cab / Help_Files / tutorial / NameDataDecls / MainWin.java < prev    next >
Encoding:
Java Source  |  1999-02-11  |  3.3 KB  |  141 lines

  1. /* Map file generated by JavaStar */
  2.  
  3. package NameData;
  4. import suntest.javastar.lib.*;
  5. import java.awt.*;
  6.  
  7. public class MainWin {
  8.  
  9.   /* Frame */
  10.   public static JSComponent frame(){
  11.     return JS.frame("Name Database");
  12.   }
  13.  
  14.     /* Panel */
  15.     public static JSComponent Namedb(){
  16.       return frame().member("namedb");
  17.     }
  18.  
  19.       /* Label */
  20.       public static JSComponent Name_Database___Untitled_____(){
  21.         return frame().member("java.awt.Label", "Name Database - Untitled     ");
  22.       }
  23.  
  24.       /* Button */
  25.       public static JSComponent Open(){
  26.         return frame().button("Open");
  27.       }
  28.  
  29.       /* Button */
  30.       public static JSComponent Save(){
  31.         return frame().button("Save");
  32.       }
  33.  
  34.       /* Button */
  35.       public static JSComponent Save_as(){
  36.         return frame().button("Save as");
  37.       }
  38.  
  39.       /* Button */
  40.       public static JSComponent Close(){
  41.         return frame().button("Close");
  42.       }
  43.  
  44.       /* Button */
  45.       public static JSComponent Exit(){
  46.         return frame().button("Exit");
  47.       }
  48.  
  49.       /* Button */
  50.       public static JSComponent Add(){
  51.         return frame().button("Add");
  52.       }
  53.  
  54.       /* Button */
  55.       public static JSComponent Change(){
  56.         return frame().button("Change");
  57.       }
  58.  
  59.       /* Button */
  60.       public static JSComponent Remove(){
  61.         return frame().button("Remove");
  62.       }
  63.  
  64.       /* Button */
  65.       public static JSComponent Clear(){
  66.         return frame().button("Clear");
  67.       }
  68.  
  69.       /* Button */
  70.       public static JSComponent Names(){
  71.         return frame().button("Names");
  72.       }
  73.  
  74.       /* Button */
  75.       public static JSComponent Search(){
  76.         return frame().button("Search");
  77.       }
  78.  
  79.       /* Label */
  80.       public static JSComponent __Name(){
  81.         return frame().member("java.awt.Label", "  Name");
  82.       }
  83.  
  84.       /* TextField */
  85.       public static JSComponent nameTextField(){
  86.         return Namedb().member("java.awt.TextField", 0);
  87.       }
  88.  
  89.       /* Label */
  90.       public static JSComponent __Address1_(){
  91.         return frame().member("java.awt.Label", "  Address1");
  92.       }
  93.  
  94.       /* TextField */
  95.       public static JSComponent address1TextField(){
  96.         return Namedb().member("java.awt.TextField", 1);
  97.       }
  98.  
  99.       /* Label */
  100.       public static JSComponent __Address2_(){
  101.         return frame().member("java.awt.Label", "  Address2");
  102.       }
  103.  
  104.       /* TextField */
  105.       public static JSComponent address2TextField(){
  106.         return Namedb().member("java.awt.TextField", 2);
  107.       }
  108.  
  109.       /* Label */
  110.       public static JSComponent __Phone(){
  111.         return frame().member("java.awt.Label", "  Phone");
  112.       }
  113.  
  114.       /* TextField */
  115.       public static JSComponent phoneTextField(){
  116.         return Namedb().member("java.awt.TextField", 3);
  117.       }
  118.  
  119.       /* Label */
  120.       public static JSComponent __Email(){
  121.         return frame().member("java.awt.Label", "  Email");
  122.       }
  123.  
  124.       /* TextField */
  125.       public static JSComponent emailTextField(){
  126.         return Namedb().member("java.awt.TextField", 4);
  127.       }
  128.  
  129.       /* Label */
  130.       public static JSComponent __Other(){
  131.         return frame().member("java.awt.Label", "  Other");
  132.       }
  133.  
  134.       /* TextField */
  135.       public static JSComponent otherTextField(){
  136.         return Namedb().member("java.awt.TextField", 5);
  137.       }
  138.  
  139. }
  140.  
  141.