UE2:DirectoryTreeList (UT2004)

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

Created on: 10/21/2003 Special list for directory structures

Written by Ron Prestenback © 2003, Epic Games, Inc. All Rights Reserved

Properties

Property group 'DirectoryTreeList'

bSimpleFileBrowsing

Type: bool

Modifiers: config


Default value: True

Current

Type: StreamDirectoryNode

Modifiers: editconst


FileManager

Type: StreamInterface

Modifiers: editconst


Root

Type: StreamDirectoryNode

Modifiers: editconst


Default values

Property Value
OnDrawItem InternalOnDrawItem
OnEndDrag InternalOnEndDrag

Functions

Events

InitComponent

event InitComponent (GUIController MyController, GUIComponent MyOwner)

Overrides: GUIListBase.InitComponent


Other instance functions

AddNode

function bool AddNode (StreamDirectoryNode Parent, string InName, optional bool bIsFile)


ChDir

function bool ChDir (string Path)


Clear

function Clear ()

Overrides: GUIListBase.Clear


CreateRoot

function CreateRoot ()


ExpandNode

function bool ExpandNode (string Path)


FindNode

function StreamDirectoryNode FindNode (string Path)


FindVisibleItemIndex

function int FindVisibleItemIndex (string Path)


Get

function string Get (optional bool bFullPath)


GetCurrentNode

function string GetCurrentNode ()


GetCurrentNodePath

function string GetCurrentNodePath ()


GetItemAtIndex

function string GetItemAtIndex (int idx)

Overrides: GUIListBase.GetItemAtIndex


GetPath

function string GetPath ()


GetPathAt

function string GetPathAt (int idx)


GetPendingItems

function array<stringGetPendingItems (optional bool bGuarantee)

Overrides: GUIListBase.GetPendingItems


HandleDebugExec

function bool HandleDebugExec (string Command, string Params)


InternalOnClick

function bool InternalOnClick (GUIComponent Sender)

Overrides: GUIVertList.InternalOnClick


InternalOnDrawItem

function InternalOnDrawItem (Canvas C, int Item, float X, float Y, float XL, float YL, bool bIsSelected, bool bIsPending)


InternalOnEndDrag

function InternalOnEndDrag (GUIComponent Accepting, bool bAccepted)

Overrides: GUIListBase.InternalOnEndDrag


IsValid

function bool IsValid ()

Overrides: GUIListBase.IsValid


IsValidIndex

function bool IsValidIndex (int i)

Overrides: GUIListBase.IsValidIndex


MakeVisible

function MakeVisible (float Perc)

Overrides: GUIListBase.MakeVisible


RemoveFile

function bool RemoveFile (StreamDirectoryNode Parent, string InFileName)


RemoveNode

function bool RemoveNode (StreamDirectoryNode Parent, StreamDirectoryNode Child)


SetCurrent

function SetCurrent (StreamDirectoryNode Node)


SetTopItem

function SetTopItem (int Item)

Overrides: GUIListBase.SetTopItem


UpdateItemCount

function UpdateItemCount (optional bool bFullUpdate)


VisibleNode

private function StreamDirectoryNode VisibleNode (int VisibleItemIndex)


VisibleNodeText

private function string VisibleNodeText (int VisibleItemIndex)