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 and Description |
---|
TextInBoxNodeExtentProvider() |
Modifier and Type | Method and 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)
NodeExtentProvider
getWidth
in interface NodeExtentProvider<TextInBox>
treeNode
- public double getHeight(TextInBox treeNode)
NodeExtentProvider
getHeight
in interface NodeExtentProvider<TextInBox>
treeNode
- Copyright © 2023. All rights reserved.