Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

oracle.ide.inspector
Class PropertyInspector

java.lang.Object
  extended by java.awt.Component
      extended by java.awt.Container
          extended by javax.swing.JComponent
              extended by oracle.ide.inspector.PropertyInspector
All Implemented Interfaces:
java.awt.image.ImageObserver, java.awt.MenuContainer, java.io.Serializable, java.util.EventListener, javax.accessibility.Accessible, SearchableContainer, ViewListener

public class PropertyInspector
extends javax.swing.JComponent
implements javax.accessibility.Accessible, SearchableContainer, ViewListener

See Also:
Serialized Form

Nested Class Summary
protected  class PropertyInspector.AccessiblePropertyInspector
           
 
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
protected  oracle.bali.inspector.PropertyModel model
           
protected  oracle.ide.inspector.Properties properties
           
 
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
PropertyInspector()
           
PropertyInspector(PropertyDisplay propertyDisplay)
           
PropertyInspector(PropertyDisplay propertyDisplay, UserSelectedCategories userSelectedCategories)
           
 
Method Summary
 void applyValueFromFocusedComponent()
           
 java.awt.Dimension autoExpandSize(java.awt.Dimension titledPanelSize, int orientation)
           
 void categorySelected(oracle.ide.inspector.PropertyCategoryPanel p)
          Indicates that a category has been selected.
 java.awt.Component componentWithFocus()
           
 void dynamicOrientation(boolean dynamicOrientation)
           
 boolean findText(java.lang.String searchText, boolean searchForward, boolean searchRepeat)
          Find the specified searchText by searching forward or backward through the property labels of the Searchable component.
 boolean findTextInComponent(java.awt.Component c, java.lang.String searchText, boolean searchForward, boolean searchRepeat)
          Finds the given text.
 javax.accessibility.AccessibleContext getAccessibleContext()
           
 java.lang.String getDefaultSelectedCategoryName()
           
 oracle.bali.inspector.PropertyModel getPropertyModel()
           
 java.lang.String getSelectedCategoryName()
           
 boolean orientation(oracle.ide.inspector.Orientation orientation)
           
protected  void paintComponent(java.awt.Graphics g)
           
 void setAdditionalTabPages(java.awt.Component[] additionalPages)
           
 void setBackground(java.awt.Color bg)
           
 void setPropertyModel(oracle.bali.inspector.PropertyModel model)
           
 void setSelectedCategoryName(java.lang.String category)
           
protected  void setStatusText(java.lang.String text)
           
 void updateCurrentCategory(java.lang.String currentCategory)
          Updates the name of the category that is currently selected.
 void updatePropertyEditors(oracle.bali.inspector.PropertyModel model)
           
 void updateValidationIssues()
           
 UserSelectedCategories userSelectedCategories()
           
 void viewActivated(ViewEvent e)
          Called when the view is activated.
 void viewClosed(ViewEvent e)
          Called when the view is closed.
 void viewDeactivated(ViewEvent e)
          Called when the view is deactivated.
 
Methods inherited from class javax.swing.JComponent
addAncestorListener, addNotify, addVetoableChangeListener, computeVisibleRect, contains, createToolTip, disable, 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, getUIClassID, getVerifyInputWhenFocusTarget, getVetoableChangeListeners, getVisibleRect, getWidth, getX, getY, grabFocus, isDoubleBuffered, isLightweightComponent, isManagingFocus, isOpaque, isOptimizedDrawingEnabled, isPaintingForPrint, isPaintingTile, isRequestFocusEnabled, isValidateRoot, paint, paintBorder, paintChildren, paintImmediately, paintImmediately, paramString, 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, setBorder, setComponentPopupMenu, setDebugGraphicsOptions, setDefaultLocale, setDoubleBuffered, setEnabled, setFocusTraversalKeys, setFont, setForeground, setInheritsPopupMenu, setInputMap, setInputVerifier, setMaximumSize, setMinimumSize, setNextFocusableComponent, setOpaque, setPreferredSize, setRequestFocusEnabled, setToolTipText, setTransferHandler, setUI, setVerifyInputWhenFocusTarget, setVisible, unregisterKeyboardAction, update, updateUI
 
Methods inherited from class java.awt.Container
add, 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
 

Field Detail

