publish
IT2BE TreeView Bean info


Servoy Properties Summary
String bgcolor
Boolean deleteEnabled
Boolean editable
String fgcolor
Number getSelectedRow
Boolean isShowHierarchy
Boolean visible
Number joinType
Boolean moveEnabled
Boolean newEnabled
Boolean showChildPanel
Boolean showParentPanel
Boolean transparent


Servoy Methods Summary
void collapse( Number )
void collapseAll( )
void createTreeView( FoundSet, Array<Object>, ITRecordSet )
void createTreeView( FoundSet, Array<Object>, ITRecordSet, ITRecordSet )
void expand( Number )
void expandAll( )
void reset( )
void setEditor( String, String, String )
void setOnDataChangedMethod( Function )
void setOnDragEnterMethod( Function )
void setOnDragMethod( Function )
void setOnDragOverMethod( Function )
void setOnDropMethod( Function )
void setOnRecordSelectedMethod( Function )
void setPopupMenu( ITPopupMenu )
void setPopupMethod( Function )
void showHierarchy( Boolean )
void showHierarchy( Boolean, String )


Servoy Properties Details


bgcolor
String  bgcolor
Get/Set the background color for the panels.
Returns
String  color String

Supported Clients
SmartClient


deleteEnabled
Boolean  deleteEnabled
Enable deleting Records.
Returns
Boolean  enabled boolean

Supported Clients
SmartClient


editable
Boolean  editable
Get/Set the Join Tree editable.
Returns
Boolean  editable boolean

Supported Clients
SmartClient


fgcolor
String  fgcolor
Get/Set the foreground color.
Returns
String  color String

Supported Clients
SmartClient


getSelectedRow
Number  getSelectedRow
Retrieve the selected Join Tree row index.
Returns
Number  row int

Supported Clients
SmartClient


isShowHierarchy
Boolean  isShowHierarchy
The records will show their hierarchical position in the Tree.
Returns
Boolean  showhierchy boolean

Supported Clients
SmartClient


visible
Boolean  visible
Get/Set the visibility
Returns
Boolean  visible oolean

Supported Clients
SmartClient


joinType
Number  joinType
Get/Set the Join Type.
Returns
Number  type int

Supported Clients
SmartClient


moveEnabled
Boolean  moveEnabled
Enable moving of Records.
Returns
Boolean  enabled boolean

Supported Clients
SmartClient


newEnabled
Boolean  newEnabled
Enable creating Records.
Returns
Boolean  enabled boolean

Supported Clients
SmartClient


showChildPanel
Boolean  showChildPanel
Show Child (right) list panel.
Returns
Boolean  childpanel boolean

Supported Clients
SmartClient


showParentPanel
Boolean  showParentPanel
Show Parent (left) list panel.
Returns
Boolean  showparent boolean

Supported Clients
SmartClient


transparent
Boolean  transparent
Get/Set the transparency
Returns
Boolean  tranparent boolean

Supported Clients
SmartClient

Servoy Methods Details


collapse
void  collapse( Number )
Collapse the Join Tree node at row index.
Parameters
Number  row

Returns
void  

Supported Clients
SmartClient


collapseAll
void  collapseAll( )
Collapse all of the Join Tree nodes.
Returns
void  

Supported Clients
SmartClient


createTreeView
void  createTreeView( FoundSet, Array<Object>, ITRecordSet )
Validate (initial) setting for the bean.
Parameters
FoundSet  set
Array<Object>  columns
ITRecordSet  parentSet

Returns
void  

Supported Clients
SmartClient


createTreeView
void  createTreeView( FoundSet, Array<Object>, ITRecordSet, ITRecordSet )
Validate (initial) setting for the bean.
Parameters
FoundSet  set
Array<Object>  columns
ITRecordSet  parentSet
ITRecordSet  childSet

Returns
void  

Supported Clients
SmartClient


expand
void  expand( Number )
Expand the Join Tree node at row index.
Parameters
Number  row  the row

Returns
void  

Supported Clients
SmartClient


expandAll
void  expandAll( )
Expand all of the Join Tree nodes.
Returns
void  

Supported Clients
SmartClient


reset
void  reset( )
Reset the tree.
Returns
void  

Supported Clients
SmartClient


setEditor
void  setEditor( String, String, String )
Set titles for the Record Editor.
Parameters
String  title  the title
String  nameColumn  the name column
String  valueColumn  the value column

Returns
void  

Supported Clients
SmartClient


setOnDataChangedMethod
void  setOnDataChangedMethod( Function )
Set the on data changed callback method
Parameters
Function  method  the method

Returns
void  

Supported Clients
SmartClient


setOnDragEnterMethod
void  setOnDragEnterMethod( Function )
Set the Drag Enter method (called after entering the panel).
Parameters
Function  method  the method

Returns
void  

Supported Clients
SmartClient


setOnDragMethod
void  setOnDragMethod( Function )
Set the Drag method (called at drag start).
Parameters
Function  method  the method

Returns
void  

Supported Clients
SmartClient


setOnDragOverMethod
void  setOnDragOverMethod( Function )
Set the Drag Over method (called when dragging over an existing Record).
Parameters
Function  method  the method

Returns
void  

Supported Clients
SmartClient


setOnDropMethod
void  setOnDropMethod( Function )
Set the Drop method (called when the drop is done).
Parameters
Function  method  the method

Returns
void  

Supported Clients
SmartClient


setOnRecordSelectedMethod
void  setOnRecordSelectedMethod( Function )
Set the Record Seleted method (called on single or double click).
Parameters
Function  method  the method

Returns
void  

Supported Clients
SmartClient


setPopupMenu
void  setPopupMenu( ITPopupMenu )
Define additional (Tree) popup methods.
Parameters
ITPopupMenu  menu  the menu

Returns
void  

Supported Clients
SmartClient


setPopupMethod
void  setPopupMethod( Function )
Set the method to activate after selecting the popup value.
Parameters
Function  method  the method

Returns
void  

Supported Clients
SmartClient


showHierarchy
void  showHierarchy( Boolean )
Set the records to show their hierarchical position in the Tree, optionally add a separator (character).
Parameters
Boolean  show  the show

Returns
void  

Supported Clients
SmartClient


showHierarchy
void  showHierarchy( Boolean, String )
Set the records to show their hierarchical position in the Tree, optionally add a separator (character).
Parameters
Boolean  show  the show
String  separator  the separator

Returns
void  

Supported Clients
SmartClient