Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

oracle.apps.fnd.applseed.config.ui.wiz
Class SDContainerPanel

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by javax.swing.JPanel
                  extended by oracle.jbo.ui.wizard.JboWizardPanel
                      extended by oracle.jbo.dt.ui.main.dlg.DtuWizardPanel
                          extended by oracle.apps.fnd.applseed.config.ui.wiz.SDTreePanel
                              extended by oracle.apps.fnd.applseed.config.ui.wiz.SDContainerPanel
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible, javax.swing.event.TreeModelListener, javax.swing.event.TreeSelectionListener, oracle.jbo.dt.ui.main.tree.TreeDoubleClickListener

public class SDContainerPanel
extends SDTreePanel

Class assists in Seed Data Configuration. Panel UI and validation for View Object relationship and Containment is handled by this class. This class is contained in a Seed Data Configuration wizard.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.JPanel
javax.swing.JPanel.AccessibleJPanel
 
Nested classes/interfaces inherited from class javax.swing.JComponent
javax.swing.JComponent.AccessibleJComponent
 
Nested classes/interfaces inherited from class java.awt.Container
java.awt.Container.AccessibleAWTContainer
 
Nested classes/interfaces inherited from class java.awt.Component
java.awt.Component.AccessibleAWTComponent, java.awt.Component.BaselineResizeBehavior, java.awt.Component.BltBufferStrategy, java.awt.Component.FlipBufferStrategy
 
Field Summary
 
Fields inherited from class oracle.jbo.dt.ui.main.dlg.DtuWizardPanel
parentDlg
 
Fields inherited from class oracle.jbo.ui.wizard.JboWizardPanel
accessibleDescription, bCallLeaveOnBack, bEntered, bLeft, helpUrl, panelImage, panelImageIcon, theWizard, wizardPage
 
Fields inherited from class javax.swing.JComponent
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW
 
Fields inherited from class java.awt.Component
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT
 
Fields inherited from interface java.awt.image.ImageObserver
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH
 
Constructor Summary
SDContainerPanel(SDWizard aWizard)
          Constructor based on wizard.
 
Method Summary
protected  void addExtractFieldInfo(oracle.jbo.dt.ui.main.tree.DtuBaseTree summaryTree, javax.swing.tree.MutableTreeNode pageNode)
           
protected  void addSummaryTreeInfo(oracle.jbo.dt.ui.main.tree.DtuBaseTree summaryTree, javax.swing.tree.MutableTreeNode pageNode)
          Method used to display information in SummaryPanel for Container node.
 javax.swing.tree.MutableTreeNode createSummaryTreeNode(oracle.jbo.dt.ui.main.tree.DtuBaseTree st, javax.swing.tree.MutableTreeNode top)
          Method creates node that will be displayed on the summary panel.
protected  java.lang.String getExtractFieldLabel()
           
 java.lang.String getPanelName()
          Method returns the name of the panel.
protected  void initTree(SDTreeCellRenderer type)
          Initialization related to tree done here.
static boolean isContained(oracle.jbo.dt.objects.JboNamedObject obj, oracle.jbo.dt.objects.JboAppModule am)
          Method returns true if the Named object is a contained ViewLinkUsage in Application Module.
 void jbInit()
          Initialization of the GUI of the panel done in this method.
 boolean leave(int fromWhere)
          Method handles the panel leave event.
protected  void setOtherValues(oracle.jbo.dt.objects.JboAppModule am)
          Values of the panel other than the tree are set.
protected  void setTree(oracle.jbo.dt.objects.JboAppModule am)
          Values of the panel related to the tree are set.
 void valueChanged(javax.swing.event.TreeSelectionEvent treeEvent)
          Tree selection event handler method.
 
Methods inherited from class oracle.apps.fnd.applseed.config.ui.wiz.SDTreePanel
doubleClick, enter, expandNodes, getChoiceWidth, getControlPanel, getQueryTree, getxWidth, setAMSelected, setChoiceWidth, setEntryValues, setInitialValues, setQueryTree, setView, setxWidth, treeNodesChanged, treeNodesInserted, treeNodesRemoved, treeStructureChanged
 
Methods inherited from class oracle.jbo.dt.ui.main.dlg.DtuWizardPanel
add, addEnterListener, addSummaryTreeChildStructureNodes, addSummaryTreeList, addSummaryTreeList, createComponentBorder, createComponentBorder, enableContainer, getHelpUrl, getLeftPanelImageName, getPanelDialog, getParentDialog, getParentWindow, getParentWindow, getWizard, onClose, setAccessibilityDesc
 
