| |
|
| java.lang.Object com.salmonllc.html.HtmlComponent com.salmonllc.html.HtmlFormComponent com.salmonllc.html.HtmlEMailComponent
HtmlEMailComponent | public class HtmlEMailComponent extends HtmlFormComponent (Code) | | Implements an entry field for an email address
|
HtmlEMailComponent | public HtmlEMailComponent(String name, HtmlPage p)(Code) | | EMailComponent constructor.
Parameters: name - Name of component. Parameters: p - Page containing component. Parameters: phoneSeparator - character to display between the 3rd & 4th digit of the phone. |
HtmlEMailComponent | public HtmlEMailComponent(String name, HtmlPage p, int minLength)(Code) | | EMailComponent constructor.
Parameters: name - java.lang.String Parameters: p - com.salmonllc.html.HtmlPage Parameters: minLength - int |
getFocus | public HtmlComponent getFocus()(Code) | | Returns the sub-component to be used for setting focus.
com.salmonllc.html.HtmlComponent |
getReadOnly | public boolean getReadOnly()(Code) | | |
getTabIndex | public int getTabIndex()(Code) | | |
isValid | public boolean isValid()(Code) | | Returns whether the e-mail entered is valid or not.
boolean Indicates whether e-mail is valid or not. |
reset | public void reset()(Code) | | |
setAccessKey | public void setAccessKey(String val)(Code) | | Parameters: sets - the access key html attribute |
setClassName | public void setClassName(String sClass)(Code) | | Specifies the Style Class to be used for the EMail Component.
Creation date: (7/19/01 8:41:20 AM)
Parameters: sClass - java.lang.String A name of a class in Html to be used by this component |
setDisabledFontEndTag | public void setDisabledFontEndTag(String tag)(Code) | | Sets the font end tag for disabled mode.
Parameters: tag - java.lang.String |
setDisabledFontStartTag | public void setDisabledFontStartTag(String tag)(Code) | | Sets the font tag for disabled mode.
Parameters: tag - java.lang.String |
setEnabled | public void setEnabled(boolean enabled)(Code) | | Enables or disables the ability of this component to respond to user input.
Parameters: editable - boolean |
setMaxLength | public void setMaxLength(int maxLength)(Code) | | Sets the Max Length for the E-Mail.
Parameters: maxLength - int |
setMinLength | public void setMinLength(int minLength)(Code) | | This method sets the minimum length an email address can be default is 7
Parameters: minLength - int |
setParent | public void setParent(HtmlComponent parent)(Code) | | Specifies the parent component for this E-Mail Component.
Creation date: (7/19/01 8:41:20 AM)
Parameters: sClass - java.lang.String A name of a class in Html to be used by this component |
setReadOnly | public void setReadOnly(boolean val)(Code) | | Parameters: sets - the read only html attribute |
setSize | public void setSize(int size)(Code) | | Set the size of the E-Mail Component.
Parameters: size - int |
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 |
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)
|
|
|
|