1 38 package com.gargoylesoftware.htmlunit.javascript.host; 39 40 import com.gargoylesoftware.htmlunit.html.HtmlTextArea; 41 42 50 public class Textarea extends FormField { 51 52 private static final long serialVersionUID = 49352135575074390L; 53 54 55 58 public Textarea() { 59 } 60 61 62 66 public void jsConstructor() { 67 } 68 69 70 74 public String jsxGet_type() { 75 return "textarea"; 76 } 77 78 79 83 public String jsxGet_value() { 84 return ((HtmlTextArea)getHtmlElementOrDie()).getText(); 85 } 86 87 88 92 public void jsxSet_value( final String value ) { 93 ((HtmlTextArea)getHtmlElementOrDie()).setText(value); 94 } 95 } 96 97 | Popular Tags |