public class TreeGenerator extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TreeGenerator.TreeType |
| Constructor and Description |
|---|
TreeGenerator(TreeGenerator.TreeType type)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
generate(EditSession editSession,
Vector position)
Generate a tree.
|
static TreeGenerator.TreeType |
lookup(String type)
Looks up a tree type.
|
@Deprecated public TreeGenerator(TreeGenerator.TreeType type)
type - the tree typepublic boolean generate(EditSession editSession, Vector position) throws MaxChangedBlocksException
editSession - the edit sessionposition - the position to generate the tree atMaxChangedBlocksException@Nullable public static TreeGenerator.TreeType lookup(String type)
type - the tree typeCopyright © 2010-2014. All Rights Reserved.