Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

oracle.apps.fnd.applcore.dt.patterns.piLayout.gui
Class GenericAttributeValueItem

java.lang.Object
  extended by oracle.apps.fnd.applcore.dt.patterns.piLayout.gui.GenericAttributeValueItem
All Implemented Interfaces:
oracle.bali.xml.util.AttributeValueItem

public final class GenericAttributeValueItem
extends java.lang.Object
implements oracle.bali.xml.util.AttributeValueItem

Provides a generic immutable bean representing a single item to be used by XMLEF in a AttributeValueItemProvider.

Author:
David Groves <david.groves@oracle.com>

Constructor Summary
GenericAttributeValueItem(java.lang.String value, java.lang.String displayText, javax.swing.Icon icon)
          Construct the class with all items.
 
Method Summary
 java.lang.String getDisplayText()
          Get the display text.
 javax.swing.Icon getIcon()
          Get the icon.
 java.lang.String selectValue()
          Get the select value.
 java.lang.String toString()
          Get the string value, essentially selectValue().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenericAttributeValueItem

public GenericAttributeValueItem(java.lang.String value,
                                 java.lang.String displayText,
                                 javax.swing.Icon icon)
Construct the class with all items.

Parameters:
value - internal value
displayText - displayed value
icon - icon - can be null
Method Detail

getDisplayText

public java.lang.String getDisplayText()
Get the display text.

Specified by:
getDisplayText in interface oracle.bali.xml.util.AttributeValueItem
Returns:
display text

getIcon

public javax.swing.Icon getIcon()
Get the icon.

Specified by:
getIcon in interface oracle.bali.xml.util.AttributeValueItem
Returns:
icon

selectValue

public java.lang.String selectValue()
                             throws java.beans.PropertyVetoException
Get the select value.

Specified by:
selectValue in interface oracle.bali.xml.util.AttributeValueItem
Returns:
select value
Throws:
java.beans.PropertyVetoException - if this value cannot be selected.

toString

public java.lang.String toString()
Get the string value, essentially selectValue().

Overrides:
toString in class java.lang.Object
Returns:
string representation of object

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.