Package | com.asfusion.controls |
Class | public class Rating |
Inheritance | Rating ![]() |
Property | Defined by | ||
---|---|---|---|
itemCount : uint
Number of items(stars) in the rating component
| Rating | ||
liveRollOver : Boolean
Whether the component shows rollOver
| Rating | ||
selectedValue : uint
The value selected by the user by clicking on an item.
| Rating | ||
showSelectedValue : Boolean
Whether the component shows the selected value or not.
| Rating | ||
value : Number
Value of the rating.
| Rating |
Method | Defined by | ||
---|---|---|---|
Rating()
| Rating |
Event | Summary | Defined by | ||
---|---|---|---|---|
Dispatched when the user changes the selected value by clicking on an item or when the selectedValue property is programatically changed. | Rating |
itemCount | property |
public var itemCount:uint
Number of items(stars) in the rating component
This property can be used as the source for data binding.
liveRollOver | property |
public var liveRollOver:Boolean
Whether the component shows rollOver
This property can be used as the source for data binding.
selectedValue | property |
public var selectedValue:uint
The value selected by the user by clicking on an item.
This property can be used as the source for data binding.
showSelectedValue | property |
public var showSelectedValue:Boolean
Whether the component shows the selected value or not. If this property is true, the compoent will show the selectedValue instead of showing the value.
This property can be used as the source for data binding.
value | property |
public var value:Number
Value of the rating. It is the value shown unless showSelectedValue is set to true and user has changed the selected value.
This property can be used as the source for data binding.
Rating | () | constructor |
public function Rating()
selectionChange | event |
com.asfusion.controls.ratingclasses.RatingEvent
Dispatched when the user changes the selected value by clicking on an item or when the selectedValue property is programatically changed.