public class TreeGenerator
extends java.lang.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(java.lang.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(java.lang.String type)
type
- the tree type