Lines Matching refs:xtext
64 XAWTTextField xtext;
73 xtext = new XAWTTextField(text,this, target.getParent());
74 xtext.getDocument().addDocumentListener(xtext);
75 xtext.setCursor(target.getCursor());
76 XToolkit.specialPeerMap.put(xtext,this);
106 XToolkit.specialPeerMap.remove(xtext);
108 xtext.getCaret().setVisible(false);
109 xtext.removeNotify();
149 if (xtext != null) {
150 xtext.setEditable(editable);
151 xtext.repaint();
160 if (xtext != null) {
161 xtext.setEnabled(enabled);
162 xtext.repaint();
171 if (xtext != null) return xtext.getInputMethodRequests();
177 if (xtext != null)
178 xtext.processInputMethodEventImpl(e);
186 if (xtext != null) {
187 xtext.setEchoChar(c);
188 xtext.putClientProperty("JPasswordField.cutCopyAllowed",
189 xtext.echoCharIsSet() ? Boolean.FALSE : Boolean.TRUE);
197 return xtext.getSelectionStart();
204 return xtext.getSelectionEnd();
211 return xtext.getText();
224 if (xtext != null) {
229 xtext.getDocument().removeDocumentListener(xtext);
230 xtext.setText(txt);
234 xtext.getDocument().addDocumentListener(xtext);
235 xtext.setCaretPosition(0);
245 if (xtext != null) xtext.setCaretPosition(position);
257 xtext.repaintNow();
263 if (xtext != null) {
264 xtext.setBackground(c);
265 xtext.setSelectedTextColor(c);
272 if (xtext != null) {
273 xtext.setForeground(foreground);
274 xtext.setSelectionColor(foreground);
275 xtext.setCaretColor(foreground);
283 if (xtext != null) {
284 xtext.setFont(font);
287 xtext.validate();
302 int selStart=xtext.getSelectionStart();
303 int selEnd=xtext.getSelectionEnd();
305 xtext.select(selStart,selStart);
315 return xtext.getCaretPosition();
324 xtext.select(s,e);
327 xtext.repaint();
332 return xtext.getMinimumSize();
336 return xtext.getPreferredSize();
346 Font f = xtext.getFont();
347 FontMetrics fm = xtext.getFontMetrics(f);
371 if (xtext != null) xtext.repaint();
375 if (xtext != null) xtext.paint(g);
380 if (xtext != null) {
381 xtext.print(g);
387 xtext.forwardFocusLost(e);
392 xtext.forwardFocusGained(e);
396 AWTAccessor.getComponentAccessor().processEvent(xtext,e);
402 if (xtext != null) {
403 mouseEvent.setSource(xtext);
406 xtext.processMouseMotionEventImpl(mouseEvent);
408 xtext.processMouseEventImpl(mouseEvent);
429 if (xtext != null) xtext.setVisible(b);
434 if (xtext != null) {
453 xtext.setBounds(childX,childY,width,height);
454 xtext.validate();