Packageview.primeFaces.surfaceComponents.components
Classpublic class SelectOneListbox
InheritanceSelectOneListbox Inheritance spark.components.List
Implements view.interfaces.ISelectableItemsComponent, view.interfaces.IGetChildrenSurfaceComponent, view.interfaces.IHistorySurfaceCustomHandlerComponent, view.interfaces.ICDATAInformation

Representation of selectOneMenu in HTML

Visual Editor XML:
     <SelectOneListbox
     Attributes
     width="120"
     height="30"
     percentWidth=""
     percentHeight=""
     value="">
	  <selectItem itemLabel="Title" itemValue=""/>
	 </SelectOneListbox>
     
PrimeFaces output:
     <p:selectOneListbox
     Attributes
     style="width:120px;height:30px;"
     value="">
	  <f:selectItem itemLabel="Title" itemValue=""/>
	 </p:selectOneListbox>
     

Default MXML PropertydataProvider



Public Properties
 PropertyDefined By
  height : Number
[override] [read-only] PrimeFaces: style
SelectOneListbox
  percentHeight : Number
[override] [read-only] PrimeFaces: style
SelectOneListbox
  percentWidth : Number
[override] [read-only] PrimeFaces: style
SelectOneListbox
  value : String
PrimeFaces: value
SelectOneListbox
  width : Number
[override] [read-only] PrimeFaces: style
SelectOneListbox
Public Methods
 MethodDefined By
  
SelectOneListbox
  
toRora():XML
SelectOneListbox
  
SelectOneListbox
Public Constants
 ConstantDefined By
  ELEMENT_NAME : String = SelectOneListbox
[static]
SelectOneListbox
  PRIME_FACES_XML_ELEMENT_NAME : String = selectOneListbox
[static]
SelectOneListbox
Property Detail
heightproperty
height:Number  [read-only] [override]

PrimeFaces: style

The default value is 30.

This property can be used as the source for data binding.


Implementation
    public function get height():Number

Example
Visual Editor XML:
<SelectOneListbox height="30"/>
PrimeFaces:
<p:selectOneListbox style="height:30px;"/>
percentHeightproperty 
percentHeight:Number  [read-only] [override]

PrimeFaces: style

This property can be used as the source for data binding.


Implementation
    public function get percentHeight():Number

Example
Visual Editor XML:
<SelectOneListbox percentHeight="80"/>
PrimeFaces:
<p:selectOneListbox style="percentHeight:80%;"/>
percentWidthproperty 
percentWidth:Number  [read-only] [override]

PrimeFaces: style

This property can be used as the source for data binding.


Implementation
    public function get percentWidth():Number

Example
Visual Editor XML:
<SelectOneListbox percentWidth="80"/>
PrimeFaces:
<p:selectOneListbox style="percentWidth:80%;"/>
valueproperty 
value:String

PrimeFaces: value

The default value is null.

This property can be used as the source for data binding.


Implementation
    public function get value():String
    public function set value(value:String):void

Example
Visual Editor XML:
<SelectOneListbox value=""/>
PrimeFaces:
<p:selectOneListbox value=""/>
widthproperty 
width:Number  [read-only] [override]

PrimeFaces: style

The default value is 120.

This property can be used as the source for data binding.


Implementation
    public function get width():Number

Example
Visual Editor XML:
<SelectOneListbox width="120"/>
PrimeFaces:
<p:selectOneListbox style="width:120px;"/>
Constructor Detail
SelectOneListbox()Constructor
public function SelectOneListbox()



Method Detail
toRora()method
public function toRora():XML

Returns
XML
toRoyaleConvertCode()method 
public function toRoyaleConvertCode():XML

Returns
XML
Constant Detail
ELEMENT_NAMEConstant
public static const ELEMENT_NAME:String = SelectOneListbox

PRIME_FACES_XML_ELEMENT_NAMEConstant 
public static const PRIME_FACES_XML_ELEMENT_NAME:String = selectOneListbox