| Package | view.primeFaces.surfaceComponents.components |
| Class | public class Button |
| Inheritance | Button spark.components.Button |
| Implements | view.interfaces.IGetChildrenSurfaceComponent, view.interfaces.IHistorySurfaceComponent |
Representation of PrimeFaces button component
Visual Editor XML:
<Button
Attributes
width="100"
height="30"
disabled="false"
value="Button"
title=""/>
PrimeFaces output:
<p:button
Attributes
style="width:100px;height:30px;"
disabled="false"
value="Button"
title=""/>
Default MXML Propertylabel
| Property | Defined By | ||
|---|---|---|---|
| enabled : Boolean [override]
PrimeFaces: disabled
| Button | ||
| height : Number [override] [read-only]
PrimeFaces: style
| Button | ||
| label : String [override]
PrimeFaces: value
| Button | ||
| percentHeight : Number [override] [read-only]
PrimeFaces: style
| Button | ||
| percentWidth : Number [override] [read-only]
PrimeFaces: style
| Button | ||
| toolTip : String [override] [write-only]
PrimeFaces: title
| Button | ||
| width : Number [override] [read-only]
PrimeFaces: style
| Button | ||
| Method | Defined By | ||
|---|---|---|---|
Button() | Button | ||
toRora():XML | Button | ||
toRoyaleConvertCode():XML | Button | ||
| Constant | Defined By | ||
|---|---|---|---|
| ELEMENT_NAME : String = Button [static] | Button | ||
| PRIME_FACES_XML_ELEMENT_NAME : String = button [static] | Button | ||
| enabled | property |
enabled:Boolean[override]
PrimeFaces: disabled
The default value is "false".
This property can be used as the source for data binding.
public function get enabled():Boolean public function set enabled(value:Boolean):void<Button disabled="false"/>
<p:button disabled="false"/>
| height | property |
height:Number [read-only] [override]
PrimeFaces: style
The default value is "30".
This property can be used as the source for data binding.
public function get height():Number<Button height="30"/>
<p:button style="width:100px;height:30px;"/>
| label | property |
label:String[override]
PrimeFaces: value
The default value is "Button".
This property can be used as the source for data binding.
public function get label():String public function set label(value:String):void<Button value="Button"/>
<p:button value="Button"/>
| percentHeight | property |
percentHeight:Number [read-only] [override]
PrimeFaces: style
This property can be used as the source for data binding.
public function get percentHeight():Number<Button percentHeight="80"/>
<p:button style="height:80%;"/>
| percentWidth | property |
percentWidth:Number [read-only] [override]
PrimeFaces: style
This property can be used as the source for data binding.
public function get percentWidth():Number<Button percentWidth="80"/>
<p:button style="width:80%;"/>
| toolTip | property |
toolTip:String [write-only] [override]
PrimeFaces: title
This property can be used as the source for data binding.
public function set toolTip(value:String):void<Button title=""/>
<p:button title=""/>
| width | property |
width:Number [read-only] [override]
PrimeFaces: style
The default value is "100".
This property can be used as the source for data binding.
public function get width():Number<Button width="100"/>
<p:button style="width:100px;height:30px;"/>
| Button | () | Constructor |
public function Button()| toRora | () | method |
public function toRora():XMLReturnsXML |
| toRoyaleConvertCode | () | method |
public function toRoyaleConvertCode():XMLReturnsXML |
| ELEMENT_NAME | Constant |
public static const ELEMENT_NAME:String = Button| PRIME_FACES_XML_ELEMENT_NAME | Constant |
public static const PRIME_FACES_XML_ELEMENT_NAME:String = button