Difference between revisions of "JLTreeViewItem"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
 
 
(3 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
  
 +
JLTreeViewItem is the class used for all items displayed in a TreeView and WebTreeView
  
  
Line 72: Line 73:
 
|-
 
|-
 
|width=33%|{{Method | name=AddItem | params=Item As JLTreeViewItem, SetStyle As Boolean = True | description= | newinversion=}}
 
|width=33%|{{Method | name=AddItem | params=Item As JLTreeViewItem, SetStyle As Boolean = True | description= | newinversion=}}
|width=33%|{{Method | name=IndexOf | params=Item As JLTreeViewItem | description= | returntype=Integer | newinversion=}}
 
|width=33%|{{Method | name=SetColors | params=value As Colors | description= | newinversion=}}
 
|-
 
|width=33%|{{Method | name=ClearAllStates | params=OnlyMouseOver As Boolean = False | description= | newinversion=}}
 
 
|width=33%|{{Method | name=InsertItem | params=Index As Integer, Item As JLTreeViewItem, SetStyle As Boolean = True | description= | newinversion=}}
 
|width=33%|{{Method | name=InsertItem | params=Index As Integer, Item As JLTreeViewItem, SetStyle As Boolean = True | description= | newinversion=}}
 
|width=33%|{{Method | name=SetIcons | params=Style As Integer, HiDPI As Integer | description= | newinversion=}}
 
|width=33%|{{Method | name=SetIcons | params=Style As Integer, HiDPI As Integer | description= | newinversion=}}
Line 83: Line 80:
 
|width=33%|{{Method | name=SetItemsIcon | params=ItemsIcon As Picture | description= | newinversion=}}
 
|width=33%|{{Method | name=SetItemsIcon | params=ItemsIcon As Picture | description= | newinversion=}}
 
|-
 
|-
|width=33%|{{Method | name=Copy | description= | returntype=JLTreeViewItem | newinversion=}}
+
|width=33%|{{Method | name=DeleteAllItems | description= | newinversion=}}
 
|width=33%|{{Method | name=Item | params=Index As Integer | description= | returntype=JLTreeViewItem | newinversion=}}
 
|width=33%|{{Method | name=Item | params=Index As Integer | description= | returntype=JLTreeViewItem | newinversion=}}
 
|width=33%|{{Method | name=SetStyle | params=value As Integer | description= | newinversion=}}
 
|width=33%|{{Method | name=SetStyle | params=value As Integer | description= | newinversion=}}
 
|-
 
|-
|width=33%|{{Method | name=DeleteAllItems | description= | newinversion=}}
+
|width=33%|{{Method | name=Destructor | description= | newinversion=}}
 
|width=33%|{{Method | name=ItemForXY | params=X As Integer, Y As Integer | description= | returntype=JLTreeViewItem | newinversion=}}
 
|width=33%|{{Method | name=ItemForXY | params=X As Integer, Y As Integer | description= | returntype=JLTreeViewItem | newinversion=}}
 
|width=33%|{{Method | name=SetStyle | params=value As Styles | description= | newinversion=}}
 
|width=33%|{{Method | name=SetStyle | params=value As Styles | description= | newinversion=}}
 
|-
 
|-
|width=33%|{{Method | name=Destructor | description= | newinversion=}}
+
|width=33%|{{Method | name=ExpandAll | params=Expand As Boolean | description= | newinversion=}}
 
|width=33%|{{Method | name=MouseDown | description= | newinversion=}}
 
|width=33%|{{Method | name=MouseDown | description= | newinversion=}}
  
 
|-
 
|-
|width=33%|{{Method | name=ExpandAll | params=Expand As Boolean | description= | newinversion=}}
+
|width=33%|{{Method | name=GetItem | params=ItemID As String | description= | returntype=JLTreeViewItem | newinversion=}}
 
|width=33%|{{Method | name=RemoveItem | params=Item As JLTreeViewItem | description= | newinversion=}}
 
|width=33%|{{Method | name=RemoveItem | params=Item As JLTreeViewItem | description= | newinversion=}}
  
 
|-
 
|-
|width=33%|{{Method | name=GetItem | params=ItemID As String | description= | returntype=JLTreeViewItem | newinversion=}}
+
|width=33%|{{Method | name=IndexOf | params=Item As JLTreeViewItem | description= | returntype=Integer | newinversion=}}
|width=33%|{{Method | name=SelectJS | params=ControlID As String | description= | returntype=String | newinversion=}}
+
|width=33%|{{Method | name=SetColors | params=value As Colors | description= | newinversion=}}
  
 
|-
 
|-
 
|}
 
|}

Latest revision as of 11:43, 16 June 2016


JLTreeViewItem is the class used for all items displayed in a TreeView and WebTreeView


Properties
BackgroundColor Header Parent
Checkbox HeaderHideX Separator
CheckboxChecked HeaderSelectable ShowText
CheckboxNormal HelpTag State
ChildAutoSetStyle HideText Tag
Collapsed Hierarchical Text
Count Icon Top
Disclosure Icon2x TotalCount
DisclosureClosed IconWeb Value
DisclosureClosed2x ID Visible
DisclosureClosedWeb ItemCount
DisclosureOpen Left
DisclosureOpenWeb MyColors
HasBackgroundColor MyStyle


Methods
AddItem InsertItem SetIcons
Constructor isChildSelected SetItemsIcon
DeleteAllItems Item SetStyle
Destructor ItemForXY SetStyle
ExpandAll MouseDown
GetItem RemoveItem
IndexOf SetColors