|
Extension SDK 10.1.2 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.AbstractTableModel oracle.bali.inspector.PropertyModel oracle.bali.inspector.beans.BeansModel oracle.ide.inspector.DefaultModel
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.
PropertyModel
,
Serialized FormField 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_DESCRIPTION, COLUMN_DISPLAY_NAME, COLUMN_DISPLAY_VALUE, COLUMN_EDITOR_FACTORY, COLUMN_GROUP, COLUMN_ID, COLUMN_IS_DRILLABLE, COLUMN_IS_EXPERT, COLUMN_IS_HIDDEN, COLUMN_IS_READABLE, COLUMN_IS_WRITABLE, COLUMN_LEVEL, COLUMN_MODEL, COLUMN_NAME, 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)
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)
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)
Create the child BeansModel for the Object. |
protected java.beans.BeanInfo |
getBeanInfo(java.lang.Class beanClass)
Get the BeanInfo for the given class. |
java.lang.String |
getTargetDisplayName()
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, firePropertyChanged, getBooleanData, getBooleanData, getColumnIndex, getData, getLocale, getPropertyDescription, getPropertyDisplayName, getPropertyDisplayName, getPropertyDisplayValue, getPropertyEditorFactory, getPropertyGroup, getPropertyID, getPropertyIndex, getPropertyModel, getPropertyName, getPropertyValue, isCellEditable, isDataConflicting, isPropertyCommon, isPropertyDrillable, isPropertyReadable, isPropertyWritable, removePropertyChangeListener, setData, setLocale, setPropertyValue, throwIllegalArgumentException |
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 |
public DefaultModel(java.lang.Object target)
target
- The Java Object to use introspection to get and set the
properties of.
BeansModel.getTarget()
protected DefaultModel(java.lang.Object target, oracle.bali.inspector.beans.BeansModel parentModel, int index)
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 |
public java.lang.String getTargetDisplayName()
protected oracle.bali.inspector.beans.BeansModel createBeansModel(java.lang.Object target, oracle.bali.inspector.beans.BeansModel parentModel, int index)
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.
protected java.beans.BeanInfo getBeanInfo(java.lang.Class beanClass) throws java.beans.IntrospectionException
beanClass
- the Class for which a BeanInfo is desired.
java.beans.IntrospectionException
- when an exception occurs during introspection.
|
Extension SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1997, 2004, Oracle. All rights reserved.