model

protected oracle.bali.inspector.PropertyModel model

properties

protected oracle.ide.inspector.Properties properties
Constructor Detail

PropertyInspector

public PropertyInspector()

PropertyInspector

public PropertyInspector(PropertyDisplay propertyDisplay)

PropertyInspector

public PropertyInspector(PropertyDisplay propertyDisplay,
                         UserSelectedCategories userSelectedCategories)
Method Detail

userSelectedCategories

public UserSelectedCategories userSelectedCategories()

dynamicOrientation

public void dynamicOrientation(boolean dynamicOrientation)

categorySelected

public void categorySelected(oracle.ide.inspector.PropertyCategoryPanel p)
Indicates that a category has been selected.

Parameters:
p - the panel containing the properties for the selected category.

updateCurrentCategory

public void updateCurrentCategory(java.lang.String currentCategory)
Updates the name of the category that is currently selected.

Parameters:
currentCategory - the name of the current selected category.

applyValueFromFocusedComponent

public void applyValueFromFocusedComponent()

componentWithFocus

public java.awt.Component componentWithFocus()

orientation

public boolean orientation(oracle.ide.inspector.Orientation orientation)

getSelectedCategoryName

public java.lang.String getSelectedCategoryName()

setSelectedCategoryName

public void setSelectedCategoryName(java.lang.String category)

getDefaultSelectedCategoryName

public java.lang.String getDefaultSelectedCategoryName()

findText

public boolean findText(java.lang.String searchText,
                        boolean searchForward,
                        boolean searchRepeat)
Description copied from interface: SearchableContainer
Find the specified searchText by searching forward or backward through the property labels of the Searchable component.

An implementation of this method should perform the following steps:

Specified by:
findText in interface SearchableContainer
Parameters:
searchText - the text to be found.
searchForward - the direction of the search.
searchRepeat - repeat the search starting beyond the last match location (if any)
Returns:
true if a property label containing the searchText could be found.
See Also:
ContainerSearch

findTextInComponent

public boolean findTextInComponent(java.awt.Component c,
                                   java.lang.String searchText,
                                   boolean searchForward,
                                   boolean searchRepeat)
Finds the given text.

Parameters:
c - the component to look into.
searchText - the text to find.
searchForward - indicates if the search should be done forwards.
searchRepeat - indicates if the search can be repeated once the end of this display is reached.
Returns:
whether the text was found or not.

setStatusText

protected void setStatusText(java.lang.String text)

setAdditionalTabPages

public void setAdditionalTabPages(java.awt.Component[] additionalPages)

setPropertyModel

public void setPropertyModel(oracle.bali.inspector.PropertyModel model)

updatePropertyEditors

public void updatePropertyEditors(oracle.bali.inspector.PropertyModel model)

updateValidationIssues

public void updateValidationIssues()

autoExpandSize

public java.awt.Dimension autoExpandSize(java.awt.Dimension titledPanelSize,
                                         int orientation)

getPropertyModel

public oracle.bali.inspector.PropertyModel getPropertyModel()

getAccessibleContext

public javax.accessibility.AccessibleContext getAccessibleContext()
Specified by:
getAccessibleContext in interface javax.accessibility.Accessible
Overrides:
getAccessibleContext in class javax.swing.JComponent

paintComponent

protected void paintComponent(java.awt.Graphics g)
Overrides:
paintComponent in class javax.swing.JComponent

setBackground

public void setBackground(java.awt.Color bg)
Overrides:
setBackground in class javax.swing.JComponent

viewActivated

public void viewActivated(ViewEvent e)
Description copied from interface: ViewListener
Called when the view is activated. The ViewEvent provides information about the view activated.

Specified by:
viewActivated in interface ViewListener

viewDeactivated

public void viewDeactivated(ViewEvent e)
Description copied from interface: ViewListener
Called when the view is deactivated. The ViewEvent provides information about the view activated.

Specified by:
viewDeactivated in interface ViewListener

viewClosed

public void viewClosed(ViewEvent e)
Description copied from interface: ViewListener
Called when the view is closed. The ViewEvent provides information about the view activated.

Specified by:
viewClosed in interface ViewListener

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.0)

E13403-08

Copyright © 1997, 2013, Oracle. All rights reserved.