/
_PXBackgroundTemplateView_EOArchive_English.java
executable file
·122 lines (103 loc) · 5.8 KB
/
_PXBackgroundTemplateView_EOArchive_English.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
// _PXBackgroundTemplateView_EOArchive_English.java
// Generated by EnterpriseObjects palette at Monday, July 4, 2005 00.34.00 US/Central
import com.webobjects.eoapplication.*;
import com.webobjects.eocontrol.*;
import com.webobjects.eointerface.*;
import com.webobjects.eointerface.swing.*;
import com.webobjects.foundation.*;
import java.awt.*;
import javax.swing.*;
import javax.swing.border.*;
import javax.swing.table.*;
import javax.swing.text.*;
public class _PXBackgroundTemplateView_EOArchive_English extends com.webobjects.eoapplication.EOArchive {
PXBackgroundPreviewView _nsCustomView0;
com.webobjects.eointerface.swing.EOTextField _nsTextField0, _nsTextField1;
com.webobjects.eointerface.swing.EOView _nsCustomView1;
public _PXBackgroundTemplateView_EOArchive_English(Object owner, NSDisposableRegistry registry) {
super(owner, registry);
}
protected void _construct() {
Object owner = _owner();
EOArchive._ObjectInstantiationDelegate delegate = (owner instanceof EOArchive._ObjectInstantiationDelegate) ? (EOArchive._ObjectInstantiationDelegate)owner : null;
Object replacement;
super._construct();
if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "view")) != null)) {
_nsCustomView1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOView)replacement;
_replacedObjects.setObjectForKey(replacement, "_nsCustomView1");
} else {
_nsCustomView1 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "View");
}
if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "templateName")) != null)) {
_nsTextField1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement;
_replacedObjects.setObjectForKey(replacement, "_nsTextField1");
} else {
_nsTextField1 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField2");
}
if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "imageView")) != null)) {
_nsCustomView0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (PXBackgroundPreviewView)replacement;
_replacedObjects.setObjectForKey(replacement, "_nsCustomView0");
} else {
_nsCustomView0 = (PXBackgroundPreviewView)_registered(new PXBackgroundPreviewView(), "View");
}
if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "templateClassName")) != null)) {
_nsTextField0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement;
_replacedObjects.setObjectForKey(replacement, "_nsTextField0");
} else {
_nsTextField0 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField21");
}
}
protected void _awaken() {
super._awaken();
if (_replacedObjects.objectForKey("_nsCustomView1") == null) {
_connect(_owner(), _nsCustomView1, "view");
}
if (_replacedObjects.objectForKey("_nsTextField1") == null) {
_connect(_owner(), _nsTextField1, "templateName");
}
if (_replacedObjects.objectForKey("_nsCustomView0") == null) {
_connect(_owner(), _nsCustomView0, "imageView");
}
if (_replacedObjects.objectForKey("_nsTextField0") == null) {
_connect(_owner(), _nsTextField0, "templateClassName");
}
}
protected void _init() {
super._init();
if (_replacedObjects.objectForKey("_nsCustomView1") == null) {
if (!(_nsCustomView1.getLayout() instanceof EOViewLayout)) { _nsCustomView1.setLayout(new EOViewLayout()); }
_nsTextField1.setSize(114, 17);
_nsTextField1.setLocation(52, 17);
((EOViewLayout)_nsCustomView1.getLayout()).setAutosizingMask(_nsTextField1, EOViewLayout.MinYMargin);
_nsCustomView1.add(_nsTextField1);
_nsTextField0.setSize(114, 14);
_nsTextField0.setLocation(52, 37);
((EOViewLayout)_nsCustomView1.getLayout()).setAutosizingMask(_nsTextField0, EOViewLayout.MinYMargin);
_nsCustomView1.add(_nsTextField0);
_nsCustomView0.setSize(45, 45);
_nsCustomView0.setLocation(0, 14);
((EOViewLayout)_nsCustomView1.getLayout()).setAutosizingMask(_nsCustomView0, EOViewLayout.MinYMargin);
_nsCustomView1.add(_nsCustomView0);
}
if (_replacedObjects.objectForKey("_nsTextField1") == null) {
_setFontForComponent(_nsTextField1, "Lucida Grande", 13, Font.PLAIN);
_nsTextField1.setEditable(false);
_nsTextField1.setOpaque(false);
_nsTextField1.setText("System Font Text");
_nsTextField1.setHorizontalAlignment(javax.swing.JTextField.LEFT);
_nsTextField1.setSelectable(false);
_nsTextField1.setEnabled(true);
_nsTextField1.setBorder(null);
}
if (_replacedObjects.objectForKey("_nsTextField0") == null) {
_setFontForComponent(_nsTextField0, "Lucida Grande", 11, Font.PLAIN);
_nsTextField0.setEditable(false);
_nsTextField0.setOpaque(false);
_nsTextField0.setText("System Font Text");
_nsTextField0.setHorizontalAlignment(javax.swing.JTextField.LEFT);
_nsTextField0.setSelectable(false);
_nsTextField0.setEnabled(true);
_nsTextField0.setBorder(null);
}
}
}