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

E22562-03

oracle.apps.fnd.applcore.dt.patterns.metadata.creator.panel
Class SubSection

java.lang.Object
  extended by oracle.bali.ewt.painter.PaintContextProxy
      extended by oracle.bali.ewt.dTree.DTreeBaseItem
          extended by oracle.bali.ewt.dTree.DTreeSimpleChild
              extended by oracle.bali.ewt.dTree.DTreeSimpleParent
                  extended by oracle.apps.fnd.applcore.dt.patterns.metadata.creator.panel.SubSection
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, javax.accessibility.Accessible, oracle.bali.ewt.dTree.DTreeExplicitParent, oracle.bali.ewt.dTree.DTreeItem, oracle.bali.ewt.painter.PaintContext

public class SubSection
extends oracle.bali.ewt.dTree.DTreeSimpleParent

This class represents the Subheader node in the tree in the component layout panel.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface oracle.bali.ewt.painter.PaintContext
ICON_KEY, IMAGE_KEY, IMAGESET_KEY, LABEL_KEY, MNEMONIC_INDEX_KEY, STATE_ARMED, STATE_BACKGROUND_NOT_FILLED, STATE_DISABLED, STATE_FOCUSED, STATE_INACTIVE, STATE_ISDEFAULT, STATE_MOUSE_OVER, STATE_SELECTED, STATE_SET
 
Constructor Summary
SubSection(ApplicationsPanelSubheader subHeader)
          This constructor creates the node from ApplicationsPanelSubheader object.
SubSection(java.lang.String label, javax.swing.Icon icon)
          This constructor creates the node from a label and icon.
 
Method Summary
 void addAttribute(oracle.bali.ewt.dTree.DTreeItem item, int index)
          This method adds an attribute to this subheader node.
 oracle.bali.ewt.dTree.DTreeDropTarget getDropTarget()
          This method returns the drop target for this parent tree.
 javax.swing.Icon getIcon()
          This method returns the icon for the node.
 void removeAttribute(int index)
          This method removes a child at the given index.
 
Methods inherited from class oracle.bali.ewt.dTree.DTreeSimpleParent
addItem, addItem, addItems, clone, getChildrenXOffset, getChildrenYOffset, getItem, getItemAt, getItemCount, getNextExpandedChild, getSubTreeHeight, getSubTreeWidth, isExpandable, isExpanded, layout, removeItems, setExpanded, setSubTreeHeight
 
Methods inherited from class oracle.bali.ewt.dTree.DTreeSimpleChild
commitEdit, getLabel, getY, setIcon, setLabel, setY
 
Methods inherited from class oracle.bali.ewt.dTree.DTreeBaseItem
accessAccessibleContext, activate, createAccessibleContext, getAccessibleContext, getAccessibleType, getDragSource, getEditBounds, getHeight, getIndex, getInteriorAlignmentX, getInteriorAlignmentY, getPaintContext, getPaintData, getPaintState, getParent, getSize, getSubTreeX, getSubTreeY, getTree, getWidth, getX, isEditable, itemAdded, itemRemoved, keyPressed, keyReleased, mousePressed, paint, processKeyEvent, processMouseEvent, setAccessibleType, setIndex, startEdit
 
Methods inherited from class oracle.bali.ewt.painter.PaintContextProxy
getComponent, getFontMetrics, getImageObserver, getPaintBackground, getPaintFont, getPaintForeground, getPaintLocale, getPaintUIDefaults, getReadingDirection, getSurroundingColor
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.bali.ewt.dTree.DTreeItem
activate, commitEdit, getDragSource, getEditBounds, getHeight, getIndex, getLabel, getParent, getSize, getSubTreeX, getSubTreeY, getTree, getWidth, getX, getY, itemAdded, itemRemoved, paint, processKeyEvent, processMouseEvent, setIndex, startEdit
 
Methods inherited from interface javax.accessibility.Accessible
getAccessibleContext
 

Constructor Detail

SubSection

public SubSection(ApplicationsPanelSubheader subHeader)
This constructor creates the node from ApplicationsPanelSubheader object.

Parameters:
subHeader - The object from the which the node will be created.

SubSection

public SubSection(java.lang.String label,
                  javax.swing.Icon icon)
This constructor creates the node from a label and icon.

Parameters:
label - Label of the node.
icon - Icon for the node.
Method Detail

getIcon

public javax.swing.Icon getIcon()
This method returns the icon for the node.

Overrides:
getIcon in class oracle.bali.ewt.dTree.DTreeSimpleChild
Returns:
Icon for the node.

getDropTarget

public oracle.bali.ewt.dTree.DTreeDropTarget getDropTarget()
This method returns the drop target for this parent tree.

Specified by:
getDropTarget in interface oracle.bali.ewt.dTree.DTreeItem
Overrides:
getDropTarget in class oracle.bali.ewt.dTree.DTreeBaseItem
Returns:
The drop target.

addAttribute

public void addAttribute(oracle.bali.ewt.dTree.DTreeItem item,
                         int index)
This method adds an attribute to this subheader node.

Parameters:
item - The child node.
index - The index at which the item has to be added.

removeAttribute

public void removeAttribute(int index)
This method removes a child at the given index.

Parameters:
index - Index of the child node.

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

E22562-03

Copyright © 2012 Oracle. All Rights Reserved.