public static class IlvSwingUtil.Version extends Object
IlvSwingUtil.Version represents a version of Swing.| Constructor and Description |
|---|
Version(int majorVer,
int minorVer,
int rev)
Creates a new
IlvSwingUtil.Version. |
Version(int majorVer,
int minorVer,
int majorRev,
int minorRev)
Creates a new
IlvSwingUtil.Version. |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(IlvSwingUtil.Version anotherVersion)
Returns the result of comparing this version to the specified version.
|
boolean |
equals(IlvSwingUtil.Version anotherVersion)
Returns whether this version is equal to the specified version.
|
int |
getMajorRevision()
Returns the major revision
|
int |
getMajorVersion()
Returns the major version
|
int |
getMinorRevision()
Returns the minor revision
|
int |
getMinorVersion()
Returns the minor version
|
int |
intValue()
Deprecated.
|
String |
toString()
Returns the text representation of this version.
|
public Version(int majorVer,
int minorVer,
int majorRev,
int minorRev)
IlvSwingUtil.Version. The object represents
the version written as
"majorVer.minorVer.majorRev.minorRev"
.public Version(int majorVer,
int minorVer,
int rev)
IlvSwingUtil.Version. The object represents
the version written as
"majorVer.minorVer.rev".public int getMajorVersion()
public int getMinorVersion()
public int getMajorRevision()
public int getMinorRevision()
public int compareTo(IlvSwingUtil.Version anotherVersion)
anotherVersion - The version to be compared to this one.public boolean equals(IlvSwingUtil.Version anotherVersion)
anotherVersion - The version to be compared to this one.@Deprecated public int intValue()
getMajorVersion(), getMinorVersion(), getMajorRevision(), getMinorRevision() instead.
This method no longer provides a valid base for comparison,
only the major version number is returned.© Copyright Rogue Wave Software, Inc. 1997, 2017. All Rights Reserved.