Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

oracle.ide.inspector
Class DisplayValues

java.lang.Object
  extended by oracle.ide.inspector.DisplayValues

public final class DisplayValues
extends java.lang.Object

Understands utility methods related to "display values" for a particular inline editor in the Property Inspector.


Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

displayValue

public static java.lang.String displayValue(PropertyInfo property)
Returns the display value of the given property.

Parameters:
property - the given property.
Returns:
the display value of the given property.

showDisplayValueInInlineEditor

public static void showDisplayValueInInlineEditor(java.awt.Component inlineEditor,
                                                  PropertyInfo property)
Shows the display value of the given property in the given inline editor. This method will simply return if the inline editor is not a JTextField or if the property does not have a display value.

Parameters:
inlineEditor - the given inline editor.
property - the given property.

truncateDisplayValue

public static java.awt.Component truncateDisplayValue(java.awt.Component inlineEditor,
                                                      PropertyInfo property)

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1)

E13403-04

Copyright © 1997, 2010, Oracle. All rights reserved.