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.panel
Class ApplicationsPanelModel

java.lang.Object
  extended by oracle.adfdt.view.ui.collection.ItemHolder
      extended by oracle.adfdt.view.ui.collection.Collection
          extended by oracle.apps.fnd.applcore.dt.patterns.metadata.creator.panel.ApplicationsPanelModel
All Implemented Interfaces:
oracle.adfdt.view.ui.util.NodeHolder

public class ApplicationsPanelModel
extends oracle.adfdt.view.ui.collection.Collection
implements oracle.adfdt.view.ui.util.NodeHolder

This class represents the Applications Panel component.


Field Summary
 
Fields inherited from class oracle.adfdt.view.ui.collection.ItemHolder
MOVE_BOTTOM, MOVE_DOWN, MOVE_TOP, MOVE_UP, PROPERTY_ITEMS
 
Constructor Summary
ApplicationsPanelModel(oracle.adfdt.ADFDesignTimeContext dtContext, org.w3c.dom.Element applicationsPanel, oracle.adfdt.model.objects.DataControl dataControl, oracle.binding.meta.NamedDefinition definition)
          Construct a model in a data first mentality.
ApplicationsPanelModel(oracle.bali.xml.gui.jdev.JDevXmlContext context, org.w3c.dom.Element applicationsPanel)
          The constructor.
 
Method Summary
 void commit()
          This method is used to generate the metadata for the applications panel.
 oracle.adfdt.view.ui.collection.Item createItem()
          This method is used to create a new subheader.
static java.lang.String[] getButtonIds()
          Get the ids of all buttons appsPanel uses.
 java.lang.String getCancelType()
          Return the cancel type for the applications panel.
 oracle.bali.xml.gui.jdev.JDevXmlContext getContext()
          This method returns the jdev xml context.
 oracle.adfdt.model.objects.DataControl getDataControl()
          Get the Data Control.
 ApplicationsPanelSubheader getDefaultContainer()
          Return the default container component for all the panel components.
 oracle.binding.meta.NamedDefinition getDefinition()
          Get the Named Definition.
 java.lang.String getNavigationType()
          This method returns the navigation type for the applications panel.
 org.w3c.dom.Node getNode()
          Return the representative node for this component.
 oracle.bali.xml.model.XmlContext getObject()
          This method returns the XML context.
 java.lang.String getRevertType()
          Return the revert type for the applications panel.
 java.lang.String getSaveOptionsStyle()
          Get the saveOptionsStyle attribute.
 java.lang.String getSaveType()
          Return the save type for the applications panel.
 java.lang.String getSubmitString()
          This method returns the text for the submit button.
 java.lang.String getSubmitType()
          Return the submit type for the applications panel.
 org.w3c.dom.Node getTempNode()
          This method returns the temporary parent node used in the binding panel.
 java.lang.String getTitle()
          This method returns the title of the applications panel.
 oracle.adfdt.view.ui.collection.Item group(oracle.adfdt.view.ui.collection.Item[] items)
          This method does nothing.
 void init(org.w3c.dom.Node node)
          Do nothing
 boolean isComponentFirst()
          Are we running in component first mode?
 boolean isNavigationEnabled()
          This method indicates if the navigation is enabled in this applications panel.
 boolean isScrollable()
          Is this panel scrollable?
 void setCancelType(java.lang.String cancelType)
          This method sets the cancel type for the applications panel.
 void setContext(oracle.bali.xml.gui.jdev.JDevXmlContext context)
          This method is used to set the jdev xml context.
 void setNavigationEnabled(boolean isNavigationEnabled)
          This method is used to set navigation enabled property.
 void setNavigationType(java.lang.String navigationType)
          This method is used to set the navigation type for the applications panel.
 void setRevertType(java.lang.String revertType)
          This method sets the revert type for the applications panel.
 void setSaveType(java.lang.String saveType)
          This method sets the save type for the applications panel.
 void setScrollable(boolean scrollable)
          Is this panel scrollable?
 void setSubmitString(java.lang.String submitString)
          This method sets the text for the submit button.
 void setSubmitType(java.lang.String submitType)
          This method sets the submit type for the applications panel.
 void setTitle(java.lang.String title)
          The method is used to set the title of the applications panel.
 void ungroup(oracle.adfdt.view.ui.collection.Item item)
          This method does nothing.
 
Methods inherited from class oracle.adfdt.view.ui.collection.ItemHolder
addPropertyChangeListener, delete, firePropertyChange, getItems, getParent, move, removePropertyChangeListener, setItems
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationsPanelModel

public ApplicationsPanelModel(oracle.bali.xml.gui.jdev.JDevXmlContext context,
                              org.w3c.dom.Element applicationsPanel)
The constructor.

Parameters:
context - The jdev xml context object.
applicationsPanel - The node for this object.

ApplicationsPanelModel

public ApplicationsPanelModel(oracle.adfdt.ADFDesignTimeContext dtContext,
                              org.w3c.dom.Element applicationsPanel,
                              oracle.adfdt.model.objects.DataControl dataControl,
                              oracle.binding.meta.NamedDefinition definition)
Construct a model in a data first mentality.

Parameters:
dtContext - context
applicationsPanel - popup Element to configure
dataControl - data contol drop was done from
definition - definition dropped
Method Detail

