KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > lobobrowser > html > domimpl > InputContext


1 /*
2     GNU LESSER GENERAL PUBLIC LICENSE
3     Copyright (C) 2006 The Lobo Project
4
5     This library is free software; you can redistribute it and/or
6     modify it under the terms of the GNU Lesser General Public
7     License as published by the Free Software Foundation; either
8     version 2.1 of the License, or (at your option) any later version.
9
10     This library is distributed in the hope that it will be useful,
11     but WITHOUT ANY WARRANTY; without even the implied warranty of
12     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13     Lesser General Public License for more details.
14
15     You should have received a copy of the GNU Lesser General Public
16     License along with this library; if not, write to the Free Software
17     Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18
19     Contact info: xamjadmin@users.sourceforge.net
20 */

21 /*
22  * Created on Jan 15, 2006
23  */

24 package org.lobobrowser.html.domimpl;
25
26 public interface InputContext {
27     public boolean getChecked();
28     public void setChecked(boolean checked);
29     public boolean getDisabled();
30     public void setDisabled(boolean disabled);
31     public int getMaxLength();
32     public void setMaxLength(int maxLength);
33     public String JavaDoc getName();
34     public void setName(String JavaDoc name);
35     public boolean getReadOnly();
36     public void setReadOnly(boolean readOnly);
37     public int getControlSize();
38     public void setControlSize(int size);
39     public int getTabIndex();
40     public void setTabIndex(int tabIndex);
41     public String JavaDoc getValue();
42     public void setValue(String JavaDoc value);
43     public void blur();
44     public void focus();
45     public void select();
46     public void click();
47     public int getRows();
48     public int getCols();
49     public void setRows(int rows);
50     public void setCols(int cols);
51     public boolean getMultiple();
52     public void setMultiple(boolean value);
53     public int getSelectedIndex();
54     public void setSelectedIndex(int value);
55     public int getVisibleSize();
56     public void setVisibleSize(int value);
57     public java.io.File JavaDoc getFileValue();
58     public void resetInput();
59 }
60
Popular Tags