[BACK]Return to _MyDocument_EOArchive_English.java CVS log [TXT][DIR] Up to [local] / OpenXM / src / cfep / English.lproj / MyDocument.nib

Annotation of OpenXM/src/cfep/English.lproj/MyDocument.nib/_MyDocument_EOArchive_English.java, Revision 1.1.1.1

1.1       takayama    1: // _MyDocument_EOArchive_English.java
                      2: // Generated by EnterpriseObjects palette at 2006\u5e741\u670814\u65e5\u571f\u66dc\u65e5 9\u664236\u520619\u79d2Japan
                      3:
                      4: import com.webobjects.eoapplication.*;
                      5: import com.webobjects.eocontrol.*;
                      6: import com.webobjects.eointerface.*;
                      7: import com.webobjects.eointerface.swing.*;
                      8: import com.webobjects.foundation.*;
                      9: import java.awt.*;
                     10: import javax.swing.*;
                     11: import javax.swing.border.*;
                     12: import javax.swing.table.*;
                     13: import javax.swing.text.*;
                     14:
                     15: public class _MyDocument_EOArchive_English extends com.webobjects.eoapplication.EOArchive {
                     16:     IBHelpConnector _iBHelpConnector0, _iBHelpConnector1;
                     17:     com.webobjects.eointerface.swing.EOFrame _eoFrame0;
                     18:     com.webobjects.eointerface.swing.EOTextArea _nsTextView0, _nsTextView1;
                     19:     com.webobjects.eointerface.swing.EOTextField _nsTextField0, _nsTextField1;
                     20:     com.webobjects.eointerface.swing.EOView _nsBox0, _nsBox1;
                     21:     javax.swing.JButton _nsButton0, _nsButton1, _nsButton2;
                     22:     javax.swing.JCheckBox _nsButton3;
                     23:     javax.swing.JPanel _nsView0;
                     24:
                     25:     public _MyDocument_EOArchive_English(Object owner, NSDisposableRegistry registry) {
                     26:         super(owner, registry);
                     27:     }
                     28:
                     29:     protected void _construct() {
                     30:         Object owner = _owner();
                     31:         EOArchive._ObjectInstantiationDelegate delegate = (owner instanceof EOArchive._ObjectInstantiationDelegate) ? (EOArchive._ObjectInstantiationDelegate)owner : null;
                     32:         Object replacement;
                     33:
                     34:         super._construct();
                     35:
                     36:         _nsBox1 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSView");
                     37:         _nsBox0 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSBox1");
                     38:         _iBHelpConnector1 = (IBHelpConnector)_registered(new IBHelpConnector(), "");
                     39:         _nsButton3 = (javax.swing.JCheckBox)_registered(new javax.swing.JCheckBox("selected"), "NSButton3");
                     40:         _nsButton2 = (javax.swing.JButton)_registered(new javax.swing.JButton("Interrupt"), "NSButton1");
                     41:         _nsButton1 = (javax.swing.JButton)_registered(new javax.swing.JButton("Render Output Window"), "NSButton2");
                     42:         _iBHelpConnector0 = (IBHelpConnector)_registered(new IBHelpConnector(), "");
                     43:         _nsButton0 = (javax.swing.JButton)_registered(new javax.swing.JButton("Evaluate"), "NSButton");
                     44:
                     45:         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "outputCounterField")) != null)) {
                     46:             _nsTextField1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement;
                     47:             _replacedObjects.setObjectForKey(replacement, "_nsTextField1");
                     48:         } else {
                     49:             _nsTextField1 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField1111");
                     50:         }
                     51:
                     52:         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "inputCounterField")) != null)) {
                     53:             _nsTextField0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement;
                     54:             _replacedObjects.setObjectForKey(replacement, "_nsTextField0");
                     55:         } else {
                     56:             _nsTextField0 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField111");
                     57:         }
                     58:
                     59:         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "textViewOut")) != null)) {
                     60:             _nsTextView1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextArea)replacement;
                     61:             _replacedObjects.setObjectForKey(replacement, "_nsTextView1");
                     62:         } else {
                     63:             _nsTextView1 = (com.webobjects.eointerface.swing.EOTextArea)_registered(new com.webobjects.eointerface.swing.EOTextArea(), "NSTextView");
                     64:         }
                     65:
                     66:         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "textViewIn")) != null)) {
                     67:             _nsTextView0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextArea)replacement;
                     68:             _replacedObjects.setObjectForKey(replacement, "_nsTextView0");
                     69:         } else {
                     70:             _nsTextView0 = (com.webobjects.eointerface.swing.EOTextArea)_registered(new com.webobjects.eointerface.swing.EOTextArea(), "NSTextView");
                     71:         }
                     72:
                     73:         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "window")) != null)) {
                     74:             _eoFrame0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOFrame)replacement;
                     75:             _replacedObjects.setObjectForKey(replacement, "_eoFrame0");
                     76:         } else {
                     77:             _eoFrame0 = (com.webobjects.eointerface.swing.EOFrame)_registered(new com.webobjects.eointerface.swing.EOFrame(), "Window");
                     78:         }
                     79:
                     80:         _nsView0 = (JPanel)_eoFrame0.getContentPane();
                     81:     }
                     82:
                     83:     protected void _awaken() {
                     84:         super._awaken();
                     85:         _nsButton3.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "oxEvaluateSelected", _nsButton3), ""));
                     86:         _nsButton2.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "oxInterrupt", _nsButton2), ""));
                     87:         _nsButton1.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "oxRenderOutput", _nsButton1), ""));
                     88:         _nsButton0.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "oxEvaluate", _nsButton0), ""));
                     89:
                     90:         if (_replacedObjects.objectForKey("_eoFrame0") == null) {
                     91:             _connect(_eoFrame0, _owner(), "delegate");
                     92:         }
                     93:
                     94:         if (_replacedObjects.objectForKey("_nsTextField1") == null) {
                     95:             _connect(_owner(), _nsTextField1, "outputCounterField");
                     96:         }
                     97:
                     98:         if (_replacedObjects.objectForKey("_nsTextField0") == null) {
                     99:             _connect(_owner(), _nsTextField0, "inputCounterField");
                    100:         }
                    101:
                    102:         if (_replacedObjects.objectForKey("_nsTextView1") == null) {
                    103:             _connect(_owner(), _nsTextView1, "textViewOut");
                    104:         }
                    105:
                    106:         if (_replacedObjects.objectForKey("_eoFrame0") == null) {
                    107:             _connect(_owner(), _eoFrame0, "window");
                    108:         }
                    109:
                    110:         if (_replacedObjects.objectForKey("_nsTextView0") == null) {
                    111:             _connect(_owner(), _nsTextView0, "textViewIn");
                    112:         }
                    113:     }
                    114:
                    115:     protected void _init() {
                    116:         super._init();
                    117:         if (!(_nsBox0.getLayout() instanceof EOViewLayout)) { _nsBox0.setLayout(new EOViewLayout()); }
                    118:         _nsBox1.setSize(125, 1);
                    119:         _nsBox1.setLocation(2, 2);
                    120:         ((EOViewLayout)_nsBox0.getLayout()).setAutosizingMask(_nsBox1, EOViewLayout.MinYMargin);
                    121:         _nsBox0.add(_nsBox1);
                    122:         _nsBox0.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("", true, "Lucida Grande", 13, Font.PLAIN));
                    123:         _setFontForComponent(_nsButton3, "Lucida Grande", 13, Font.PLAIN);
                    124:         _setFontForComponent(_nsButton2, "Lucida Grande", 13, Font.PLAIN);
                    125:         _nsButton2.setMargin(new Insets(0, 2, 0, 2));
                    126:         _setFontForComponent(_nsButton1, "Lucida Grande", 13, Font.PLAIN);
                    127:         _nsButton1.setMargin(new Insets(0, 2, 0, 2));
                    128:         _setFontForComponent(_nsButton0, "Lucida Grande", 13, Font.PLAIN);
                    129:         _nsButton0.setMargin(new Insets(0, 2, 0, 2));
                    130:
                    131:         if (_replacedObjects.objectForKey("_nsTextField1") == null) {
                    132:             _setFontForComponent(_nsTextField1, "Lucida Grande", 9, Font.PLAIN);
                    133:             _nsTextField1.setEditable(false);
                    134:             _nsTextField1.setOpaque(false);
                    135:             _nsTextField1.setText("output\n");
                    136:             _nsTextField1.setHorizontalAlignment(javax.swing.JTextField.LEFT);
                    137:             _nsTextField1.setSelectable(false);
                    138:             _nsTextField1.setEnabled(true);
                    139:             _nsTextField1.setBorder(null);
                    140:         }
                    141:
                    142:         if (_replacedObjects.objectForKey("_nsTextField0") == null) {
                    143:             _setFontForComponent(_nsTextField0, "Lucida Grande", 9, Font.PLAIN);
                    144:             _nsTextField0.setEditable(false);
                    145:             _nsTextField0.setOpaque(false);
                    146:             _nsTextField0.setText("Input");
                    147:             _nsTextField0.setHorizontalAlignment(javax.swing.JTextField.LEFT);
                    148:             _nsTextField0.setSelectable(false);
                    149:             _nsTextField0.setEnabled(true);
                    150:             _nsTextField0.setBorder(null);
                    151:         }
                    152:
                    153:         if (_replacedObjects.objectForKey("_nsTextView1") == null) {
                    154:             _nsTextView1.setEditable(true);
                    155:             _nsTextView1.setOpaque(true);
                    156:             _nsTextView1.setText("");
                    157:         }
                    158:
                    159:         if (_replacedObjects.objectForKey("_nsTextView0") == null) {
                    160:             _nsTextView0.setEditable(true);
                    161:             _nsTextView0.setOpaque(true);
                    162:             _nsTextView0.setText("");
                    163:         }
                    164:
                    165:         if (!(_nsView0.getLayout() instanceof EOViewLayout)) { _nsView0.setLayout(new EOViewLayout()); }
                    166:         _nsTextView0.setSize(467, 368);
                    167:         _nsTextView0.setLocation(37, 19);
                    168:         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextView0, EOViewLayout.WidthSizable | EOViewLayout.HeightSizable);
                    169:         _nsView0.add(_nsTextView0);
                    170:         _nsButton0.setSize(90, 26);
                    171:         _nsButton0.setLocation(4, -7);
                    172:         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton0, EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin);
                    173:         _nsView0.add(_nsButton0);
                    174:         _nsButton2.setSize(89, 26);
                    175:         _nsButton2.setLocation(419, -7);
                    176:         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton2, EOViewLayout.MinXMargin | EOViewLayout.MaxYMargin);
                    177:         _nsView0.add(_nsButton2);
                    178:         _nsTextView1.setSize(467, 160);
                    179:         _nsTextView1.setLocation(37, 395);
                    180:         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextView1, EOViewLayout.WidthSizable | EOViewLayout.MinYMargin);
                    181:         _nsView0.add(_nsTextView1);
                    182:         _nsBox0.setSize(531, 5);
                    183:         _nsBox0.setLocation(-7, 384);
                    184:         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsBox0, EOViewLayout.WidthSizable | EOViewLayout.MinYMargin);
                    185:         _nsView0.add(_nsBox0);
                    186:         _nsButton1.setSize(179, 26);
                    187:         _nsButton1.setLocation(305, 553);
                    188:         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton1, EOViewLayout.MinXMargin | EOViewLayout.MinYMargin);
                    189:         _nsView0.add(_nsButton1);
                    190:         _nsButton3.setSize(103, 31);
                    191:         _nsButton3.setLocation(96, -10);
                    192:         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton3, EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin);
                    193:         _nsView0.add(_nsButton3);
                    194:         _nsTextField0.setSize(43, 11);
                    195:         _nsTextField0.setLocation(-4, 27);
                    196:         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField0, EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin);
                    197:         _nsView0.add(_nsTextField0);
                    198:         _nsTextField1.setSize(38, 12);
                    199:         _nsTextField1.setLocation(-5, 395);
                    200:         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField1, EOViewLayout.MaxXMargin | EOViewLayout.MinYMargin);
                    201:         _nsView0.add(_nsTextField1);
                    202:
                    203:         if (_replacedObjects.objectForKey("_eoFrame0") == null) {
                    204:             _nsView0.setSize(517, 589);
                    205:             _eoFrame0.setTitle("Window");
                    206:             _eoFrame0.setLocation(47, 123);
                    207:             _eoFrame0.setSize(517, 589);
                    208:         }
                    209:     }
                    210: }

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>