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

E22562-01

oracle.apps.fnd.applcore.dt.setid.piLayout.poplist
Class AbstractPoplist

java.lang.Object
  extended by oracle.apps.fnd.applcore.dt.setid.piLayout.poplist.AbstractPoplist
All Implemented Interfaces:
java.beans.PropertyEditor, oracle.bali.xml.model.metadata.ContextualPropertyEditor, oracle.bali.xml.util.AttributeValueItemProvider, oracle.bali.xml.util.AttributeValueItemProvider2
Direct Known Subclasses:
SetIdDeterminants, SetIdPatterns

public abstract class AbstractPoplist
extends java.lang.Object
implements oracle.bali.xml.util.AttributeValueItemProvider2, oracle.bali.xml.model.metadata.ContextualPropertyEditor

Abstract class for the implementation of Poplists that require a context typically for JDBC Connections.

Author:
Michael Luetchford <michael.luetchford@oracle.com>

Field Summary
protected  oracle.bali.xml.model.metadata.PropertyEditorContext _propertyEditorContext
           
 
Constructor Summary
AbstractPoplist()
           
 
Method Summary
 void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void clearContext()
           
 java.lang.String getAsText()
           
abstract  java.util.List getAttributeValueItems()
          Retrieve the list of items for this poplist.
 java.awt.Component getCustomEditor()
           
 javax.swing.ListCellRenderer getCustomListCellRenderer(oracle.bali.xml.util.AttributeValueItem attributeValueItem)
          Retrieve the custom list cell renderer.
 java.lang.String getJavaInitializationString()
           
 java.lang.String[] getTags()
           
 java.lang.Object getValue()
           
 boolean hasCustomRenderer()
          Flag to indicate if this list has a custom renderer.
 boolean isConstrainedToEnumeration()
          Returns true if this implementation of the interface only allows values to be picked from the list in the droplist.
 boolean isPaintable()
           
 void paintValue(java.awt.Graphics gfx, java.awt.Rectangle box)
           
 void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
           
 void setAsText(java.lang.String text)
           
 void setContext(oracle.bali.xml.model.metadata.PropertyEditorContext propertyEditorContext)
           
 void setValue(java.lang.Object value)
           
 boolean supportsCustomEditor()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_propertyEditorContext

protected oracle.bali.xml.model.metadata.PropertyEditorContext _propertyEditorContext
Constructor Detail

AbstractPoplist

public AbstractPoplist()
Method Detail

getAttributeValueItems

public abstract java.util.List getAttributeValueItems()
Retrieve the list of items for this poplist.

Specified by:
getAttributeValueItems in interface oracle.bali.xml.util.AttributeValueItemProvider
Returns:
The list of items.

hasCustomRenderer

public boolean hasCustomRenderer()
Flag to indicate if this list has a custom renderer.

Specified by:
hasCustomRenderer in interface oracle.bali.xml.util.AttributeValueItemProvider
Returns:
boolean to indicate if a custom renderer is provided.

getCustomListCellRenderer

public javax.swing.ListCellRenderer getCustomListCellRenderer(oracle.bali.xml.util.AttributeValueItem attributeValueItem)
Retrieve the custom list cell renderer.

Specified by:
getCustomListCellRenderer in interface oracle.bali.xml.util.AttributeValueItemProvider
Parameters:
attributeValueItem - The item to render.
Returns:
The list cell renderer.

isConstrainedToEnumeration

public boolean isConstrainedToEnumeration()
Returns true if this implementation of the interface only allows values to be picked from the list in the droplist.

Specified by:
isConstrainedToEnumeration in interface oracle.bali.xml.util.AttributeValueItemProvider2
Returns:
boolean value.

setContext

public void setContext(oracle.bali.xml.model.metadata.PropertyEditorContext propertyEditorContext)
Specified by:
setContext in interface oracle.bali.xml.model.metadata.ContextualPropertyEditor

clearContext

public void clearContext()
Specified by:
clearContext in interface oracle.bali.xml.model.metadata.ContextualPropertyEditor

setValue

public void setValue(java.lang.Object value)
Specified by:
setValue in interface java.beans.PropertyEditor

getValue

public java.lang.Object getValue()
Specified by:
getValue in interface java.beans.PropertyEditor

isPaintable

public boolean isPaintable()
Specified by:
isPaintable in interface java.beans.PropertyEditor

paintValue

public void paintValue(java.awt.Graphics gfx,
                       java.awt.Rectangle box)
Specified by:
paintValue in interface java.beans.PropertyEditor

getJavaInitializationString

public java.lang.String getJavaInitializationString()
Specified by:
getJavaInitializationString in interface java.beans.PropertyEditor

getAsText

public java.lang.String getAsText()
Specified by:
getAsText in interface java.beans.PropertyEditor

setAsText

public void setAsText(java.lang.String text)
Specified by:
setAsText in interface java.beans.PropertyEditor

getTags

public java.lang.String[] getTags()
Specified by:
getTags in interface java.beans.PropertyEditor

getCustomEditor

public java.awt.Component getCustomEditor()
Specified by:
getCustomEditor in interface java.beans.PropertyEditor

supportsCustomEditor

public boolean supportsCustomEditor()
Specified by:
supportsCustomEditor in interface java.beans.PropertyEditor

addPropertyChangeListener

public void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
Specified by:
addPropertyChangeListener in interface java.beans.PropertyEditor

removePropertyChangeListener

public void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
Specified by:
removePropertyChangeListener in interface java.beans.PropertyEditor

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

E22562-01

Copyright © 2011 Oracle. All Rights Reserved.