SlideShare a Scribd company logo
Tree user interaction   Hemakumar.S Open Source Developer
Tree user interaction Users can edit tree control labels. The controls also support several keyboard navigation and editing keys. Editing a node label at run time. Set the editable property of the Tree control to true to make node labels editable at run time. To edit a node label, the user selects the label, and then enters a new label or edits the existing label text.  To support label editing, the Tree control's List superclass uses the following events. These events belong to the ListEvent class:
Events itemEditBegin:   Dispatched when the editedItemPosition property has been set and  the cell can be edited. itemEditEnd: Dispatched when cell editing session ends for any reason. itemFocusIn: Dispatched when tree node gets the focus: when a user selects the label or tabs to it.
Cont…. itemFocusOut: Dispatched when a label loses focus. itemClick: Dispatched when a user clicks on an item in the control. Down ,ArrowPage, DownEnd: Moves the caret to the end of the label. Up ArrowPage UpHome: Moves the caret to the beginning of the label. Right Arrow: Moves the caret forward one character.
Edit labels by using Keyboard Left Arrow:   Moves the caret backward one character. Enter: Ends editing and moves selection to the next visible node, which can then be edited. At the last node, selects the label. Shift Enter: Ends editing and moves selection to the previous visible node, which can then be edited. At the first node, selects the label.
Cont…. Escape: Cancels the edit, restores the text, and changes the row state from editing to selected. TAB: When in editing mode, accepts the current changes, selects the row below, and goes into editing mode with the label text selected. If at the last element in the tree or not in editing mode, sends focus to the next control. Shift-TAB: When in editing mode, accepts the current changes, selects the row above, and goes into editing mode. If at the first element in the tree or not in editing mode, sends focus to the previous control.
Tree Navigation Keys Down Arrow: Moves the selection down one. When the Tree control gets focus, use the  Down arrow to move focus to the first node.   Up Arrow: Moves the selection up one item. Right Arrow:   Opens a selected branch node. If a branch is already open, moves to the first child node. Left Arrow : Closes a selected branch node. If a leaf node or a closed branch node is currently selected, selects the parent node. Spacebar or * (Asterisk on numeric keypad): Opens or closes a selected branch node (toggles the state). + (Plus sign on numeric keypad): Opens a selected branch node. -(Minus sign on numeric keypad): Closes a selected branch node.
Cont…. Control + Arrow keys: Moves the focus, but does not select a node. Use the Spacebar to select a node. End Moves the selection to the bottom of the list. Home:   Moves the selection to the top of the list.  Page down: Moves the selection down one page. Page up: Moves the selection up one page.   Control: If the allowMultipleSelection property is true, allows multiple noncontiguous selections. Shift: If the allowMultipleSelection property is true, allows multiple contiguous  selections.
Thank You

More Related Content

PDF
chi square goodness of fit test (expected ratio) (procedure and output)
PDF
Two way anova in spss (procedure and output)
PDF
chi square goodness of fit test (equal ratio) (procedure and output)
PDF
Paired sample t test (procedure and output)
PDF
Independent sample t test in spss (procedure and output)
PDF
One way anova in spss (procedure and output)
PDF
linear regression analysis in spss (procedure and output)
PPT
Navigation keys in tree controls
chi square goodness of fit test (expected ratio) (procedure and output)
Two way anova in spss (procedure and output)
chi square goodness of fit test (equal ratio) (procedure and output)
Paired sample t test (procedure and output)
Independent sample t test in spss (procedure and output)
One way anova in spss (procedure and output)
linear regression analysis in spss (procedure and output)
Navigation keys in tree controls

What's hot (19)

PDF
chi square test of independence or test of association (procedre ad output)
PPTX
Modeling in microsoft excel
PDF
1st quarter 4th meeting- spreadsheet
PPTX
3.2 Transitioning to the Results Panel
PPTX
Lesson3 Modifying Columns, Rows And Cells
PPTX
02.modifying worksheet
PDF
Photoshop Selections
PPS
Document production(4th April)
PPT
Mean Median Range Mode On Ti 84
PPT
Spreadsheets Introduction using RM Number Magic
PPTX
Excel tips
PDF
PPTX
WPS Entering Data
PDF
Intermediate table views
PPT
Chapter10
PPTX
Editing worksheet data (Microsoft Excel)
PDF
Excel shortcut key
PDF
Microsoft excel-2003-keyboard-shortcuts
PDF
2 front panel
chi square test of independence or test of association (procedre ad output)
Modeling in microsoft excel
1st quarter 4th meeting- spreadsheet
3.2 Transitioning to the Results Panel
Lesson3 Modifying Columns, Rows And Cells
02.modifying worksheet
Photoshop Selections
Document production(4th April)
Mean Median Range Mode On Ti 84
Spreadsheets Introduction using RM Number Magic
Excel tips
WPS Entering Data
Intermediate table views
Chapter10
Editing worksheet data (Microsoft Excel)
Excel shortcut key
Microsoft excel-2003-keyboard-shortcuts
2 front panel
Ad

