Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Engine.UIComp_ListElementSorter

Extends
UIComp_ListComponentBase
Modifiers
native ( inherit ) editinlinenew

Handles information about a collection of list elements are sorted. Responsible for invoking the UISortableItem on each element to allow the element to perform the comparison. Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.

Core.Object
|   
+-- Core.Component
   |   
   +-- Engine.UIComponent
      |   
      +-- Engine.UIComp_ListComponentBase
         |   
         +-- Engine.UIComp_ListElementSorter

Variables Summary
UIComp_ListElementSorter
boolbAllowCompoundSorting
boolbReversePrimarySorting
boolbReverseSecondarySorting
intInitialSecondarySortColumn
intInitialSortColumn
intPrimarySortColumn
intSecondarySortColumn

Structures Summary
UIListSortingParameters
PrimaryIndex, SecondaryIndex, bReversePrimarySorting, bReverseSecondarySorting, bCaseSensitive, bIntSortPrimary, bIntSortSecondary, bFloatSortPrimary, bFloatSortSecondary

Functions Summary
function ResetSortColumns (optional bool bResort=true)
functionbool ResortItems (optional bool bCaseSensitive)
functionbool SortItems (int ColumnIndex, optional bool bSecondarySort, optional bool bCaseSensitive)


Variables Detail

UIComp_ListElementSorter

bAllowCompoundSorting Source code

var(UIComp_ListElementSorter) bool bAllowCompoundSorting<Tooltip=Enablessortingbymultiplecolumns>;
Indicates whether sorting by multiple columns is allowed in this list

bReversePrimarySorting Source code

var(UIComp_ListElementSorter) bool bReversePrimarySorting;
indicates that the primary sort column should be sorted in reverse order

bReverseSecondarySorting Source code

var(UIComp_ListElementSorter) bool bReverseSecondarySorting;
indicates that the secondary sort column should be sorted in reverse order

InitialSecondarySortColumn Source code

var(UIComp_ListElementSorter) int InitialSecondarySortColumn;
the index of the column (or row) to use for performing the initial secondary sorting of the list's elements when SecondarySortColumn is INDEX_NONE

InitialSortColumn Source code

var(UIComp_ListElementSorter) int InitialSortColumn;
the index of the column (or row) to use for sorting the list's elements when SortColumn is INDEX_NONE

PrimarySortColumn Source code

var(UIComp_ListElementSorter) editconst transient const int PrimarySortColumn;
the index of the column (or row) being used for sorting the list's items

SecondarySortColumn Source code

var(UIComp_ListElementSorter) editconst transient const int SecondarySortColumn;
the index of the column (or row) of the previous SortColumn


Structures Detail

UIListSortingParameters Source code

struct native UIListSortingParameters
{
var bool bCaseSensitive;
var bool bFloatSortPrimary;
var bool bFloatSortSecondary;
var bool bIntSortPrimary;
var bool bIntSortSecondary;
var bool bReversePrimarySorting;
var bool bReverseSecondarySorting;
var int PrimaryIndex;
var int SecondaryIndex;
};
Contains parameters for a list sorting operation.
bCaseSensitive:
indicates that sorting should be case sensitive
bFloatSortPrimary:
indicates that the strings should be converted into floats for sorting purposes
bIntSortPrimary:
indicates that the strings should be converted into integers for sorting purposes
bReversePrimarySorting:
indicates that the elements should be sorted in reverse for first-pass
bReverseSecondarySorting:
indicates that the elements should be sorted in reverse for second-pass
PrimaryIndex:
the index of the column/row that should be used for first-pass sorting
SecondaryIndex:
the index of the column/row that should be used when first pass sorting encounters two identical elements


Functions Detail

ResetSortColumns Source code

native final function ResetSortColumns ( optional bool bResort=true )
Resets the PrimarySortColumn and SecondarySortColumn to the Initial* values.
@param bResort specify TRUE to re-sort the list's elements after resetting the sort columns.

ResortItems Source code

native final function bool ResortItems ( optional bool bCaseSensitive )
Sorts the owning list's items without modifying any sorting parameters.
@param bCaseSensitive specify TRUE to perform case-sensitive comparison
@return TRUE if the items were sorted successfully.

SortItems Source code

native final function bool SortItems ( int ColumnIndex, optional bool bSecondarySort, optional bool bCaseSensitive )
Sorts the owning list's items using the parameters specified.
@param ColumnIndex the column (when CellLinkType is LINKED_Columns) or row (when CellLinkType is LINKED_Rows) to use for sorting. Specify INDEX_NONE to clear sorting.
@param bSecondarySort specify TRUE to set ColumnIndex as the SecondarySortColumn. If FALSE, resets the value of SecondarySortColumn
@param bCaseSensitive specify TRUE to perform case-sensitive comparison
@return TRUE if the items were sorted successfully.


Defaultproperties

defaultproperties
{
   bAllowCompoundSorting=True
   InitialSortColumn=-1
   InitialSecondarySortColumn=-1
   PrimarySortColumn=-1
   SecondarySortColumn=-1
   Name="Default__UIComp_ListElementSorter"
   ObjectArchetype=UIComp_ListComponentBase'Engine.Default__UIComp_ListComponentBase'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: sk 18-3-2018 10:00:46.465 - Created with UnCodeX