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

E22562-02

oracle.apps.fnd.applcore.dt.patterns.metadata.creator.common
Class ApplicationsTableDecorator

java.lang.Object
  extended by oracle.adfdt.view.ui.collection.CollectionPanelDecorator
      extended by oracle.apps.fnd.applcore.dt.patterns.metadata.creator.common.ApplicationsTableDecorator
Direct Known Subclasses:
ApplicationsSubheaderTableDecorator

public class ApplicationsTableDecorator
extends oracle.adfdt.view.ui.collection.CollectionPanelDecorator

This class is used to set properties for the collection summary table.


Nested Class Summary
protected  class ApplicationsTableDecorator.LabelListCellRenderer
          A simple renderer for the label column.
 
Field Summary
static java.lang.String DEFAULT_LABEL_MARKER
          <default> placeholder used in label renderer.
static java.lang.String EMPTY_LABEL_MARKER
          <empty> placeholder used in label renderer.
 
Fields inherited from class oracle.adfdt.view.ui.collection.CollectionPanelDecorator
INDEX_COMPONENT, INDEX_ITEM_LABEL_VALUE, INDEX_VALUE
 
Constructor Summary
ApplicationsTableDecorator(oracle.bali.xml.gui.jdev.JDevXmlContext context)
          The constructor for this class.
ApplicationsTableDecorator(oracle.bali.xml.gui.jdev.JDevXmlContext context, boolean readonlyComponents)
          The constructor for this class.
ApplicationsTableDecorator(oracle.bali.xml.gui.jdev.JDevXmlContext context, java.util.List<java.lang.String> bindings, boolean readonlyComponents)
          The constructor for this class.
 
Method Summary
 java.util.List getAvailableComponents()
          This method returns the list of available ADF component types that are to be used in the poplist.
 java.util.List getAvailableComponents(oracle.adfdt.view.ui.collection.Item item)
          Get the List of available components to show in the component combobox for the given row and column.
 java.lang.String getComponentHeader(oracle.adfdt.view.ui.collection.ItemHolder holder)
          Return the header label for the third column in the table.
 oracle.bali.xml.gui.jdev.JDevXmlContext getContext()
          Return the jdev xml context object.
 java.lang.String getItemHeader(oracle.adfdt.view.ui.collection.ItemHolder holder)
          Return the header label for the first column in the table.
 javax.swing.table.TableCellEditor getTableCellEditor(int column)
          This method is used to return a table cell editor component for a given column.
 javax.swing.table.TableCellRenderer getTableCellRenderer(int column)
          Get the TableCellRenderer for the given column.
 java.lang.String getValueHeader(oracle.adfdt.view.ui.collection.ItemHolder holder)
          Return the header label for the second column in the table.
 boolean isColumnEditable(int column)
          Indicate whether a particular column in the table, is editable.
 boolean isNewSupported()
          This method indicates whether new items can be created in the table.
 
Methods inherited from class oracle.adfdt.view.ui.collection.CollectionPanelDecorator
getBackgroundColor, getColumnCount, getColumnHeader, getComponentDisplayValue, getComponentIcon, getComponentLabelString, getDetailsDescription, getDetailsHelpTopic, getDisplayValue, getEditTitle, getIsSortableLabelString, getItemDisplayValue, getItemLabelString, getItemLabelValueLabelString, getSortPropertyLabelString, getSummaryDescription, getSummaryHelpTopic, getTableLabelForString, getValueDisplayValue, getVisibleRowCount, isCellEditable, isEditSupported, isGroupingSupported, isReorderingSupported, isSortingSupported, setItemValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_LABEL_MARKER

public static final java.lang.String DEFAULT_LABEL_MARKER
<default> placeholder used in label renderer.


EMPTY_LABEL_MARKER

public static final java.lang.String EMPTY_LABEL_MARKER
<empty> placeholder used in label renderer.

Constructor Detail

ApplicationsTableDecorator

