| |
|
| java.lang.Object com.salmonllc.html.HtmlComponent com.salmonllc.html.HtmlFormComponent com.salmonllc.html.HtmlCheckBox
HtmlCheckBox | public class HtmlCheckBox extends HtmlFormComponent (Code) | | This class is used to place a check box component on a page.
|
Method Summary | |
public void | generateHTML(java.io.PrintWriter p, int rowNo) | public String | getAccessKey() | public String | getFalseValue() This method returns the the String representation that will be returned from getValue() when the checkbox is not checked. | public String | getFontEndTag() This method gets the end font tag for the component. | public String | getFontStartTag() This method gets the start font tag for the component. | public String | getOnClick() This method gets the javascript to be executed when the component gets clicked. | public int | getTabIndex() | public String | getTrueValue() This method returns the the String representation that will be returned from getValue() when the checkbox is checked. | public boolean | processParms(Hashtable parms, int rowNo) | public void | setAccessKey(String string) | public void | setFalseValue(String falseValue) This method sets the the String representation that will be returned from getValue() when the checkbox is not checked. | public void | setFontEndTag(String value) This method sets the end font tag for the component. | public void | setFontStartTag(String value) This method sets the start font tag for the component. | public void | setOnClick(String value) This method sets the javascript to be executed when the component is checked. | public void | setTabIndex(int val) Parameters: sets - the tab index html attribute. | public void | setTheme(String theme) This method sets the property theme for the component. | public void | setTrueValue(String trueValue) This method sets the the String representation that will be returned from getValue() when the checkbox is checked. |
HtmlCheckBox | public HtmlCheckBox(String name, com.salmonllc.html.HtmlPage p, String trueValue, String falseValue)(Code) | | Constructs a new HTMLTextEdit component.
Parameters: name - The name of the component Parameters: p - The page the component will be placed in. Parameters: trueValue - A string representation that will be returned from getValue() when the checkbox is checked. Parameters: falseValue - A string representation that will be returned from getValue() when the checkbox is not checked. |
HtmlCheckBox | public HtmlCheckBox(String name, String theme, com.salmonllc.html.HtmlPage p, String trueValue, String falseValue)(Code) | | Constructs a new HTMLTextEdit component.
Parameters: name - The name of the component Parameters: theme - The theme to use for loading properties. Parameters: p - The page the component will be placed in. Parameters: trueValue - A string representation that will be returned from getValue() when the checkbox is checked. Parameters: falseValue - A string representation that will be returned from getValue() when the checkbox is not checked. |
getFalseValue | public String getFalseValue()(Code) | | This method returns the the String representation that will be returned from getValue() when the checkbox is not checked.
|
getFontEndTag | public String getFontEndTag()(Code) | | This method gets the end font tag for the component.
|
getFontStartTag | public String getFontStartTag()(Code) | | This method gets the start font tag for the component.
|
getOnClick | public String getOnClick()(Code) | | This method gets the javascript to be executed when the component gets clicked.
|
getTabIndex | public int getTabIndex()(Code) | | |
getTrueValue | public String getTrueValue()(Code) | | This method returns the the String representation that will be returned from getValue() when the checkbox is checked.
|
setAccessKey | public void setAccessKey(String string)(Code) | | Parameters: sets - the access key html attribute |
setFalseValue | public void setFalseValue(String falseValue)(Code) | | This method sets the the String representation that will be returned from getValue() when the checkbox is not checked.
|
setFontEndTag | public void setFontEndTag(String value)(Code) | | This method sets the end font tag for the component.
|
setFontStartTag | public void setFontStartTag(String value)(Code) | | This method sets the start font tag for the component.
|
setOnClick | public void setOnClick(String value)(Code) | | This method sets the javascript to be executed when the component is checked.
|
setTabIndex | public void setTabIndex(int val)(Code) | | Parameters: sets - the tab index html attribute. You can also pass TAB_INDEX_DEFAULT to use the default tab index for the component or TAB_INDEX_NONE to keep this component from being tabbed to |
setTheme | public void setTheme(String theme)(Code) | | This method sets the property theme for the component.
Parameters: theme - The theme to use. |
setTrueValue | public void setTrueValue(String trueValue)(Code) | | This method sets the the String representation that will be returned from getValue() when the checkbox is checked.
|
Methods inherited from com.salmonllc.html.HtmlFormComponent | protected void addEvent(ValueChangedEvent e)(Code)(Java Doc) public void addValueChangedListener(ValueChangedListener l)(Code)(Java Doc) protected void convertValue()(Code)(Java Doc) public boolean executeEvent(int eventType) throws Exception(Code)(Java Doc) protected int findEvent(int rowNo)(Code)(Java Doc) protected void generateAutoTabJavaScript(PrintWriter pw)(Code)(Java Doc) abstract public void generateHTML(java.io.PrintWriter p, int row) throws Exception(Code)(Java Doc) public DataStoreBuffer getBoundDataStore()(Code)(Java Doc) public int getColumnNumber()(Code)(Java Doc) protected String getDataStoreValue(int rowNo)(Code)(Java Doc) public String getDisabledFontEndTag()(Code)(Java Doc) public String getDisabledFontStartTag()(Code)(Java Doc) public String getDisplayFormat()(Code)(Java Doc) public String getDisplayFormatLocaleKey()(Code)(Java Doc) public boolean getEnabled()(Code)(Java Doc) protected ValueChangedEvent getEventAt(int index)(Code)(Java Doc) protected int getEventCount()(Code)(Java Doc) public String getJavaScriptName()(Code)(Java Doc) public String getTheme()(Code)(Java Doc) public String getValue()(Code)(Java Doc) public String getValue(int rowNo)(Code)(Java Doc) protected String getValue(int rowNo, boolean remove)(Code)(Java Doc) public boolean isEnabled()(Code)(Java Doc) public boolean isValid()(Code)(Java Doc) protected void processLocaleInfo()(Code)(Java Doc) protected void removeEvent(int index)(Code)(Java Doc) public void removeValueChangedListener(ValueChangedListener l)(Code)(Java Doc) public void reset()(Code)(Java Doc) public void setColumn(DataStoreBuffer ds, int columnNo)(Code)(Java Doc) public void setColumn(DataStoreBuffer ds, String columnName)(Code)(Java Doc) public void setDisabledFontEndTag(String tag)(Code)(Java Doc) public void setDisabledFontStartTag(String tag)(Code)(Java Doc) public void setDisplayFormat(String format)(Code)(Java Doc) public void setDisplayFormatLocaleKey(String formatLocaleKey)(Code)(Java Doc) public void setEnabled(boolean enabled)(Code)(Java Doc) public void setEnabled(boolean enabled, boolean useDisableAttribute)(Code)(Java Doc) public void setFocus()(Code)(Java Doc) public void setFocus(boolean select)(Code)(Java Doc) public void setFocus(int row, boolean select)(Code)(Java Doc) public void setFocus(int row)(Code)(Java Doc) public void setForceCase(int mode)(Code)(Java Doc) protected boolean setTempValue(String value, int rowNo, int eventNo)(Code)(Java Doc) public void setTheme(String theme)(Code)(Java Doc) public void setValue(String value)(Code)(Java Doc) public void setValue(String value, int rowNo)(Code)(Java Doc) public String toString()(Code)(Java Doc) public void updateLocale()(Code)(Java Doc) protected boolean valuesEqual(Object newValue, Object oldValue)(Code)(Java Doc) protected void writeFocusScript(java.io.PrintWriter p, int row)(Code)(Java Doc)
|
|
|
|