API Overview API Index Package Overview Direct link to this page
JavaOnTracks 0.1.2
  net.jot.web.forms.ui. JOTFormTextareaField View Javadoc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61

/*
------------------------------------
JavaOnTracks          Thibaut Colar
tcolar-jot AT colar DOT net
Artistic Licence 2.0
http://www.javaontracks.net
------------------------------------
 */
package net.jot.web.forms.ui;

import net.jot.web.forms.JOTFormConst;

/**
Html Textarea within form
@author thibautc
*/
public class JOTFormTextareaField extends JOTFormField
{
	protected int rows=3;
	protected int cols=10;
	
/**

@param name 
@param description 
@param cols 
@param rows 
@param defaultValue   will be the "content" (text) in the textarea
*/
	public JOTFormTextareaField(String name, String description, int cols, int rows, String defaultValue)
	{
		setType(JOTFormConst.TEXTAREA);
		setName(name);
		setDescription(description);
		setDefaultValue(defaultValue);
		this.rows=rows;
		this.cols=cols;
	}

	public int getRows()
	{
		return rows;
	}

	public void setRows(int rows)
	{
		this.rows = rows;
	}

	public int getCols()
	{
		return cols;
	}

	public void setCols(int cols)
	{
		this.cols = cols;
	}


}

Generated By: JavaOnTracks Doclet 0.1.5     ©Thibaut Colar