SortKey describes the sort order for a particular column. The column index is in terms of the underlying model, which may differ from that of the view.
SortKey describes the sort order for a particular column. The column index is in terms of the underlying model, which may differ from that of the view.
(->sort-key column sort-order)
Constructor.
Creates a SortKey for the specified column with the specified sort order.
column - index of the column, in terms of the model - int
sort-order - the sorter order - javax.swing.SortOrder
throws: java.lang.IllegalArgumentException - if sortOrder is null
Constructor. Creates a SortKey for the specified column with the specified sort order. column - index of the column, in terms of the model - `int` sort-order - the sorter order - `javax.swing.SortOrder` throws: java.lang.IllegalArgumentException - if sortOrder is null
(equals this o)
Returns true if this object equals the specified object. If the specified object is a SortKey and references the same column and sort order, the two objects are equal.
o - the object to compare to - java.lang.Object
returns: true if o is equal to this SortKey - boolean
Returns true if this object equals the specified object. If the specified object is a SortKey and references the same column and sort order, the two objects are equal. o - the object to compare to - `java.lang.Object` returns: true if o is equal to this SortKey - `boolean`
(get-column this)
Returns the index of the column.
returns: index of column - int
Returns the index of the column. returns: index of column - `int`
(get-sort-order this)
Returns the sort order of the column.
returns: the sort order of the column - javax.swing.SortOrder
Returns the sort order of the column. returns: the sort order of the column - `javax.swing.SortOrder`
(hash-code this)
Returns the hash code for this SortKey.
returns: hash code - int
Returns the hash code for this SortKey. returns: hash code - `int`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close