public interface XValueNode extends Obsolescent
XValue
Modifier and Type | Field and Description |
---|---|
static int |
MAX_VALUE_LENGTH
If value text exceeds this constant it's recommended to truncate it and use
setFullValueEvaluator(XFullValueEvaluator) method
to provide full value |
Modifier and Type | Method and Description |
---|---|
void |
setFullValueEvaluator(XFullValueEvaluator fullValueEvaluator)
If string representation of the value is too long to show in the tree pass truncated value to
setPresentation(Icon, String, String, boolean)
method and call this method to provide full value. |
void |
setPresentation(javax.swing.Icon icon,
java.lang.String type,
java.lang.String value,
boolean hasChildren)
Setup presentation of the value
|
void |
setPresentation(javax.swing.Icon icon,
java.lang.String type,
java.lang.String separator,
java.lang.String value,
boolean hasChildren)
Deprecated.
|
void |
setPresentation(javax.swing.Icon icon,
XValuePresentation presentation,
boolean hasChildren)
Setup presentation of the value.
|
isObsolete
static final int MAX_VALUE_LENGTH
setFullValueEvaluator(XFullValueEvaluator)
method
to provide full valuevoid setPresentation(javax.swing.Icon icon, java.lang.String type, java.lang.String value, boolean hasChildren)
icon
- icon representing value type (see AllIcons.Debugger
)type
- optional type of the value, it is shown in gray color and surrounded by bracesvalue
- string representation of value. It is also used in 'Copy Value' actionhasChildren
- false
if the node is a leafvoid setPresentation(javax.swing.Icon icon, XValuePresentation presentation, boolean hasChildren)
icon
- icon representing value type (see AllIcons.Debugger
)presentation
- a new XValuePresentation
instance which determines how the value is showhasChildren
- false
if the node is a leaf@Deprecated void setPresentation(javax.swing.Icon icon, java.lang.String type, java.lang.String separator, java.lang.String value, boolean hasChildren)
setPresentation(Icon, XValuePresentation, boolean)
void setFullValueEvaluator(XFullValueEvaluator fullValueEvaluator)
setPresentation(Icon, String, String, boolean)
method and call this method to provide full value.
This will add a link to the node and show popup with full value if an user clicks on that link.fullValueEvaluator
- will be used to obtain full text of the valueMAX_VALUE_LENGTH