edu.washington.cs.supple.example.synthetic
Class BinaryTreeExample
java.lang.Object
edu.washington.cs.supple.application.AbstractSuppleApplication
edu.washington.cs.supple.application.SimpleApplication
edu.washington.cs.supple.example.synthetic.BinaryTreeExample
- All Implemented Interfaces:
- SuppleApplication
- public class BinaryTreeExample
- extends SimpleApplication
Generator for a binary tree UI.
- Author:
- kgajos
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
depth
protected int depth
defaultValue
protected java.lang.Object defaultValue
BinaryTreeExample
public BinaryTreeExample(java.lang.Object defaultValue,
int depth)
createUi
public UiObject createUi()
- Description copied from class:
SimpleApplication
- Create the UI.
- Specified by:
createUi in class SimpleApplication
- Returns:
- the UI for a single session.
toString
public java.lang.String toString()
createBinaryTreeUi
public static UiObject createBinaryTreeUi(int depth,
java.lang.Object defaultValue)