1 5 package org.exoplatform.faces.core.component; 6 7 13 public class UITextArea extends UIStringInput { 14 15 public static String COMPONENT_FAMILY = "org.exoplatform.faces.core.component.UITextArea"; 16 public static String TEXTAREA_RENDERER = "TextAreaRenderer"; 17 18 private String cols_ = "40"; 19 private String rows_ = "20"; 20 21 public UITextArea(String name, String text) { 22 super(name, text) ; 23 setRendererType(TEXTAREA_RENDERER); 24 } 25 26 29 public String getFamily() { 30 return COMPONENT_FAMILY; 31 } 32 33 public String getCols() { 34 return cols_; 35 } 36 37 public UITextArea setCols(String cols) { 38 cols_ = cols; 39 return this; 40 } 41 42 public String getRows() { 43 return rows_; 44 } 45 46 public UITextArea setRows(String rows) { 47 rows_ = rows; 48 return this; 49 } 50 } 51 | Popular Tags |