|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
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
public class 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_ADAPTER
The column index that CmtPropertyModel uses for the editor adapter. |
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. |
protected oracle.bali.inspector.JavaBeansPropertyEditorAdapter[] |
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 | |
---|---|
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()
|
java.lang.Object[] |
getColumnMapping()
|
static HelpInfo |
getHelpInfo(CmtPropertyState propertyState)
|
java.lang.Object |
getPropertyByID(int columnIndex,
java.lang.Object propertyID)
|
java.util.Enumeration |
getPropertyIDs()
|
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()
|
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex)
Return the data of the specified cell. |
protected oracle.bali.inspector.JavaBeansPropertyEditorAdapter |
inspectorPropertyEditor(int index)
|
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, 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 |
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
public static final int INDEX_COLUMN_EDITOR_ADAPTER
protected static final SwingGroupProvider GROUPS
protected static final java.lang.Object[] _COLUMNS
protected CmtInspectable _inspectable
protected oracle.bali.inspector.PropertyEditorAdapter[] _factories
protected oracle.bali.inspector.JavaBeansPropertyEditorAdapter[] propertyEditorAdapters
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()
getTargetDisplayName
in class oracle.bali.inspector.PropertyModel
public java.lang.Object[] getColumnMapping()
getColumnMapping
in class oracle.bali.inspector.PropertyModel
public int getColumnCount()
getColumnCount
in interface javax.swing.table.TableModel
getColumnCount
in class oracle.bali.inspector.PropertyModel
public int getRowCount()
public java.util.Enumeration getPropertyIDs()
getPropertyIDs
in class oracle.bali.inspector.PropertyModel
public void invalidateValueData()
invalidateValueData
in class oracle.bali.inspector.PropertyModel
public void setPropertyByID(int columnIndex, java.lang.Object propertyID, java.lang.Object data) throws java.lang.Exception
setPropertyByID
in class oracle.bali.inspector.PropertyModel
java.lang.Exception
public java.lang.Object getPropertyByID(int columnIndex, java.lang.Object propertyID)
getPropertyByID
in class oracle.bali.inspector.PropertyModel
public void setValueAt(java.lang.Object data, int rowIndex, int columnIndex)
setValueAt
in interface javax.swing.table.TableModel
setValueAt
in class javax.swing.table.AbstractTableModel
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 propertyState)
protected CmtPropertyState getPropertyState(int index)
protected java.util.Hashtable _getPropertyHashTable()
protected CmtPropertyID _getPropertyID(int index)
protected oracle.bali.inspector.JavaBeansPropertyEditorAdapter inspectorPropertyEditor(int index)
protected oracle.bali.inspector.PropertyEditorAdapter _getPropertyEditorFactory(int index)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |