NodeExtentProvider<TextInBox>public class TextInBoxNodeExtentProvider extends Object implements NodeExtentProvider<TextInBox>
NodeExtentProvider for nodes of type TextInBox.
As one would expect this NodeExtentProvider returns the width and height as specified with each TextInBox.
| Constructor | Description |
|---|---|
TextInBoxNodeExtentProvider() |
| Modifier and Type | Method | Description |
|---|---|---|
double |
getHeight(TextInBox treeNode) |
Returns the height of the given treeNode.
|
double |
getWidth(TextInBox treeNode) |
Returns the width of the given treeNode.
|
public double getWidth(TextInBox treeNode)
NodeExtentProvidergetWidth in interface NodeExtentProvider<TextInBox>treeNode - public double getHeight(TextInBox treeNode)
NodeExtentProvidergetHeight in interface NodeExtentProvider<TextInBox>treeNode - Copyright © 2019. All rights reserved.