getNode

public org.w3c.dom.Node getNode()
Return the representative node for this component.

Specified by:
getNode in interface oracle.adfdt.view.ui.util.NodeHolder
Returns:
The node for this component.

getObject

public oracle.bali.xml.model.XmlContext getObject()
This method returns the XML context.

Returns:
The XML context.

getContext

public oracle.bali.xml.gui.jdev.JDevXmlContext getContext()
This method returns the jdev xml context.

Returns:
The jdev xml context.

setContext

public void setContext(oracle.bali.xml.gui.jdev.JDevXmlContext context)
This method is used to set the jdev xml context.

Parameters:
context - The jdev xml context.

getDefaultContainer

public ApplicationsPanelSubheader getDefaultContainer()
Return the default container component for all the panel components.

Returns:
The default container component.

commit

public void commit()
            throws java.lang.Exception
This method is used to generate the metadata for the applications panel.

Specified by:
commit in class oracle.adfdt.view.ui.collection.ItemHolder
Throws:
java.lang.Exception - Throw exception if any.

group

public oracle.adfdt.view.ui.collection.Item group(oracle.adfdt.view.ui.collection.Item[] items)
This method does nothing.

Specified by:
group in class oracle.adfdt.view.ui.collection.ItemHolder
Parameters:
items - Items to be grouped.
Returns:
The grouped item.

ungroup

public void ungroup(oracle.adfdt.view.ui.collection.Item item)
This method does nothing.

Specified by:
ungroup in class oracle.adfdt.view.ui.collection.ItemHolder
Parameters:
item - Item to be ungrouped.

init

public void init(org.w3c.dom.Node node)
Do nothing

Parameters:
node - the node.

createItem

public oracle.adfdt.view.ui.collection.Item createItem()
This method is used to create a new subheader.

Specified by:
createItem in class oracle.adfdt.view.ui.collection.Collection
Returns:
Return the newly created subheader.

setTitle

public void setTitle(java.lang.String title)
The method is used to set the title of the applications panel.

Parameters:
title - The title of the applications panel.

getTitle

public java.lang.String getTitle()
This method returns the title of the applications panel.

Returns:
The title of the panel.

getTempNode

public org.w3c.dom.Node getTempNode()
This method returns the temporary parent node used in the binding panel.

Returns:
The temporary node.

setNavigationType

public void setNavigationType(java.lang.String navigationType)
This method is used to set the navigation type for the applications panel.

Parameters:
navigationType - The navigation type.

getNavigationType

public java.lang.String getNavigationType()
This method returns the navigation type for the applications panel.

Returns:
The navigation type.

setCancelType

public void setCancelType(java.lang.String cancelType)
This method sets the cancel type for the applications panel.

Parameters:
cancelType - The cancel type.

getCancelType

public java.lang.String getCancelType()
Return the cancel type for the applications panel.

Returns:
The cancel type.

setRevertType

public void setRevertType(java.lang.String revertType)
This method sets the revert type for the applications panel.

Parameters:
revertType - The cancel type.

getRevertType

public java.lang.String getRevertType()
Return the revert type for the applications panel.

Returns:
The revert type.

setSaveType

public void setSaveType(java.lang.String saveType)
This method sets the save type for the applications panel.

Parameters:
saveType - The cancel type.

getSaveType

public java.lang.String getSaveType()
Return the save type for the applications panel.

Returns:
The save type.

setSubmitType

public void setSubmitType(java.lang.String submitType)
This method sets the submit type for the applications panel.

Parameters:
submitType - The submit type.

getSubmitType

public java.lang.String getSubmitType()
Return the submit type for the applications panel.

Returns:
The submit type.

setSubmitString

public void setSubmitString(java.lang.String submitString)
This method sets the text for the submit button.

Parameters:
submitString - The text for the submit button.

getSubmitString

public java.lang.String getSubmitString()
This method returns the text for the submit button.

Returns:
The text for the submit button.

setNavigationEnabled

public void setNavigationEnabled(boolean isNavigationEnabled)
This method is used to set navigation enabled property.

Parameters:
isNavigationEnabled - Indicate if the navigation is enabled for the applications panel.

isNavigationEnabled

public boolean isNavigationEnabled()
This method indicates if the navigation is enabled in this applications panel.

Returns:
Indicate if the navigation is enabled.

setScrollable

public void setScrollable(boolean scrollable)
Is this panel scrollable?

Parameters:
scrollable - true if scrollable, false otherwise.

isScrollable

public boolean isScrollable()
Is this panel scrollable?

Returns:
true if scrollable, false otherwise.

isComponentFirst

public boolean isComponentFirst()
Are we running in component first mode?

Returns:
true if component first, false otherwise.

getDataControl

public oracle.adfdt.model.objects.DataControl getDataControl()
Get the Data Control.

Returns:
Data Control.

getDefinition

public oracle.binding.meta.NamedDefinition getDefinition()
Get the Named Definition.

Returns:
Named Definition.

getButtonIds

public static final java.lang.String[] getButtonIds()
Get the ids of all buttons appsPanel uses.

Returns:
array of ids.

getSaveOptionsStyle

public java.lang.String getSaveOptionsStyle()
Get the saveOptionsStyle attribute.

Returns:
saveOptionsStyle attribute.

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

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.