Methods inherited from class oracle.jbo.ui.wizard.JboWizardPanel
addSummaryTreeInfo, createSummaryTreeNode, disable, getAccessibilityDesc, getDefaultFocusControl, getLeftPanelImageObject, getPanelImageLogo, getSimilarWizardClass, getSummaryTreeLabel, getWizard, getWizardPage, help, isBranching, isCallLeaveOnBack, isEntered, isLeft, onCancel, onFinish, setAccessibilityDesc, setEnabled, setHelpUrl, setIsLeft, setWizardPage
 
Methods inherited from class javax.swing.JPanel
getAccessibleContext, getUI, getUIClassID, paramString, setUI, updateUI
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, enable, firePropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, getActionForKeyStroke, getActionMap, getAlignmentX, getAlignmentY, getAncestorListeners, getAutoscrolls, getBaseline, getBaselineResizeBehavior, getBorder, getBounds, getClientProperty, getComponentGraphics, getComponentPopupMenu, getConditionForKeyStroke, getDebugGraphicsOptions, getDefaultLocale, getFontMetrics, getGraphics, getHeight, getInheritsPopupMenu, getInputMap, getInputMap, getInputVerifier, getInsets, getInsets, getListeners, getLocation, getMaximumSize, getMinimumSize, getNextFocusableComponent, getPopupLocation, getPreferredSize, getRegisteredKeyStrokes, getRootPane, getSize, getToolTipLocation, getToolTipText, getToolTipText, getTopLevelAncestor, getTransferHandler, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintComponent, paintImmediately, paintImmediately, print, printAll, printBorder, printChildren, printComponent, processComponentKeyEvent, processKeyBinding, processKeyEvent, processMouseEvent, processMouseMotionEvent, putClientProperty, registerKeyboardAction, registerKeyboardAction, removeAncestorListener, removeNotify, removeVetoableChangeListener, repaint, repaint, requestDefaultFocus, requestFocus, requestFocus, requestFocusInWindow, requestFocusInWindow, resetKeyboardActions, reshape, revalidate, scrollRectToVisible, setActionMap, setAlignmentX, setAlignmentY, setAutoscrolls, setBackground, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update
 
Methods inherited from class java.awt.Container
add, add, add, add, addContainerListener, addImpl, addPropertyChangeListener, addPropertyChangeListener, applyComponentOrientation, areFocusTraversalKeysSet, countComponents, deliverEvent, doLayout, findComponentAt, findComponentAt, getComponent, getComponentAt, getComponentAt, getComponentCount, getComponents, getComponentZOrder, getContainerListeners, getFocusTraversalKeys, getFocusTraversalPolicy, getLayout, getMousePosition, insets, invalidate, isAncestorOf, isFocusCycleRoot, isFocusCycleRoot, isFocusTraversalPolicyProvider, isFocusTraversalPolicySet, layout, list, list, locate, minimumSize, paintComponents, preferredSize, printComponents, processContainerEvent, processEvent, remove, remove, removeAll, removeContainerListener, setComponentZOrder, setFocusCycleRoot, setFocusTraversalPolicy, setFocusTraversalPolicyProvider, setLayout, transferFocusBackward, transferFocusDownCycle, validate, validateTree
 
Methods inherited from class java.awt.Component
action, add, addComponentListener, addFocusListener, addHierarchyBoundsListener, addHierarchyListener, addInputMethodListener, addKeyListener, addMouseListener, addMouseMotionListener, addMouseWheelListener, bounds, checkImage, checkImage, coalesceEvents, contains, createImage, createImage, createVolatileImage, createVolatileImage, disableEvents, dispatchEvent, enable, enableEvents, enableInputMethods, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, firePropertyChange, getBackground, getBounds, getColorModel, getComponentListeners, getComponentOrientation, getCursor, getDropTarget, getFocusCycleRootAncestor, getFocusListeners, getFocusTraversalKeysEnabled, getFont, getForeground, getGraphicsConfiguration, getHierarchyBoundsListeners, getHierarchyListeners, getIgnoreRepaint, getInputContext, getInputMethodListeners, getInputMethodRequests, getKeyListeners, getLocale, getLocation, getLocationOnScreen, getMouseListeners, getMouseMotionListeners, getMousePosition, getMouseWheelListeners, getName, getParent, getPeer, getPropertyChangeListeners, getPropertyChangeListeners, getSize, getToolkit, getTreeLock, gotFocus, handleEvent, hasFocus, hide, imageUpdate, inside, isBackgroundSet, isCursorSet, isDisplayable, isEnabled, isFocusable, isFocusOwner, isFocusTraversable, isFontSet, isForegroundSet, isLightweight, isMaximumSizeSet, isMinimumSizeSet, isPreferredSizeSet, isShowing, isValid, isVisible, keyDown, keyUp, list, list, list, location, lostFocus, mouseDown, mouseDrag, mouseEnter, mouseExit, mouseMove, mouseUp, move, nextFocus, paintAll, postEvent, prepareImage, prepareImage, processComponentEvent, processFocusEvent, processHierarchyBoundsEvent, processHierarchyEvent, processInputMethodEvent, processMouseWheelEvent, remove, removeComponentListener, removeFocusListener, removeHierarchyBoundsListener, removeHierarchyListener, removeInputMethodListener, removeKeyListener, removeMouseListener, removeMouseMotionListener, removeMouseWheelListener, removePropertyChangeListener, removePropertyChangeListener, repaint, repaint, repaint, resize, resize, setBounds, setBounds, setComponentOrientation, setCursor, setDropTarget, setFocusable, setFocusTraversalKeysEnabled, setIgnoreRepaint, setLocale, setLocation, setLocation, setName, setSize, setSize, show, show, size, toString, transferFocus, transferFocusUpCycle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SDContainerPanel

