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

UTGame.UTUI_ContextMenu

Extends
UIContextMenu

Copyright 1998-2008 Epic Games, Inc. All Rights Reserved. A version of UIContextMenu that has been adapted to use 2DStringList's (required in order to get them working) NOTE: It may not be possible to get this working through the UI Editor, if so, then use the 'OnOpenContextMenu' delegate to initialize (and fill, using 'SetMenuItems' etc.) the context menu through code

Core.Object
|   
+-- Engine.UIRoot
   |   
   +-- Engine.UIScreenObject
      |   
      +-- Engine.UIObject
         |   
         +-- Engine.UIList
            |   
            +-- Engine.UIContextMenu
               |   
               +-- UTGame.UTUI_ContextMenu

Constants Summary
Inherited Contants from Engine.UIList
ResizeBufferPixels

Variables Summary
nameLastBoundField
Inherited Variables from Engine.UIContextMenu
bResolvePosition, InvokingWidget, MenuItems
Inherited Variables from Engine.UIList
bAllowColumnResizing, bAllowDisabledItemSelection, bDisplayDataBindings, bEnableMultiSelect, bEnableVerticalScrollbar, bHoverStateOverridesSelected, bInitializeScrollbars, bSingleClickSubmission, bSortingList, bUpdateItemUnderCursor, CellDataComponent, CellLinkType, CellPadding, CellSpacing, ColumnAutoSizeMode, ColumnCount, ColumnHeaderBackgroundStyle[EColumnHeaderState.COLUMNHEADER_MAX], ColumnHeaderStyle, ColumnWidth, DataProvider, DataSource, DecrementIndexCue, GlobalCellStyle[EUIListElementState.ELEMENT_MAX], HeaderCellPadding, HeaderElementSpacing, IncrementIndexCue, Index, ItemOverlayStyle[EUIListElementState.ELEMENT_MAX], Items, MaxVisibleItems, MinColumnSize, ResizeColumn, RowAutoSizeMode, RowCount, RowHeight, SelectedItems, SetIndexMutex, SortAscendingCue, SortComponent, SortDescendingCue, SubmitDataFailedCue, SubmitDataSuccessCue, TopIndex, ValueChangeNotificationMutex, VerticalScrollbar, WrapType

Enumerations Summary
Inherited Enumerations from Engine.UIContextMenu
EContextMenuItemType
Inherited Enumerations from Engine.UIList
ECellAutoSizeMode, ECellLinkType, EListWrapBehavior

Structures Summary
Inherited Structures from Engine.UIContextMenu
ContextMenuItem
Inherited Structures from Engine.UIList
CellHitDetectionInfo

Functions Summary
functionbool AddMenuItem (UIObject Widget, string Item, optional bool bDisabledItem, optional bool bAllowDuplicates))
functionbool ClearMenuItems (UIObject Widget))
functionint FindMenuItemIndex (UIObject Widget, string ItemToFind))
functionUTUIDataStore_2DStringList Get2DDataStoreRef (UIObject Widget, optional name WidgetField))
functionbool GetAllMenuItems (UIObject Widget, out array<string> out_MenuItems))
functionbool GetMenuItem (UIObject Widget, int IndexToGet, out string out_MenuItem))
functionint GetMenuItemCount (UIObject Widget))
functionbool InsertMenuItem (UIObject Widget, string Item, optional int InsertIndex=INDEX_NONE, optional bool bAllowDuplicates))
functionbool RemoveMenuItem (UIObject Widget, string ItemToRemove))
functionbool RemoveMenuItemAtIndex (UIObject Widget, int IndexToRemove))
functionbool SetContextTitle (UIObject Widget, string ContextTitle))
functionbool SetMenuItems (UIObject Widget, array<string> NewMenuItems, optional bool bClearExisting=true, optional int InsertIndex=INDEX_None))
Inherited Functions from Engine.UIContextMenu
ClearMenuItems, Close, FindMenuItemIndex, GetAllMenuItems, GetMenuItem, InsertMenuItem, IsActiveContextMenu, Open, RemoveMenuItem, RemoveMenuItemAtIndex, SetMenuItems
Inherited Functions from Engine.UIList
AllMutexesDisabled, CalculateIndexFromCursorLocation, CanSelectElement, ClearBoundDataStores, ClickedScrollZone, DecrementAllMutexes, DisableSetIndex, DisableValueChangeNotification, EnableColumnHeaderRendering, EnableSetIndex, EnableValueChangeNotification, FindItemIndex, GetBoundDataStores, GetClientRegion, GetColumnWidth, GetCurrentItem, GetDataStoreBinding, GetElementValue, GetItemCount, GetMaxNumVisibleColumns, GetMaxNumVisibleRows, GetMaxVisibleElementCount, GetResizeColumn, GetRowHeight, GetSelectedItems, GetTotalColumnCount, GetTotalRowCount, IncrementAllMutexes, Initialized, IsElementAutoSizingEnabled, IsElementEnabled, IsHotTrackingEnabled, IsSetIndexEnabled, IsValueChangeNotificationEnabled, NotifyDataStoreValueUpdated, OnGetTextValue, OnSetListIndex, OnStateChanged, PostInitialize, RefreshSubscriberValue, RemoveElement, SaveSubscriberValue, ScrollVertical, SetColumnCount, SetDataStoreBinding, SetHotTracking, SetIndex, SetRowCount, SetTopIndex, ShouldRenderColumnHeaders


