Examples of TextAreaPeer


Examples of ae.java.awt.peer.TextAreaPeer

     * @deprecated As of JDK version 1.1,
     * replaced by <code>insert(String, int)</code>.
     */
    @Deprecated
    public synchronized void insertText(String str, int pos) {
        TextAreaPeer peer = (TextAreaPeer)this.peer;
        if (peer != null) {
            peer.insertText(str, pos);
        } else {
            text = text.substring(0, pos) + str + text.substring(pos);
        }
    }
View Full Code Here

Examples of ae.java.awt.peer.TextAreaPeer

     * @deprecated As of JDK version 1.1,
     * replaced by <code>replaceRange(String, int, int)</code>.
     */
    @Deprecated
    public synchronized void replaceText(String str, int start, int end) {
        TextAreaPeer peer = (TextAreaPeer)this.peer;
        if (peer != null) {
            peer.replaceText(str, start, end);
        } else {
            text = text.substring(0, start) + str + text.substring(end);
        }
    }
View Full Code Here

Examples of ae.java.awt.peer.TextAreaPeer

     * replaced by <code>getPreferredSize(int, int)</code>.
     */
    @Deprecated
    public Dimension preferredSize(int rows, int columns) {
        synchronized (getTreeLock()) {
            TextAreaPeer peer = (TextAreaPeer)this.peer;
            return (peer != null) ?
                       peer.preferredSize(rows, columns) :
                       super.preferredSize();
        }
    }
View Full Code Here

Examples of ae.java.awt.peer.TextAreaPeer

     * replaced by <code>getMinimumSize(int, int)</code>.
     */
    @Deprecated
    public Dimension minimumSize(int rows, int columns) {
        synchronized (getTreeLock()) {
            TextAreaPeer peer = (TextAreaPeer)this.peer;
            return (peer != null) ?
                       peer.minimumSize(rows, columns) :
                       super.minimumSize();
        }
    }
View Full Code Here

Examples of java.awt.peer.TextAreaPeer

     * @deprecated As of JDK version 1.1,
     * replaced by <code>insert(String, int)</code>.
     */
    @Deprecated
    public synchronized void insertText(String str, int pos) {
  TextAreaPeer peer = (TextAreaPeer)this.peer;
  if (peer != null) {
      peer.insertText(str, pos);
  } else {
      text = text.substring(0, pos) + str + text.substring(pos);
  }
    }
View Full Code Here

Examples of java.awt.peer.TextAreaPeer

     * @deprecated As of JDK version 1.1,
     * replaced by <code>replaceRange(String, int, int)</code>.
     */
    @Deprecated
    public synchronized void replaceText(String str, int start, int end) {
  TextAreaPeer peer = (TextAreaPeer)this.peer;
  if (peer != null) {
      peer.replaceText(str, start, end);
  } else {
      text = text.substring(0, start) + str + text.substring(end);
  }
    }
View Full Code Here

Examples of java.awt.peer.TextAreaPeer

     * replaced by <code>getPreferredSize(int, int)</code>.
     */
    @Deprecated
    public Dimension preferredSize(int rows, int columns) {
        synchronized (getTreeLock()) {
      TextAreaPeer peer = (TextAreaPeer)this.peer;
      return (peer != null) ?
           peer.preferredSize(rows, columns) :
           super.preferredSize();
        }
    }
View Full Code Here

Examples of java.awt.peer.TextAreaPeer

     * replaced by <code>getMinimumSize(int, int)</code>.
     */
    @Deprecated
    public Dimension minimumSize(int rows, int columns) {
        synchronized (getTreeLock()) {
      TextAreaPeer peer = (TextAreaPeer)this.peer;
      return (peer != null) ?
           peer.minimumSize(rows, columns) :
           super.minimumSize();
        }
    }
View Full Code Here

Examples of java.awt.peer.TextAreaPeer

     * @deprecated As of JDK version 1.1,
     * replaced by <code>replaceRange(String, int, int)</code>.
     */
    @Deprecated
    public synchronized void replaceText(String str, int start, int end) {
        TextAreaPeer peer = (TextAreaPeer)this.peer;
        if (peer != null) {
            peer.replaceRange(str, start, end);
        } else {
            text = text.substring(0, start) + str + text.substring(end);
        }
    }
View Full Code Here

Examples of java.awt.peer.TextAreaPeer

     * replaced by <code>getPreferredSize(int, int)</code>.
     */
    @Deprecated
    public Dimension preferredSize(int rows, int columns) {
        synchronized (getTreeLock()) {
            TextAreaPeer peer = (TextAreaPeer)this.peer;
            return (peer != null) ?
                       peer.getPreferredSize(rows, columns) :
                       super.preferredSize();
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.