Space Engineers
Public Member Functions | Public Attributes | Properties | List of all members
Sandbox.Graphics.GUI.MyTreeViewItem Class Reference
Inheritance diagram for Sandbox.Graphics.GUI.MyTreeViewItem:
Sandbox.Graphics.GUI.MyTreeViewBase Sandbox.Graphics.GUI.ITreeView

Public Member Functions

 MyTreeViewItem (StringBuilder text, string icon, Vector2 iconSize, string expandIcon, string collapseIcon, Vector2 expandIconSize)
 
Vector2 GetIconSize ()
 
Vector2 GetOffset ()
 
Vector2 LayoutItem (Vector2 origin)
 
void Draw (float transitionAlpha)
 
void DrawDraged (Vector2 position, float transitionAlpha)
 
bool HandleInputEx (bool hasKeyboardActiveControl)
 
int GetIndex ()
 
Vector2 GetPosition ()
 
Vector2 GetSize ()
 
void DoAction ()
 
- Public Member Functions inherited from Sandbox.Graphics.GUI.MyTreeViewBase
 MyTreeViewBase ()
 
MyTreeViewItem AddItem (StringBuilder text, string icon, Vector2 iconSize, string expandIcon, string collapseIcon, Vector2 expandIconSize)
 
void DeleteItem (MyTreeViewItem item)
 
void ClearItems ()
 
Vector2 LayoutItems (Vector2 origin)
 
void DrawItems (float transitionAlpha)
 
bool HandleInput (bool hasKeyboardActiveControl)
 
int GetItemCount ()
 
MyTreeViewItem GetItem (int index)
 
int GetIndex (MyTreeViewItem item)
 
MyTreeViewItem GetItem (StringBuilder name)
 

Public Attributes

EventHandler _Action
 
EventHandler RightClick
 
object Tag
 
bool Visible
 
bool Enabled
 
bool IsExpanded
 
StringBuilder Text
 
MyToolTips ToolTip
 
MyIconTexts IconTexts
 
MyTreeViewBase Parent
 
- Public Attributes inherited from Sandbox.Graphics.GUI.MyTreeViewBase
MyTreeView TreeView
 

Properties

MyTreeViewItemDragAndDrop DragDrop [get, set]
 
- Properties inherited from Sandbox.Graphics.GUI.MyTreeViewBase
MyTreeViewItem this[int i] [get]
 

Detailed Description

Definition at line 10 of file MyTreeViewItem.cs.

Constructor & Destructor Documentation

Sandbox.Graphics.GUI.MyTreeViewItem.MyTreeViewItem ( StringBuilder  text,
string  icon,
Vector2  iconSize,
string  expandIcon,
string  collapseIcon,
Vector2  expandIconSize 
)
inline

Definition at line 43 of file MyTreeViewItem.cs.

Member Function Documentation

void Sandbox.Graphics.GUI.MyTreeViewItem.DoAction ( )
inline

Definition at line 299 of file MyTreeViewItem.cs.

void Sandbox.Graphics.GUI.MyTreeViewItem.Draw ( float  transitionAlpha)
inline

Definition at line 114 of file MyTreeViewItem.cs.

void Sandbox.Graphics.GUI.MyTreeViewItem.DrawDraged ( Vector2  position,
float  transitionAlpha 
)
inline

Definition at line 184 of file MyTreeViewItem.cs.

Vector2 Sandbox.Graphics.GUI.MyTreeViewItem.GetIconSize ( )
inline

Definition at line 60 of file MyTreeViewItem.cs.

int Sandbox.Graphics.GUI.MyTreeViewItem.GetIndex ( )
inline

Definition at line 284 of file MyTreeViewItem.cs.

Vector2 Sandbox.Graphics.GUI.MyTreeViewItem.GetOffset ( )
inline

Definition at line 79 of file MyTreeViewItem.cs.

Vector2 Sandbox.Graphics.GUI.MyTreeViewItem.GetPosition ( )
inline

Definition at line 289 of file MyTreeViewItem.cs.

Vector2 Sandbox.Graphics.GUI.MyTreeViewItem.GetSize ( )
inline

Definition at line 294 of file MyTreeViewItem.cs.

bool Sandbox.Graphics.GUI.MyTreeViewItem.HandleInputEx ( bool  hasKeyboardActiveControl)
inline

captured && MyInput.Static.IsNewLeftMouseDoubleClick() &&

captured &&

Definition at line 218 of file MyTreeViewItem.cs.

Vector2 Sandbox.Graphics.GUI.MyTreeViewItem.LayoutItem ( Vector2  origin)
inline

Definition at line 84 of file MyTreeViewItem.cs.

Member Data Documentation

EventHandler Sandbox.Graphics.GUI.MyTreeViewItem._Action

Definition at line 12 of file MyTreeViewItem.cs.

bool Sandbox.Graphics.GUI.MyTreeViewItem.Enabled

Definition at line 18 of file MyTreeViewItem.cs.

MyIconTexts Sandbox.Graphics.GUI.MyTreeViewItem.IconTexts

Definition at line 23 of file MyTreeViewItem.cs.

bool Sandbox.Graphics.GUI.MyTreeViewItem.IsExpanded

Definition at line 20 of file MyTreeViewItem.cs.

MyTreeViewBase Sandbox.Graphics.GUI.MyTreeViewItem.Parent

Definition at line 25 of file MyTreeViewItem.cs.

EventHandler Sandbox.Graphics.GUI.MyTreeViewItem.RightClick

Definition at line 13 of file MyTreeViewItem.cs.

object Sandbox.Graphics.GUI.MyTreeViewItem.Tag

Definition at line 16 of file MyTreeViewItem.cs.

StringBuilder Sandbox.Graphics.GUI.MyTreeViewItem.Text

Definition at line 21 of file MyTreeViewItem.cs.

MyToolTips Sandbox.Graphics.GUI.MyTreeViewItem.ToolTip

Definition at line 22 of file MyTreeViewItem.cs.

bool Sandbox.Graphics.GUI.MyTreeViewItem.Visible

Definition at line 17 of file MyTreeViewItem.cs.

Property Documentation

MyTreeViewItemDragAndDrop Sandbox.Graphics.GUI.MyTreeViewItem.DragDrop
getset

Definition at line 14 of file MyTreeViewItem.cs.


The documentation for this class was generated from the following file: