public final class DisplayValues
extends java.lang.Object
| Modifier and Type | Field and Description | 
|---|---|
static int | 
MAX_DISPLAY_VALUE_LENGTH_DEFAULT  | 
static java.lang.String | 
MAX_DISPLAY_VALUE_LENGTH_KEY  | 
static int | 
TRUNC_DISPLAY_VALUE_LENGTH_DEFAULT  | 
static java.lang.String | 
TRUNC_DISPLAY_VALUE_LENGTH_KEY  | 
| Modifier and Type | Method and Description | 
|---|---|
static java.lang.String | 
displayValue(PropertyInfo property)
Returns the display value of the given property. 
 | 
static void | 
showDisplayValueInInlineEditor(java.awt.Component inlineEditor,
                              PropertyInfo property)
Shows the display value of the given property in the given inline editor. 
 | 
static java.awt.Component | 
truncateDisplayValue(java.awt.Component inlineEditor,
                    PropertyInfo property)
Prepares the display value of the given property for display in the given
 inline editor. 
 | 
public static final java.lang.String MAX_DISPLAY_VALUE_LENGTH_KEY
public static final java.lang.String TRUNC_DISPLAY_VALUE_LENGTH_KEY
public static final int MAX_DISPLAY_VALUE_LENGTH_DEFAULT
public static final int TRUNC_DISPLAY_VALUE_LENGTH_DEFAULT
public static java.lang.String displayValue(PropertyInfo property)
property - the given property.public static void showDisplayValueInInlineEditor(java.awt.Component inlineEditor,
                                  PropertyInfo property)
JTextField or if the property does not have a display
 value.inlineEditor - the given inline editor.property - the given property.public static java.awt.Component truncateDisplayValue(java.awt.Component inlineEditor,
                                      PropertyInfo property)
oracle.ide.inspector.maxDisplayValueLength; default is 300)
 it will be truncated to a predetermined length (as retrieved from the system
 properties with a key of oracle.ide.inspector.truncDisplayValueLength;
 default is 50).inlineEditor - property -