public final class RenderingHelper
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Key<java.lang.Boolean> |
SHRINK_LONG_RENDERER
This key can be set to a tree to resize renderer component if it exceed a visible area.
|
Constructor and Description |
---|
RenderingHelper(javax.swing.JComponent component) |
Modifier and Type | Method and Description |
---|---|
int |
getHeight() |
int |
getRightMargin() |
int |
getWidth() |
int |
getX() |
int |
getY() |
boolean |
isExpandableHintShown(int index) |
boolean |
isRendererShrinkingDisabled(int index) |
public static final Key<java.lang.Boolean> SHRINK_LONG_RENDERER
JComponent.putClientProperty(java.lang.Object, java.lang.Object)
public int getX()
public int getY()
public int getWidth()
public int getHeight()
public int getRightMargin()
public boolean isRendererShrinkingDisabled(int index)
public boolean isExpandableHintShown(int index)