public ApplicationsTableDecorator(oracle.bali.xml.gui.jdev.JDevXmlContext context)
The constructor for this class.

Parameters:
context - The jdev xml context.

ApplicationsTableDecorator

public ApplicationsTableDecorator(oracle.bali.xml.gui.jdev.JDevXmlContext context,
                                  boolean readonlyComponents)
The constructor for this class.

Parameters:
context - The jdev xml context.
readonlyComponents - use readonly components or not.

ApplicationsTableDecorator

public ApplicationsTableDecorator(oracle.bali.xml.gui.jdev.JDevXmlContext context,
                                  java.util.List<java.lang.String> bindings,
                                  boolean readonlyComponents)
The constructor for this class.

Parameters:
context - The jdev xml context.
bindings - bindings to use. These will be shown in the bindings column in a combo box.
readonlyComponents - use readonly components or not.
Method Detail

getContext

public oracle.bali.xml.gui.jdev.JDevXmlContext getContext()
Return the jdev xml context object.

Returns:
The jdev xml context.

isNewSupported

public boolean isNewSupported()
This method indicates whether new items can be created in the table.

Overrides:
isNewSupported in class oracle.adfdt.view.ui.collection.CollectionPanelDecorator
Returns:
Whether the new button is enabled.

isColumnEditable

public boolean isColumnEditable(int column)
Indicate whether a particular column in the table, is editable.

Overrides:
isColumnEditable in class oracle.adfdt.view.ui.collection.CollectionPanelDecorator
Parameters:
column - The column number.
Returns:
Return whether the given column is editable.

getTableCellEditor

public javax.swing.table.TableCellEditor getTableCellEditor(int column)
This method is used to return a table cell editor component for a given column.

Overrides:
getTableCellEditor in class oracle.adfdt.view.ui.collection.CollectionPanelDecorator
Parameters:
column - The column number.
Returns:
Return the editor component for the given column.

getTableCellRenderer

public javax.swing.table.TableCellRenderer getTableCellRenderer(int column)
Get the TableCellRenderer for the given column.

Overrides:
getTableCellRenderer in class oracle.adfdt.view.ui.collection.CollectionPanelDecorator
Parameters:
column - 0 based column index.
Returns:
renderer.

getItemHeader

public java.lang.String getItemHeader(oracle.adfdt.view.ui.collection.ItemHolder holder)
Return the header label for the first column in the table.

Overrides:
getItemHeader in class oracle.adfdt.view.ui.collection.CollectionPanelDecorator
Parameters:
holder - The collection object.
Returns:
The header text for first column.

getValueHeader

public java.lang.String getValueHeader(oracle.adfdt.view.ui.collection.ItemHolder holder)
Return the header label for the second column in the table.

Overrides:
getValueHeader in class oracle.adfdt.view.ui.collection.CollectionPanelDecorator
Parameters:
holder - The collection object.
Returns:
The header text for second column.

getComponentHeader

public java.lang.String getComponentHeader(oracle.adfdt.view.ui.collection.ItemHolder holder)
Return the header label for the third column in the table.

Overrides:
getComponentHeader in class oracle.adfdt.view.ui.collection.CollectionPanelDecorator
Parameters:
holder - The collection object.
Returns:
The header text for third column.

getAvailableComponents

public java.util.List getAvailableComponents()
This method returns the list of available ADF component types that are to be used in the poplist.

Overrides:
getAvailableComponents in class oracle.adfdt.view.ui.collection.CollectionPanelDecorator
Returns:
List of ADF component types.

getAvailableComponents

public java.util.List getAvailableComponents(oracle.adfdt.view.ui.collection.Item item)
Get the List of available components to show in the component combobox for the given row and column. Defaults to getAvailableComponents().

Overrides:
getAvailableComponents in class oracle.adfdt.view.ui.collection.CollectionPanelDecorator
Parameters:
item - item in question.
Returns:
list of available components.

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

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.