Viewers also liked (17)

PPT
Drag and drop
PPT
Linux commands
PPT
Image control
PPT
Pop up menubutton control
PPT
Horizontal list
PPT
Expanding a tree node
PPTX
Wow Mobile Presentationsuccessstry
PPT
Tree control
DOCX
Tabulasi gerak harmonik sederhana2
DOCX
Tabulasi gerak harmonik sederhana
PPT
Health heart1 hemakumar
DOC
PPTX
Wow Ppt With Numbers
PPT
Specifying tree control icons
PPT
Linux commands
PPT
Combobox with effect
PPS
Northrop Grumman\'s X 47 B1
Drag and drop
Linux commands
Image control
Pop up menubutton control
Horizontal list
Expanding a tree node
Wow Mobile Presentationsuccessstry
Tree control
Tabulasi gerak harmonik sederhana2
Tabulasi gerak harmonik sederhana
Health heart1 hemakumar
Wow Ppt With Numbers
Specifying tree control icons
Linux commands
Combobox with effect
Northrop Grumman\'s X 47 B1
Ad

Similar to Tree user interaction (20)

PDF
excel shortcut used in mathemathical calculations
PDF
Photoshop Selections
PDF
Excel 2007 keyboard shortcut
PPTX
IE406 Teamcenter Getting Started new1.pptx
PDF
Excel shortcuts
PDF
Excel 2011-cheat-sheet
PDF
Copy of Skill Nation Excel Shortcuts.pdf
PDF
Utilize Robust Lookup Formulas for Complex Data Analysis
DOCX
Micosoft Office Excel short cut keys
PPTX
3Dimention_lessonA_introMayaModeling.pptx
PPTX
Workbook Management.pptx
PDF
excel_cheatsheet.pdf
PDF
excel-cheat-sheet.pdf
PDF
ppt-2-for-DATA-MANAGEMENT.pdf
PPSX
A GUIDE FOR USING A SOFTWARE TO PLOT THE GRAPHS IN ARTICLES ( GRAPHER OR TECH...
PPT
UNIT_1_Intro_to_AutoCAD_Interface.ppt
PPT
PPTX
Microsoft Office Word 2007 - Lesson 4
PPTX
Presentation
PDF
PowerPoint-2016-for-Windows-keyboard-shortcuts.pdf
excel shortcut used in mathemathical calculations
Photoshop Selections
Excel 2007 keyboard shortcut
IE406 Teamcenter Getting Started new1.pptx
Excel shortcuts
Excel 2011-cheat-sheet
Copy of Skill Nation Excel Shortcuts.pdf
Utilize Robust Lookup Formulas for Complex Data Analysis
Micosoft Office Excel short cut keys
3Dimention_lessonA_introMayaModeling.pptx
Workbook Management.pptx
excel_cheatsheet.pdf
excel-cheat-sheet.pdf
ppt-2-for-DATA-MANAGEMENT.pdf
A GUIDE FOR USING A SOFTWARE TO PLOT THE GRAPHS IN ARTICLES ( GRAPHER OR TECH...
UNIT_1_Intro_to_AutoCAD_Interface.ppt
Microsoft Office Word 2007 - Lesson 4
Presentation
PowerPoint-2016-for-Windows-keyboard-shortcuts.pdf

More from Hemakumar.S (6)

PDF
Reading123
DOC
PPT
Pop upbutton control
PPT
Tile list
PPT
List control
PPT
Handling tree control events
Reading123
Pop upbutton control
Tile list
List control
Handling tree control events

Recently uploaded (20)

PPTX
OMC Textile Division Presentation 2021.pptx
PPTX
TLE Review Electricity (Electricity).pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
Approach and Philosophy of On baking technology
PDF
Encapsulation theory and applications.pdf
PPTX
Tartificialntelligence_presentation.pptx
PPTX
Chapter 5: Probability Theory and Statistics
PDF
Getting Started with Data Integration: FME Form 101
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
PPTX
A Presentation on Artificial Intelligence
PDF
A novel scalable deep ensemble learning framework for big data classification...
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
DP Operators-handbook-extract for the Mautical Institute
PPTX
SOPHOS-XG Firewall Administrator PPT.pptx
PDF
WOOl fibre morphology and structure.pdf for textiles
PDF
Mushroom cultivation and it's methods.pdf
OMC Textile Division Presentation 2021.pptx
TLE Review Electricity (Electricity).pptx
MIND Revenue Release Quarter 2 2025 Press Release
Transform Your ITIL® 4 & ITSM Strategy with AI in 2025.pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Accuracy of neural networks in brain wave diagnosis of schizophrenia
Approach and Philosophy of On baking technology
Encapsulation theory and applications.pdf
Tartificialntelligence_presentation.pptx
Chapter 5: Probability Theory and Statistics
Getting Started with Data Integration: FME Form 101
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
A Presentation on Artificial Intelligence
A novel scalable deep ensemble learning framework for big data classification...
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Group 1 Presentation -Planning and Decision Making .pptx
DP Operators-handbook-extract for the Mautical Institute
SOPHOS-XG Firewall Administrator PPT.pptx
WOOl fibre morphology and structure.pdf for textiles
Mushroom cultivation and it's methods.pdf

Tree user interaction

  • 1. Tree user interaction Hemakumar.S Open Source Developer
  • 2. Tree user interaction Users can edit tree control labels. The controls also support several keyboard navigation and editing keys. Editing a node label at run time. Set the editable property of the Tree control to true to make node labels editable at run time. To edit a node label, the user selects the label, and then enters a new label or edits the existing label text. To support label editing, the Tree control's List superclass uses the following events. These events belong to the ListEvent class:
  • 3. Events itemEditBegin: Dispatched when the editedItemPosition property has been set and the cell can be edited. itemEditEnd: Dispatched when cell editing session ends for any reason. itemFocusIn: Dispatched when tree node gets the focus: when a user selects the label or tabs to it.
  • 4. Cont…. itemFocusOut: Dispatched when a label loses focus. itemClick: Dispatched when a user clicks on an item in the control. Down ,ArrowPage, DownEnd: Moves the caret to the end of the label. Up ArrowPage UpHome: Moves the caret to the beginning of the label. Right Arrow: Moves the caret forward one character.
  • 5. Edit labels by using Keyboard Left Arrow: Moves the caret backward one character. Enter: Ends editing and moves selection to the next visible node, which can then be edited. At the last node, selects the label. Shift Enter: Ends editing and moves selection to the previous visible node, which can then be edited. At the first node, selects the label.
  • 6. Cont…. Escape: Cancels the edit, restores the text, and changes the row state from editing to selected. TAB: When in editing mode, accepts the current changes, selects the row below, and goes into editing mode with the label text selected. If at the last element in the tree or not in editing mode, sends focus to the next control. Shift-TAB: When in editing mode, accepts the current changes, selects the row above, and goes into editing mode. If at the first element in the tree or not in editing mode, sends focus to the previous control.
  • 7. Tree Navigation Keys Down Arrow: Moves the selection down one. When the Tree control gets focus, use the Down arrow to move focus to the first node. Up Arrow: Moves the selection up one item. Right Arrow: Opens a selected branch node. If a branch is already open, moves to the first child node. Left Arrow : Closes a selected branch node. If a leaf node or a closed branch node is currently selected, selects the parent node. Spacebar or * (Asterisk on numeric keypad): Opens or closes a selected branch node (toggles the state). + (Plus sign on numeric keypad): Opens a selected branch node. -(Minus sign on numeric keypad): Closes a selected branch node.
  • 8. Cont…. Control + Arrow keys: Moves the focus, but does not select a node. Use the Spacebar to select a node. End Moves the selection to the bottom of the list. Home: Moves the selection to the top of the list. Page down: Moves the selection down one page. Page up: Moves the selection up one page. Control: If the allowMultipleSelection property is true, allows multiple noncontiguous selections. Shift: If the allowMultipleSelection property is true, allows multiple contiguous selections.