Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Tutorial Writing a Custom Tree
What is a Tree?
Trees appear on the left of the window. An example of a tree is the directory view. There is a simple interface which you can implement to create your own trees.
Here’s some terminology:
- Trees are represented by the Tree class. You create an instance of this to show a tree in Redcar.
- A tree mirror is an object that can be queried by Redcar to get the contents of the tree. You will implement one of these to display your tree.
- A tree controller is an object that can respond to tree events, like clicks. You will implement one of these if you want to respond to user input.