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

GUI2K4.DirectoryTreeList

Extends
GUIVertList

Core.Object
|   
+-- XInterface.GUI
   |   
   +-- XInterface.GUIComponent
      |   
      +-- XInterface.GUIListBase
         |   
         +-- XInterface.GUIVertList
            |   
            +-- GUI2K4.DirectoryTreeList

Variables Summary
DirectoryTreeList
boolbSimpleFileBrowsing
StreamDirectoryNodeCurrent
StreamInterfaceFileManager
StreamDirectoryNodeRoot
Inherited Variables from XInterface.GUIListBase
bAllowEmptyItems, bDrawSelectionBorder, bHotTrack, bHotTrackSound, bInitializeList, bMultiSelect, bNotify, bSorted, bVisibleWhenEmpty, DropIndex, Index, ItemCount, ItemHeight, ItemsPerPage, ItemWidth, LastPressX, LastPressY, LastSelected, LinkedObjects, MightRemove, MyScrollBar, OutlineStyle, OutlineStyleName, SectionJustification, SectionStyle, SectionStyleName, SelectedBKColor, SelectedImage, SelectedItems, SelectedStyle, SelectedStyleName, Top

Functions Summary
functionbool AddNode (StreamDirectoryNode Parent, string InName, optional bool bIsFile)
functionbool ChDir (string Path)
function Clear ()
function CreateRoot ()
functionbool ExpandNode (string Path)
functionStreamDirectoryNode FindNode (string Path)
functionint FindVisibleItemIndex (string Path)
functionstring Get (optional bool bFullPath)
functionstring GetCurrentNode ()
functionstring GetCurrentNodePath ()
functionstring GetItemAtIndex (int idx)
functionstring GetPath ()
functionstring GetPathAt (int idx)
functionarray<string> GetPendingItems (optional bool bGuarantee)
functionbool HandleDebugExec (string Command, string Params)
function InitComponent (GUIController MyController, GUIComponent MyOwner)
functionbool InternalOnClick (GUIComponent Sender)
function InternalOnDrawItem (Canvas C, int Item, float X, float Y, float XL, float YL, bool bIsSelected, bool bIsPending)
function InternalOnEndDrag (GUIComponent Accepting, bool bAccepted)
functionbool IsValid ()
functionbool IsValidIndex (int i)
function MakeVisible (float Perc)
functionbool RemoveFile (StreamDirectoryNode Parent, string InFileName)
functionbool RemoveNode (StreamDirectoryNode Parent, StreamDirectoryNode Child)
function SetCurrent (StreamDirectoryNode Node)
function SetTopItem (int Item)
function UpdateItemCount (optional bool bFullUpdate)
functionStreamDirectoryNode VisibleNode (int VisibleItemIndex)
functionstring VisibleNodeText (int VisibleItemIndex)
Inherited Functions from XInterface.GUIVertList
CalculateIndex, CenterMouse, Down, End, Home, InternalOnClick, InternalOnKeyType, PgDn, PgUp, Up, WheelDown, WheelUp
Inherited Functions from XInterface.GUIListBase
AdditionalDebugString, AddLinkObject, CalculateIndex, CheckDragSelect, Clear, ClearPendingElements, DisableLinkedObjects, Down, EnableLinkedObjects, End, GetItemAtIndex, GetPendingItems, Home, IndexChanged, InitComponent, InitLinkObjects, InternalOnBeginDrag, InternalOnDragDrop, InternalOnDragEnter, InternalOnDragLeave, InternalOnDragOver, InternalOnEndDrag, InternalOnKeyEvent, InternalOnMousePressed, InternalOnMouseRelease, InternalOnRightClick, IsMultiSelect, IsValid, IsValidIndex, MakeVisible, MoveLeft, MoveRight, PgDn, PgUp, SetIndex, SetOutlineAlpha, SetTopItem, SilentSetIndex, Sort, Up, WheelDown, WheelUp


Variables Detail

DirectoryTreeList

bSimpleFileBrowsing Source code

var(DirectoryTreeList) config bool bSimpleFileBrowsing;

Current Source code

var(DirectoryTreeList) editconst StreamDirectoryNode Current;

FileManager Source code

var(DirectoryTreeList) editconst StreamInterface FileManager;

Root Source code

var(DirectoryTreeList) editconst StreamDirectoryNode Root;


Functions Detail

AddNode Source code

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

ChDir Source code

function bool ChDir ( string Path )

Clear Source code

function Clear ( )

CreateRoot Source code

function CreateRoot ( )

ExpandNode Source code

function bool ExpandNode ( string Path )

FindNode Source code

function StreamDirectoryNode FindNode ( string Path )

FindVisibleItemIndex Source code

function int FindVisibleItemIndex ( string Path )

Get Source code

function string Get ( optional bool bFullPath )

GetCurrentNode Source code

function string GetCurrentNode ( )

GetCurrentNodePath Source code

function string GetCurrentNodePath ( )

GetItemAtIndex Source code

function string GetItemAtIndex ( int idx )

GetPath Source code

function string GetPath ( )

GetPathAt Source code

function string GetPathAt ( int idx )

GetPendingItems Source code

function array<string> GetPendingItems ( optional bool bGuarantee )

HandleDebugExec Source code

function bool HandleDebugExec ( string Command, string Params )

InitComponent Source code

function InitComponent ( GUIController MyController, GUIComponent MyOwner )

InternalOnClick Source code

function bool InternalOnClick ( GUIComponent Sender )

InternalOnDrawItem Source code

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

InternalOnEndDrag Source code

function InternalOnEndDrag ( GUIComponent Accepting, bool bAccepted )

IsValid Source code

function bool IsValid ( )

IsValidIndex Source code

function bool IsValidIndex ( int i )

MakeVisible Source code

function MakeVisible ( float Perc )

RemoveFile Source code

function bool RemoveFile ( StreamDirectoryNode Parent, string InFileName )

RemoveNode Source code

function bool RemoveNode ( StreamDirectoryNode Parent, StreamDirectoryNode Child )

SetCurrent Source code

function SetCurrent ( StreamDirectoryNode Node )

SetTopItem Source code

function SetTopItem ( int Item )

UpdateItemCount Source code

function UpdateItemCount ( optional bool bFullUpdate )

VisibleNode Source code

private function StreamDirectoryNode VisibleNode ( int VisibleItemIndex )

VisibleNodeText Source code

private function string VisibleNodeText ( int VisibleItemIndex )


Defaultproperties

defaultproperties
{
     bSimpleFileBrowsing=Wahr
     OnDrawItem=DirectoryTreeList.InternalOnDrawItem
     OnEndDrag=DirectoryTreeList.InternalOnEndDrag
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: Mo 16.4.2007 11:20:18.343 - Created with UnCodeX