Variables Detail

LastBoundField Source code

var name LastBoundField;


Functions Detail

AddMenuItem Source code

function bool AddMenuItem ( UIObject Widget, string Item, optional bool bDisabledItem, optional bool bAllowDuplicates) )

ClearMenuItems Source code

function bool ClearMenuItems ( UIObject Widget) )

FindMenuItemIndex Source code

function int FindMenuItemIndex ( UIObject Widget, string ItemToFind) )

Get2DDataStoreRef Source code

function UTUIDataStore_2DStringList Get2DDataStoreRef ( UIObject Widget, optional name WidgetField) )

GetAllMenuItems Source code

function bool GetAllMenuItems ( UIObject Widget, out array<string> out_MenuItems) )

GetMenuItem Source code

function bool GetMenuItem ( UIObject Widget, int IndexToGet, out string out_MenuItem) )

GetMenuItemCount Source code

function int GetMenuItemCount ( UIObject Widget) )

InsertMenuItem Source code

function bool InsertMenuItem ( UIObject Widget, string Item, optional int InsertIndex=INDEX_NONE, optional bool bAllowDuplicates) )

RemoveMenuItem Source code

function bool RemoveMenuItem ( UIObject Widget, string ItemToRemove) )

RemoveMenuItemAtIndex Source code

function bool RemoveMenuItemAtIndex ( UIObject Widget, int IndexToRemove) )

SetContextTitle Source code

function bool SetContextTitle ( UIObject Widget, string ContextTitle) )

SetMenuItems Source code

function bool SetMenuItems ( UIObject Widget, array<string> NewMenuItems, optional bool bClearExisting=true, optional int InsertIndex=INDEX_None) )


Defaultproperties

defaultproperties
{
   ColumnWidth=(Value=0.000000)
   CellLinkType=LINKED_None
   Begin Object Class=UIComp_ListPresenterCascade Name=UTContextMenuDataComponent ObjName=UTContextMenuDataComponent Archetype=UIComp_ListPresenterCascade'Engine.Default__UIComp_ListPresenterCascade'
      Begin Object Class=UITexture Name=NormalOverlayTemplate ObjName=NormalOverlayTemplate Archetype=UITexture'Engine.Default__UIComp_ListPresenterCascade:NormalOverlayTemplate'
         ObjectArchetype=UITexture'Engine.Default__UIComp_ListPresenterCascade:NormalOverlayTemplate'
      End Object
      Begin Object Class=UITexture Name=ActiveOverlayTemplate ObjName=ActiveOverlayTemplate Archetype=UITexture'Engine.Default__UIComp_ListPresenterCascade:ActiveOverlayTemplate'
         ObjectArchetype=UITexture'Engine.Default__UIComp_ListPresenterCascade:ActiveOverlayTemplate'
      End Object
      Begin Object Class=UITexture Name=SelectionOverlayTemplate ObjName=SelectionOverlayTemplate Archetype=UITexture'Engine.Default__UIComp_ListPresenterCascade:SelectionOverlayTemplate'
         ObjectArchetype=UITexture'Engine.Default__UIComp_ListPresenterCascade:SelectionOverlayTemplate'
      End Object
      Begin Object Class=UITexture Name=HoverOverlayTemplate ObjName=HoverOverlayTemplate Archetype=UITexture'Engine.Default__UIComp_ListPresenterCascade:HoverOverlayTemplate'
         ObjectArchetype=UITexture'Engine.Default__UIComp_ListPresenterCascade:HoverOverlayTemplate'
      End Object
      ListItemOverlay(0)=UITexture'UTGame.Default__UTUI_ContextMenu:UTContextMenuDataComponent.NormalOverlayTemplate'
      ListItemOverlay(1)=UITexture'UTGame.Default__UTUI_ContextMenu:UTContextMenuDataComponent.ActiveOverlayTemplate'
      ListItemOverlay(2)=UITexture'UTGame.Default__UTUI_ContextMenu:UTContextMenuDataComponent.SelectionOverlayTemplate'
      ListItemOverlay(3)=UITexture'UTGame.Default__UTUI_ContextMenu:UTContextMenuDataComponent.HoverOverlayTemplate'
      Name="UTContextMenuDataComponent"
      ObjectArchetype=UIComp_ListPresenterCascade'Engine.Default__UIComp_ListPresenterCascade'
   End Object
   CellDataComponent=UTContextMenuDataComponent
   Begin Object Class=UIComp_Event Name=WidgetEventComponent ObjName=WidgetEventComponent Archetype=UIComp_Event'Engine.Default__UIContextMenu:WidgetEventComponent'
      ObjectArchetype=UIComp_Event'Engine.Default__UIContextMenu:WidgetEventComponent'
   End Object
   EventProvider=WidgetEventComponent
   Name="Default__UTUI_ContextMenu"
   ObjectArchetype=UIContextMenu'Engine.Default__UIContextMenu'
}

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