/** * Sets the text area being displayed. Subclasses can override, but * should call the super implementation. * * @param textArea The text area. */ public void setTextArea(RTextArea textArea) { this.textArea = textArea; int lineCount = textArea==null ? 0 : textArea.getLineCount(); if (currentLineCount!=lineCount) { currentLineCount = lineCount; repaint(); } }
/** * Sets the text area being displayed. Subclasses can override, but * should call the super implementation. * * @param textArea The text area. */ public void setTextArea(RTextArea textArea) { this.textArea = textArea; int lineCount = textArea==null ? 0 : textArea.getLineCount(); if (currentLineCount!=lineCount) { currentLineCount = lineCount; repaint(); } }
/** * Sets the text area being displayed. Subclasses can override, but * should call the super implementation. * * @param textArea The text area. */ public void setTextArea(RTextArea textArea) { this.textArea = textArea; int lineCount = textArea==null ? 0 : textArea.getLineCount(); if (currentLineCount!=lineCount) { currentLineCount = lineCount; repaint(); } }
/** * Sets the text area being displayed. Subclasses can override, but * should call the super implementation. * * @param textArea The text area. */ public void setTextArea(RTextArea textArea) { this.textArea = textArea; int lineCount = textArea==null ? 0 : textArea.getLineCount(); if (currentLineCount!=lineCount) { currentLineCount = lineCount; repaint(); } }