UE2:GUIMultiColumnList (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to navigation Jump to search
UT2004 Object >> GUI >> GUIComponent >> GUIListBase >> GUIVertList >> GUIMultiColumnList
Package: 
XInterface

null

Properties

Property group 'GUIMultiColumnList'

CellSpacing

Type: float


Default value: 1.0

ColumnHeadingHints

Type: array<string>

Modifiers: localized


ColumnHeadings

Type: array<string>

Modifiers: localized


ColumnWidths

Type: array<float>

Modifiers: const, editconst


ExpandLastColumn

Type: bool


InitColumnPerc

Type: array<float>


NeedsSorting

Type: bool

Will automatically sort when this is true

SortColumn

Type: int

Column that is currently used for sorting ( -1 for no sorting )

SortDescending

Type: bool

Used by native sorting to determine which direction to sort

Internal variables

InvSortData

Type: array<int>

Modifiers: const

Used for keeping same item selected after sorting

SortData

Type: array<MultiColumnSortData>

Modifiers: const

Filled with results of GetSortString()

Default values

Property Value
OnPreDraw InternalOnPreDraw

Structs

MultiColumnSortData

Modifiers: native, init

string SortString 
Set by GetSortString()
int SortItem 
Should be the index into your array for the corresponding SortString

Delegates

GetSortString

delegate string GetSortString (int YourArrayIndex)


OnColumnSized

delegate OnColumnSized (int column)


Functions

Native functions

AddedItem

native final function AddedItem (optional int YourArrayIndex)


ChangeSortOrder

native final function ChangeSortOrder ()


GetListIndex

native final function int GetListIndex (int YourArrayIndex)


RemovedItem

native final function RemovedItem (int YourArrayIndex)


SortList

native final function SortList ()


UpdatedItem

native final function UpdatedItem (int YourArrayIndex)


Events

InitializeColumns

event InitializeColumns (Canvas C)


OnSortChanged

event OnSortChanged ()


ResolutionChanged

event ResolutionChanged (int ResX, int ResY)

Overrides: GUIComponent.ResolutionChanged


Other instance functions

Clear

function Clear ()

Overrides: GUIListBase.Clear


CurrentListId

function int CurrentListId ()


Dump

function Dump ()


GetCellLeftWidth

function GetCellLeftWidth (int Column, out float Left, out float Width)


InternalOnPreDraw

function bool InternalOnPreDraw (Canvas C)


RemovedCurrent

function RemovedCurrent ()


Sort

function Sort ()

Overrides: GUIListBase.Sort