com.sapportals.portal.prt.util.html
Class HtmlOption
java.lang.Object
com.sapportals.portal.prt.util.html.HtmlAttributeContainer
com.sapportals.portal.prt.util.html.HtmlBase
com.sapportals.portal.prt.util.html.HtmlSinglePartElement
com.sapportals.portal.prt.util.html.HtmlOption
- All Implemented Interfaces:
- IHtmlAttributeContainer, IHtmlBase, IHtmlOutputable
public class HtmlOption
- extends HtmlSinglePartElement
HtmlOption.java
Created: Wed Nov 03 19:16:54 1999
|
Field Summary |
protected boolean |
m_selected
If the option is selected. |
protected String |
m_value
The value to put in the option. |
| Fields inherited from class com.sapportals.portal.prt.util.html.HtmlBase |
m_hasTag |
| Methods inherited from class com.sapportals.portal.prt.util.html.HtmlAttributeContainer |
addAttribute, addIsThreadHTML5Compliant, addIsThreadXHTMLCompliant, appendToAttribute, destroy, getAttributes, isThreadHTML5Compliant, isThreadXHTMLCompliant, removeAttribute, removeIsThreadHTML5Compliant, removeIsThreadXHTMLCompliant |
m_value
protected String m_value
- The value to put in the option.
m_selected
protected boolean m_selected
- If the option is selected.
HtmlOption
public HtmlOption(String value)
HtmlOption
public HtmlOption(String value,
boolean isSelected)
outputAttributes
public void outputAttributes(StringBuffer strbuf)
- Specified by:
outputAttributes in interface IHtmlAttributeContainer- Overrides:
outputAttributes in class HtmlAttributeContainer
outputAttributes
public void outputAttributes(PrintWriter out)
- Deprecated.
- Specified by:
outputAttributes in interface IHtmlAttributeContainer- Overrides:
outputAttributes in class HtmlAttributeContainer
outputAttributes
public void outputAttributes(Writer out)
- Specified by:
outputAttributes in interface IHtmlAttributeContainer- Overrides:
outputAttributes in class HtmlAttributeContainer
getValue
public String getValue()
- Get the value of m_value.
- Returns:
- Value of m_value.
setValue
public HtmlOption setValue(String v)
- Set the value of m_value.
- Parameters:
v - Value to assign to m_value.
getSelected
public boolean getSelected()
- Get the value of m_selected.
- Returns:
- Value of m_selected.
setSelected
public HtmlOption setSelected(boolean v)
- Set the value of m_selected.
- Parameters:
v - Value to assign to m_selected.
This class can be accessed from:
|
SC
|
DC
|
Public Part
|
ACH
|
[sap.com] EP-BASIS-API
|
[sap.com] epbc.prtapi._apideprecated
|
default
|
EP-PIN-PRT
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/api
|
api
|
EP-PIN
|
[sap.com] EP-BASIS-API
|
[sap.com] tc/epbc/prt/lib/api
|
api
|
EP-PIN
|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/semantics/api
|
api
|
EP-PIN
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2015 SAP AG Complete Copyright Notice