Skip navigation links

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

E13403-06


oracle.ide.inspector
Class DefaultModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by oracle.bali.inspector.PropertyModel
          extended by oracle.bali.inspector.beans.BeansModel
              extended by oracle.ide.inspector.DefaultModel

All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

Deprecated. Clients need to subclass oracle.bali.inspector.PropertyModel

@Deprecated
public class DefaultModel
extends oracle.bali.inspector.beans.BeansModel

DefaultModel provides a default implementation of PropertyModel which conforms to the JavaBean design pattern such that the list of properties are derived from a BeanInfo for the Class of the target object.

See Also:
PropertyModel, Serialized Form

Field Summary

 

Fields inherited from class oracle.bali.inspector.beans.BeansModel
INDEX_COLUMN_DESCRIPTION, INDEX_COLUMN_DISPLAY_NAME, INDEX_COLUMN_DISPLAY_VALUE, INDEX_COLUMN_EDITOR_FACTORY, INDEX_COLUMN_GROUP, INDEX_COLUMN_ID, INDEX_COLUMN_IS_DRILLABLE, INDEX_COLUMN_IS_EXPERT, INDEX_COLUMN_IS_HIDDEN, INDEX_COLUMN_IS_READABLE, INDEX_COLUMN_IS_WRITABLE, INDEX_COLUMN_MODEL, INDEX_COLUMN_NAME, INDEX_COLUMN_VALUE, INDEX_COLUMN_VALUE_CLASS

 

Fields inherited from class oracle.bali.inspector.PropertyModel
COLUMN_ACTIONS, COLUMN_CATEGORY, COLUMN_DESCRIPTION, COLUMN_DISPLAY_NAME, COLUMN_DISPLAY_VALUE, COLUMN_EDITOR_FACTORY, COLUMN_EDITOR_FACTORY_2, COLUMN_GROUP, COLUMN_ICON, COLUMN_ICON_TOOLTIP, COLUMN_ID, COLUMN_IS_DRILLABLE, COLUMN_IS_EXPERT, COLUMN_IS_HIDDEN, COLUMN_IS_READABLE, COLUMN_IS_WRITABLE, COLUMN_LEVEL, COLUMN_MANDATORY, COLUMN_MODEL, COLUMN_NAME, COLUMN_VALIDATION_ISSUES, COLUMN_VALUE, COLUMN_VALUE_CLASS, DOES_NOT_EXIST, NONEXISTENT_COLUMN, PROPERTY_DISPLAY_NAME

 

Fields inherited from class javax.swing.table.AbstractTableModel
listenerList

 

Constructor Summary
  DefaultModel(java.lang.Object target)
          Deprecated. Creates a DefaultModel returning the properties of the traget passed in.
protected DefaultModel(java.lang.Object target, oracle.bali.inspector.beans.BeansModel parentModel, int index)
          Deprecated. Create the child DefaultModel for the Object.

 

Method Summary
protected  oracle.bali.inspector.beans.BeansModel createBeansModel(java.lang.Object target, oracle.bali.inspector.beans.BeansModel parentModel, int index)
          Deprecated. Create the child BeansModel for the Object.
protected  java.beans.BeanInfo getBeanInfo(java.lang.Class beanClass)
          Deprecated. Get the BeanInfo for the given class.
 java.lang.String getTargetDisplayName()
          Deprecated. Get the display name of the object being modeled.

 

Methods inherited from class oracle.bali.inspector.beans.BeansModel
dispose, getColumnCount, getColumnMapping, getGroupProvider, getPropertyByID, getPropertyEditor, getPropertyIDs, getRowCount, getTarget, getValueAt, invalidateValueData, isDisplayArrayProperties, isDisplayFields, isDisplayIndexedProperties, isPropertyWritable, isRecursionAllowed, setDisplayArrayProperties, setDisplayFields, setDisplayIndexedProperties, setGroupProvider, setImmutableValue, setPropertyByID, setRecursionAllowed, setValueAt

 

Methods inherited from class oracle.bali.inspector.PropertyModel
addPropertyChangeListener, addPropertyModelListener, firePropertyChanged, firePropertyModelUpdate, getActionGroups, getBooleanData, getBooleanData, getCategoryLayoutId, getColumnIndex, getData, getHelpTopic, getIcon, getIconToolTip, getLocale, getMatchingId, getPropertyCategory, getPropertyDescription, getPropertyDisplayName, getPropertyDisplayName, getPropertyDisplayValue, getPropertyEditorFactory, getPropertyEditorFactory2, getPropertyGroup, getPropertyID, getPropertyIndex, getPropertyModel, getPropertyName, getPropertyValue, isCellEditable, isDataConflicting, isMandatory, isMatchingPropertyID, isPropertyCommon, isPropertyDrillable, isPropertyReadable, isPropertyWritable, isSettable, removePropertyChangeListener, removePropertyModelListener, setCategoryLayoutId, setData, setLocale, setMandatory, setPropertyValue, startRead, stopRead, throwIllegalArgumentException, useUnion

 

Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getColumnName, getListeners, getTableModelListeners, removeTableModelListener

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

DefaultModel

public DefaultModel(java.lang.Object target)
Deprecated. 
Creates a DefaultModel returning the properties of the traget passed in.
Parameters:
target - The Java Object to use introspection to get and set the properties of.
See Also:
BeansModel.getTarget()

DefaultModel

protected DefaultModel(java.lang.Object target,
                       oracle.bali.inspector.beans.BeansModel parentModel,
                       int index)
Deprecated. 
Create the child DefaultModel for the Object. This constructor is used to support property drill down.
Parameters:
target - the Object whose properties are to be shown.
parentModel - parent BeansModel that created this model.
index - zero based index of the row of the Object this new model is dealing with.

Method Detail

getTargetDisplayName

public java.lang.String getTargetDisplayName()
Deprecated. 
Get the display name of the object being modeled.
Overrides:
getTargetDisplayName in class oracle.bali.inspector.beans.BeansModel
Returns:
the display name of the object being modeled.

createBeansModel

protected oracle.bali.inspector.beans.BeansModel createBeansModel(java.lang.Object target,
                                                                  oracle.bali.inspector.beans.BeansModel parentModel,
                                                                  int index)
Deprecated. 
Create the child BeansModel for the Object. This method is used to support property drill down.
Overrides:
createBeansModel in class oracle.bali.inspector.beans.BeansModel
Parameters:
target - the Object whose properties are to be shown.
parentModel - parent BeansModel that created this model.
index - zero based index of the row of the Object this new model is dealing with.
Returns:
A new BeansModel instance.

getBeanInfo

protected java.beans.BeanInfo getBeanInfo(java.lang.Class beanClass)
                                   throws java.beans.IntrospectionException
Deprecated. 
Get the BeanInfo for the given class. The default implementation just calls InspectorFactory.getBeanInfo. Clients can override this method to customize how bean infos are generated.
Overrides:
getBeanInfo in class oracle.bali.inspector.beans.BeansModel
Parameters:
beanClass - the Class for which a BeanInfo is desired.
Returns:
a BeanInfo.
Throws:
java.beans.IntrospectionException - when an exception occurs during introspection.

Skip navigation links

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

E13403-06


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