| java.lang.Object com.salmonllc.html.HtmlComponent com.salmonllc.html.HtmlFormComponent com.salmonllc.html.HtmlDecimalComponent
HtmlDecimalComponent | public class HtmlDecimalComponent extends HtmlFormComponent (Code) | | Implements a two-part entry field for a decimal number.
|
Constructor Summary | |
public | HtmlDecimalComponent(String name, HtmlPage p, int precision, int scale) DecimalComponent constructor comment. | public | HtmlDecimalComponent(String name, HtmlPage p, int precision, int scale, HtmlComponent preText) DecimalComponent constructor comment. | public | HtmlDecimalComponent(String name, HtmlPage p, int precision, int scale, HtmlComponent preText, int flag) DecimalComponent constructor comment. |
NO_PADDING | final public static int NO_PADDING(Code) | | addColumn flags parameter: Field is required.
|
_decimalFactor | protected double _decimalFactor(Code) | | |
_flag | protected int _flag(Code) | | |
_precision | protected int _precision(Code) | | |
_scale | protected int _scale(Code) | | |
HtmlDecimalComponent | public HtmlDecimalComponent(String name, HtmlPage p, int precision, int scale)(Code) | | DecimalComponent constructor comment.
Parameters: name - Name of component. Parameters: p - Page containing component. Parameters: precision - Total number of digits. Parameters: scale - Number of decimal places (digits to right of decimal point). |
HtmlDecimalComponent | public HtmlDecimalComponent(String name, HtmlPage p, int precision, int scale, HtmlComponent preText)(Code) | | DecimalComponent constructor comment.
Parameters: name - Name of component. Parameters: p - Page containing component. Parameters: precision - Total number of digits. Parameters: scale - Number of decimal places (digits to right of decimal point). Parameters: preText - Component to display before the entry fields, such as a currency sign. |
HtmlDecimalComponent | public HtmlDecimalComponent(String name, HtmlPage p, int precision, int scale, HtmlComponent preText, int flag)(Code) | | DecimalComponent constructor comment.
Parameters: name - Name of component. Parameters: p - Page containing component. Parameters: precision - Total number of digits. Parameters: scale - Number of decimal places (digits to right of decimal point). Parameters: preText - Component to display before the entry fields, such as a currency sign. |
getFocus | public HtmlComponent getFocus()(Code) | | Returns the sub-component to be used for setting focus.
com.salmonllc.html.HtmlComponent |
getNoPadding | public boolean getNoPadding()(Code) | | Returns whether the Integer Portion is not padded to the right or not
boolean |
getReadOnly | public boolean getReadOnly()(Code) | | |
getTabIndex | public int getTabIndex()(Code) | | |
reset | public void reset()(Code) | | This method will clear all pending events from the event queue for this component.
|
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 Decimal 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: enabled - boolean |
setFocus | public void setFocus()(Code) | | This method will set the edit focus to this component.
|
setFocus | public void setFocus(int row)(Code) | | This method will set the edit focus to this component for a particular row in a datastore.
|
setNoPadding | public void setNoPadding(boolean bNoPadding)(Code) | | Specify whether to pad integer portion to the right.
Parameters: bNoPadding - boolean |
setParent | public void setParent(HtmlComponent parent)(Code) | | Specifies the parent component for this Decimal Component.
Creation date: (7/19/01 8:41:20 AM)
Parameters: parent - The parent component |
setReadOnly | public void setReadOnly(boolean val)(Code) | | Parameters: sets - the read only html attribute |
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 |
setVisible | public void setVisible(boolean bVisible)(Code) | | Sets the visibility of the component.
Creation date: (7/19/01 8:41:20 AM)
Parameters: bVisible - boolean Indicates the visibility of the component |
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)
|
|
|