public SDContainerPanel(SDWizard aWizard)
Constructor based on wizard.

Parameters:
aWizard - wizard that contains the panel
Method Detail

initTree

protected void initTree(SDTreeCellRenderer type)
Initialization related to tree done here.

Overrides:
initTree in class SDTreePanel
Parameters:
type -

valueChanged

public void valueChanged(javax.swing.event.TreeSelectionEvent treeEvent)
Tree selection event handler method.

Specified by:
valueChanged in interface javax.swing.event.TreeSelectionListener
Overrides:
valueChanged in class SDTreePanel
Parameters:
treeEvent -

jbInit

public void jbInit()
            throws java.lang.Exception
Initialization of the GUI of the panel done in this method.

Overrides:
jbInit in class SDTreePanel
Throws:
java.lang.Exception

setOtherValues

protected void setOtherValues(oracle.jbo.dt.objects.JboAppModule am)
Description copied from class: SDTreePanel
Values of the panel other than the tree are set. This gets called everytime the user enters the panel.

Overrides:
setOtherValues in class SDTreePanel
Parameters:
am - the Application Module that is being edited.

isContained

public static boolean isContained(oracle.jbo.dt.objects.JboNamedObject obj,
                                  oracle.jbo.dt.objects.JboAppModule am)
Method returns true if the Named object is a contained ViewLinkUsage in Application Module.

Parameters:
obj - NamedObject being tested
am - Application Module containing the NamedObject
Returns:
returns true if object is contained

setTree

protected void setTree(oracle.jbo.dt.objects.JboAppModule am)
Description copied from class: SDTreePanel
Values of the panel related to the tree are set. This gets called everytime the user enters the panel.

Specified by:
setTree in class SDTreePanel
Parameters:
am - the Application Module that is being edited.

leave

public boolean leave(int fromWhere)
Method handles the panel leave event.

Overrides:
leave in class oracle.jbo.ui.wizard.JboWizardPanel
Parameters:
fromWhere - identifies the source of the call to the method
Returns:
returns true if the leave panel is to be successful.

getPanelName

public java.lang.String getPanelName()
Method returns the name of the panel.

Overrides:
getPanelName in class oracle.jbo.ui.wizard.JboWizardPanel
Returns:
returns name of panel

createSummaryTreeNode

public javax.swing.tree.MutableTreeNode createSummaryTreeNode(oracle.jbo.dt.ui.main.tree.DtuBaseTree st,
                                                              javax.swing.tree.MutableTreeNode top)
Method creates node that will be displayed on the summary panel.

Overrides:
createSummaryTreeNode in class oracle.jbo.dt.ui.main.dlg.DtuWizardPanel
Parameters:
st - summary tree
top - top node of the summary
Returns:
returns node that contains the summary

addExtractFieldInfo

protected void addExtractFieldInfo(oracle.jbo.dt.ui.main.tree.DtuBaseTree summaryTree,
                                   javax.swing.tree.MutableTreeNode pageNode)

getExtractFieldLabel

protected java.lang.String getExtractFieldLabel()

addSummaryTreeInfo

protected void addSummaryTreeInfo(oracle.jbo.dt.ui.main.tree.DtuBaseTree summaryTree,
                                  javax.swing.tree.MutableTreeNode pageNode)
Method used to display information in SummaryPanel for Container node.

Overrides:
addSummaryTreeInfo in class oracle.jbo.dt.ui.main.dlg.DtuWizardPanel
Parameters:
summaryTree -
pageNode -

Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

Copyright © 2011 Oracle. All Rights Reserved.