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

E13403-02

oracle.jdeveloper.cmt
Class CmtEventModel

java.lang.Object
  extended by javax.swing.table.AbstractTableModel
      extended by oracle.bali.inspector.PropertyModel
          extended by oracle.jdeveloper.cmt.CmtPropertyModel
              extended by oracle.jdeveloper.cmt.CmtEventModel
All Implemented Interfaces:
java.io.Serializable, javax.swing.table.TableModel

public class CmtEventModel
extends CmtPropertyModel

A model representation suitable for the Bali inspector based upon JDeveloper Cmt inputs.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class oracle.jdeveloper.cmt.CmtPropertyModel
_COLUMNS, _factories, _ids, _inspectable, _propertyHashtable, GROUPS, INDEX_COLUMN_DESCRIPTION, INDEX_COLUMN_DISPLAY_NAME, INDEX_COLUMN_DISPLAY_VALUE, INDEX_COLUMN_EDITOR_ADAPTER, INDEX_COLUMN_EDITOR_FACTORY, INDEX_COLUMN_EXPERT, INDEX_COLUMN_GROUP, INDEX_COLUMN_HELP, INDEX_COLUMN_HIDDEN, INDEX_COLUMN_ID, INDEX_COLUMN_IS_READABLE, INDEX_COLUMN_IS_WRITABLE, INDEX_COLUMN_NAME, INDEX_COLUMN_VALUE, INDEX_COLUMN_VALUE_CLASS, propertyEditorAdapters
 
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_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
CmtEventModel(CmtInspectable inspectable)
          Creates a CmtEventModel returning the events of the inspectable passed in.
 
Method Summary
protected  oracle.bali.inspector.PropertyEditorAdapter _getPropertyEditorFactory(int index)
          Get the property editor factory at the given index.
protected  java.util.Hashtable _getPropertyHashTable()
          Returns the hashtable mapping propertyIDs to row indices, creating it if necessary.
protected  CmtPropertyID _getPropertyID(int index)
          Get the property id at the given index.
protected  CmtPropertyState getPropertyState(int index)
          Get the CmtPropertyState at the given index.
 int getRowCount()
          Get the number of rows of properties for the current target object.
protected  oracle.bali.inspector.JavaBeansPropertyEditorAdapter inspectorPropertyEditor(int index)
           
 void postProcess()
           
 void setValueAt(java.lang.Object data, int rowIndex, int colIndex)
          Sets the data of the specified cell to the values specified by data.
 
Methods inherited from class oracle.jdeveloper.cmt.CmtPropertyModel
getColumnCount, getColumnMapping, getHelpInfo, getPropertyByID, getPropertyIDs, getTargetDisplayName, getValueAt, invalidateValueData, setPropertyByID
 
Methods inherited from class oracle.bali.inspector.PropertyModel
addPropertyChangeListener, addPropertyModelListener, dispose, firePropertyChanged, firePropertyModelUpdate, getActionGroups, getBooleanData, getBooleanData, getCategoryLayoutId, getColumnIndex, getData, getIcon, getIconToolTip, getLocale, getMatchingId, getPropertyCategory, getPropertyDescription, getPropertyDisplayName, getPropertyDisplayName, getPropertyDisplayValue, getPropertyEditorFactory, getPropertyEditorFactory2, getPropertyGroup, getPropertyID, getPropertyIndex, getPropertyModel, getPropertyName, getPropertyValue, isCellEditable, isDataConflicting, isMatchingPropertyID, isPropertyCommon, isPropertyDrillable, isPropertyReadable, isPropertyWritable, isSettable, removePropertyChangeListener, removePropertyModelListener, setCategoryLayoutId, setData, setLocale, 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

CmtEventModel

public CmtEventModel(CmtInspectable inspectable)
Creates a CmtEventModel returning the events of the inspectable passed in.

Parameters:
inspectable - The CmtInspectable Object to use when getting and setting the events.
Method Detail

getRowCount

public int getRowCount()
Get the number of rows of properties for the current target object.

Specified by:
getRowCount in interface javax.swing.table.TableModel
Overrides:
getRowCount in class CmtPropertyModel

setValueAt

public void setValueAt(java.lang.Object data,
                       int rowIndex,
                       int colIndex)
Description copied from class: CmtPropertyModel
Sets the data of the specified cell to the values specified by data.

Specified by:
setValueAt in interface javax.swing.table.TableModel
Overrides:
setValueAt in class CmtPropertyModel
Parameters:
data - the new data
rowIndex - the row index of the cell
colIndex - the column index of the cell

postProcess

public void postProcess()

getPropertyState

protected CmtPropertyState getPropertyState(int index)
Get the CmtPropertyState at the given index. Checks for nulls and illegal indicies.

Overrides:
getPropertyState in class CmtPropertyModel

_getPropertyHashTable

protected java.util.Hashtable _getPropertyHashTable()
Returns the hashtable mapping propertyIDs to row indices, creating it if necessary.

Overrides:
_getPropertyHashTable in class CmtPropertyModel

_getPropertyID

protected CmtPropertyID _getPropertyID(int index)
Get the property id at the given index.

Overrides:
_getPropertyID in class CmtPropertyModel

_getPropertyEditorFactory

protected oracle.bali.inspector.PropertyEditorAdapter _getPropertyEditorFactory(int index)
Get the property editor factory at the given index.

Overrides:
_getPropertyEditorFactory in class CmtPropertyModel

inspectorPropertyEditor

protected oracle.bali.inspector.JavaBeansPropertyEditorAdapter inspectorPropertyEditor(int index)
Overrides:
inspectorPropertyEditor in class CmtPropertyModel

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

E13403-02

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