java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QCollator
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Compares strings according to a localized collation algorithm
Java wrapper for Qt's class QCollator
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal Qt.CaseSensitivity
clone()
final int
static int
defaultCompare
(String s1, String s2) static QCollatorSortKey
defaultSortKey
(String key) boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
final boolean
final boolean
isLessThan
(String s1, String s2) final QLocale
locale()
final boolean
final void
final void
setIgnorePunctuation
(boolean on) final void
final void
setNumericMode
(boolean on) final QCollatorSortKey
final void
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QCollator
public QCollator() -
QCollator
-
QCollator
-
QCollator
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
caseSensitivity
-
compare
-
ignorePunctuation
-
locale
-
numericMode
-
isLessThan
-
setCaseSensitivity
-
setIgnorePunctuation
-
setLocale
-
setNumericMode
-
sortKey
-
swap
-
defaultCompare
-
defaultSortKey
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
clone
-