Package | mx.styles |
Class | public class CSSOSVersion |
Inheritance | CSSOSVersion Object |
Property | Defined By | ||
---|---|---|---|
major : int = 0
major figure of the version. | CSSOSVersion | ||
minor : int = 0
minor figure of the version. | CSSOSVersion | ||
revision : int = 0
revision figure of the version. | CSSOSVersion |
Method | Defined By | ||
---|---|---|---|
CSSOSVersion(versionString:String) Contructor
Returns an CSSOSVersion for versionString. | CSSOSVersion | ||
compareTo(otherVersion:CSSOSVersion):int
Compares to another CSSOSVersion instance
| CSSOSVersion | ||
toString():String
Printable string of the version, as X.Y.Z
| CSSOSVersion |
major | property |
public var major:int = 0
major figure of the version.
minor | property |
public var minor:int = 0
minor figure of the version.
revision | property |
public var revision:int = 0
revision figure of the version.
CSSOSVersion | () | Constructor |
public function CSSOSVersion(versionString:String)
Contructor Returns an CSSOSVersion for versionString.
ParametersversionString:String |
compareTo | () | method |
public function compareTo(otherVersion:CSSOSVersion):int
Language Version : | ActionScript 3.0 |
Product Version : | Flex 4.13 |
Compares to another CSSOSVersion instance
Parameters
otherVersion:CSSOSVersion — another CSSOSVersion.
|
int — 0 if both versions are equal
-1 if this is lower than otherVersion .
1 if this is greater than otherVersion .
|
toString | () | method |
public function toString():String
Printable string of the version, as X.Y.Z
ReturnsString — version as a string
|