java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.core.QCollator
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
public class QCollator extends QtObject implements Cloneable
Compares strings according to a localized collation algorithm
Java wrapper for Qt class QCollator
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description Qt.CaseSensitivity
caseSensitivity()
QCollator
clone()
int
compare(String s1, String s2)
boolean
equals(Object other)
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.int
hashCode()
boolean
ignorePunctuation()
boolean
isLessThan(String s1, String s2)
QLocale
locale()
boolean
numericMode()
void
setCaseSensitivity(Qt.CaseSensitivity cs)
void
setIgnorePunctuation(boolean on)
void
setLocale(QLocale locale)
void
setNumericMode(boolean on)
QCollatorSortKey
sortKey(String string)
void
swap(QCollator other)
-
Constructor Details
-
Method Details
-
caseSensitivity
-
compare
-
ignorePunctuation
-
locale
-
numericMode
-
isLessThan
-
setCaseSensitivity
-
setIgnorePunctuation
-
setLocale
-
setNumericMode
-
sortKey
-
swap
-
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
-