|
Extension SDK 9.0.5 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
oracle.bali.inspector.PropertyModel
oracle.jdeveloper.cmt.CmtPropertyModel
A model representation suitable for the Bali inspector based upon JDeveloper Cmt inputs.
Field Summary | |
protected static java.lang.Object[] |
_COLUMNS
|
protected oracle.bali.inspector.PropertyEditorAdapter[] |
_factories
|
protected CmtPropertyID[] |
_ids
|
protected CmtInspectable |
_inspectable
|
protected java.util.Hashtable |
_propertyHashtable
|
protected static SwingGroupProvider |
GROUPS
|
static int |
INDEX_COLUMN_DESCRIPTION
The column index that CmtPropertyModel uses for the description. |
static int |
INDEX_COLUMN_DISPLAY_NAME
The column index that CmtPropertyModel uses for the display name. |
static int |
INDEX_COLUMN_DISPLAY_VALUE
The column index that CmtPropertyModel uses for the display value. |
static int |
INDEX_COLUMN_EDITOR_FACTORY
The column index that CmtPropertyModel uses for the editor factory. |
static int |
INDEX_COLUMN_EXPERT
The column index that CmtPropertyModel uses for expert. |
static int |
INDEX_COLUMN_GROUP
The column index that CmtPropertyModel uses for groups. |
static int |
INDEX_COLUMN_HELP
The column index that CmtPropertyModel uses for property help URL |
static int |
INDEX_COLUMN_HIDDEN
The column index that CmtPropertyModel uses for hidden. |
static int |
INDEX_COLUMN_ID
The column index that CmtPropertyModel uses for the column ID. |
static int |
INDEX_COLUMN_IS_READABLE
The column index that CmtPropertyModel uses for the is readable attribute. |
static int |
INDEX_COLUMN_IS_WRITABLE
The column index that CmtPropertyModel uses for the is writable attribute. |
static int |
INDEX_COLUMN_NAME
The column index that CmtPropertyModel uses for property names. |
static int |
INDEX_COLUMN_VALUE
The column index that CmtPropertyModel uses for the value. |
static int |
INDEX_COLUMN_VALUE_CLASS
The column index that CmtPropertyModel uses for the 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 | |
CmtPropertyModel(CmtInspectable inspectable)
Creates a CmtPropertyModel returning the properties 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. |
int |
getColumnCount()
Returns the number of columns that this PropertyModel is providing information for, |
java.lang.Object[] |
getColumnMapping()
Returns the Objects identifying the columns that this PropertyModel can provide informatiuon for. |
static HelpInfo |
getHelpInfo(CmtPropertyState ps)
|
java.lang.Object |
getPropertyByID(int columnIndex,
java.lang.Object propertyID)
Returns the data at the column specified by columnIndex and the row specified by propertyID. |
java.util.Enumeration |
getPropertyIDs()
Returns an enumeration of all of the PropertyIDs in the PropertyModel |
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. |
java.lang.String |
getTargetDisplayName()
Returns the display name of the object being observed. |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
Return the data of the specified cell. |
void |
invalidateValueData()
Invalidate all of the value data in the Model |
void |
setPropertyByID(int columnIndex,
java.lang.Object propertyID,
java.lang.Object data)
Sets the value of the column specified by the columnIndex and the row specified by the propertyID to the value of data. |
void |
setValueAt(java.lang.Object data,
int rowIndex,
int columnIndex)
Sets the data of the specified cell to the values specified by data. |
Methods inherited from class oracle.bali.inspector.PropertyModel |
addPropertyChangeListener, dispose, 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 |
Field Detail |
public static final int INDEX_COLUMN_ID
public static final int INDEX_COLUMN_EDITOR_FACTORY
public static final int INDEX_COLUMN_VALUE
public static final int INDEX_COLUMN_DISPLAY_VALUE
public static final int INDEX_COLUMN_IS_WRITABLE
public static final int INDEX_COLUMN_DISPLAY_NAME
public static final int INDEX_COLUMN_VALUE_CLASS
public static final int INDEX_COLUMN_IS_READABLE
public static final int INDEX_COLUMN_DESCRIPTION
public static final int INDEX_COLUMN_EXPERT
public static final int INDEX_COLUMN_HIDDEN
public static final int INDEX_COLUMN_GROUP
public static final int INDEX_COLUMN_NAME
public static final int INDEX_COLUMN_HELP
protected static final SwingGroupProvider GROUPS
protected static final java.lang.Object[] _COLUMNS
protected CmtInspectable _inspectable
protected oracle.bali.inspector.PropertyEditorAdapter[] _factories
protected CmtPropertyID[] _ids
protected transient java.util.Hashtable _propertyHashtable
Constructor Detail |
public CmtPropertyModel(CmtInspectable inspectable)
inspectable
- The CmtInspectable Object to use when getting and
setting the properties.Method Detail |
public java.lang.String getTargetDisplayName()
public java.lang.Object[] getColumnMapping()
public int getColumnCount()
public int getRowCount()
public java.util.Enumeration getPropertyIDs()
public void invalidateValueData()
public void setPropertyByID(int columnIndex, java.lang.Object propertyID, java.lang.Object data) throws java.lang.Exception
java.lang.Exception
public java.lang.Object getPropertyByID(int columnIndex, java.lang.Object propertyID)
public void setValueAt(java.lang.Object data, int rowIndex, int columnIndex)
data
- the new datarowIndex
- the row index of the cellcolumnIndex
- the column index of the cellpublic java.lang.Object getValueAt(int rowIndex, int columnIndex)
rowIndex
- the row index of the cellcolumnIndex
- the column index of the cellpublic static HelpInfo getHelpInfo(CmtPropertyState ps)
protected CmtPropertyState getPropertyState(int index)
protected java.util.Hashtable _getPropertyHashTable()
protected CmtPropertyID _getPropertyID(int index)
protected oracle.bali.inspector.PropertyEditorAdapter _getPropertyEditorFactory(int index)
|
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.