| |
|
| java.lang.Object com.salmonllc.html.HtmlComponent com.salmonllc.html.HtmlFormComponent com.salmonllc.html.HtmlRadioButton
HtmlRadioButton | public class HtmlRadioButton extends HtmlFormComponent (Code) | | This class is used for adding a single radio button to the page. As an alternative to
HtmlRadioButtonGroup ,
this class is more flexible but more work is required.
You can put radio buttons in any desired layout, interspersed with text and
other controls. To link a set of individual radio buttons (so they will behave as a group),
give each one the same name.
|
CAPTIONS_ON_LEFT | final public static int CAPTIONS_ON_LEFT(Code) | | |
CAPTIONS_ON_RIGHT | final public static int CAPTIONS_ON_RIGHT(Code) | | |
HtmlRadioButton | public HtmlRadioButton(String name, HtmlPage p, String key, String display)(Code) | | Constructs a new HtmlRadioButton component.
Parameters: name - The name of the component Parameters: p - The page the component will be placed in. |
getCaptionLayout | public int getCaptionLayout()(Code) | | Returns the caption layout of the component. Valid Values are CAPTIONS_ON_LEFT, CAPTIONS_ON_RIGHT and CAPTIONS_ON_TOP.
|
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.
|
getGroup | public String getGroup()(Code) | | This method gets the group Name.
|
getOnClick | public String getOnClick()(Code) | | This method gets the javascript to be executed when the component gets clicked.
|
getTabIndex | public int getTabIndex()(Code) | | |
getUseProportions | public boolean getUseProportions()(Code) | | Returns whether or not to use a fixed percent of available space for each button in the radio button group (Horizontal Orientation only)
|
setAccessKey | public void setAccessKey(String string)(Code) | | Parameters: sets - the access key html attribute |
setCaptionLayout | public void setCaptionLayout(int layout)(Code) | | Sets the caption layout of the component. Valid Values are CAPTIONS_ON_LEFT, CAPTIONS_ON_RIGHT and CAPTIONS_ON_TOP.
|
setCaptionLayout | public void setCaptionLayout(String layout)(Code) | | This method sets the layout property for the component
|
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.
|
setGroup | public void setGroup(String value)(Code) | | This method sets the group.
|
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 |
setUseProportions | public void setUseProportions(boolean use)(Code) | | This method is used to set whether the each button in the group will occupy a fixed percent available space (Horizontal Orientation only)
|
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)
|
|
|
|