Difference between revisions of "GUIComponent"

From Virtual World Web Wiki
Jump to: navigation, search
(Documentation for the GUIComponent class)
 
(Documentation for the GUIComponent class)
Line 1: Line 1:
 
This is the base class for all GUI components. More
 
This is the base class for all GUI components. More
  
 +
* This is a JavaScript visible object
 
===Remarks <nowiki>[</nowiki>[{{fullurl:GUIComponent Remarks|action=edit}} edit]<nowiki>]</nowiki>===
 
===Remarks <nowiki>[</nowiki>[{{fullurl:GUIComponent Remarks|action=edit}} edit]<nowiki>]</nowiki>===
 
{{:GUIComponent Remarks}}
 
{{:GUIComponent Remarks}}
  
 
===Properties===
 
===Properties===
:{{CSharp|GameObject ContentObject {get;} }}
 
 
 
:{{CSharp|string ContextTag {get; set;} }}
 
:{{CSharp|string ContextTag {get; set;} }}
  
Line 16: Line 15:
  
 
:{{CSharp|bool FitVertical {get; set;} }}
 
:{{CSharp|bool FitVertical {get; set;} }}
 
:{{CSharp|Single flexibleHeight {get; set;} }}
 
 
:{{CSharp|Single flexibleWidth {get; set;} }}
 
 
:{{CSharp|bool ignoreLayout {get;} }}
 
  
 
:{{CSharp|bool IgnoreLayout {get; set;} }}
 
:{{CSharp|bool IgnoreLayout {get; set;} }}
 
:{{CSharp|int layoutPriority {get;} }}
 
 
:{{CSharp|Single minHeight {get; set;} }}
 
 
:{{CSharp|Single minWidth {get; set;} }}
 
  
 
:{{CSharp|string Name {get; set;} }}
 
:{{CSharp|string Name {get; set;} }}
Line 35: Line 22:
 
:{{CSharp|string NodeID {get; set;} }}
 
:{{CSharp|string NodeID {get; set;} }}
  
:{{CSharp|ComponentLayout PanelLayout {get; set;} }}
+
:{{CSharp|ComponentLayoutExtended PanelLayoutExtended {get;} }}
 
+
:{{CSharp|GUIContainer Parent {get; set;} }}
+
  
 
:{{CSharp|GUIContainer ParentSetFromJS {get; set;} }}
 
:{{CSharp|GUIContainer ParentSetFromJS {get; set;} }}
 
:{{CSharp|Single preferredHeight {get; set;} }}
 
 
:{{CSharp|Single preferredWidth {get; set;} }}
 
  
 
:{{CSharp|int SiblingIndex {get; set;} }}
 
:{{CSharp|int SiblingIndex {get; set;} }}
Line 58: Line 39:
  
 
:{{CSharp|GUIBaseWindow Window {get; set;} }}
 
:{{CSharp|GUIBaseWindow Window {get; set;} }}
 
===Methods===
 
:{{CSharp|void CalculateLayoutInputHorizontal()}}
 
 
:{{CSharp|void CalculateLayoutInputVertical()}}
 
 
:{{CSharp|void Init()}}
 
 
:{{CSharp|void OnCreate(IntPtr context)}}
 
 
:{{CSharp|void RemoveComponent(GUIComponent component, bool destructable)}}
 
  
 
__NOTOC____NOEDITSECTION__
 
__NOTOC____NOEDITSECTION__

Revision as of 16:35, 21 October 2016

This is the base class for all GUI components. More

  • This is a JavaScript visible object

Remarks [edit]

Properties

string ContextTag {get; set;}
bool CursorHotSpotMiddle {get; set;}
bool Enabled {get; set;}
bool FitHorizontal {get; set;}
bool FitVertical {get; set;}
bool IgnoreLayout {get; set;}
string Name {get; set;}
string NodeID {get; set;}
ComponentLayoutExtended PanelLayoutExtended {get;}
GUIContainer ParentSetFromJS {get; set;}
int SiblingIndex {get; set;}
string ToolTip {get; set;}
ResourceValue ToolTipCursor {get; set;}
bool ToolTipCursorMiddle {get; set;}
ResourceValue ToolTipImage {get; set;}
string ToolTipTitle {get; set;}
GUIBaseWindow Window {get; set;}