|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.swing.table.AbstractTableModel
oracle.jbo.uicli.jui.JUTableBinding.JUTableModel
oracle.jbo.uicli.jui.JUTreeTableBinding.JUTreeTableModel
protected class JUTreeTableBinding.JUTreeTableModel
Field Summary |
---|
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
JUTreeTableBinding.JUTreeTableModel(javax.swing.JTable control)
|
Method Summary | |
---|---|
void |
addTreeModelListener(javax.swing.event.TreeModelListener l)
|
protected void |
fireTreeNodesChanged(java.lang.Object source,
java.lang.Object[] path,
int[] childIndices,
java.lang.Object[] children)
|
protected void |
fireTreeNodesInserted(java.lang.Object source,
java.lang.Object[] path,
int[] childIndices,
java.lang.Object[] children)
|
protected void |
fireTreeNodesRemoved(java.lang.Object source,
java.lang.Object[] path,
int[] childIndices,
java.lang.Object[] children)
|
protected void |
fireTreeStructureChanged(java.lang.Object source,
java.lang.Object[] path,
int[] childIndices,
java.lang.Object[] children)
|
java.lang.Object |
getChild(java.lang.Object parent,
int index)
|
int |
getChildCount(java.lang.Object node)
|
java.lang.Class |
getColumnClass(int column)
The column type is needed to identify the appropriate editor to render each cell. |
int |
getIndexOfChild(java.lang.Object parent,
java.lang.Object child)
|
java.lang.Object |
getRoot()
|
int |
getRowCount()
|
javax.swing.tree.TreeModel |
getTreeModel()
The TreeTableModel may be implemented as a single model, or a dual model. |
java.lang.Object |
getValueAt(int row,
int column)
|
java.lang.Object |
getValueAt(javax.swing.tree.TreeNode node,
int column)
This method is the equivalent of getValueAt in TableModel. |
boolean |
isCellEditable(javax.swing.tree.TreeNode node,
int column)
By default, make the column with the Tree in it the only editable one. |
boolean |
isLeaf(java.lang.Object node)
|
protected javax.swing.tree.TreeNode |
nodeForRow(int row)
|
void |
removeTreeModelListener(javax.swing.event.TreeModelListener l)
|
void |
setValueAt(java.lang.Object aValue,
javax.swing.tree.TreeNode node,
int column)
This method is the equivalent of setValueAt in TableModel. |
void |
valueChanged(javax.swing.event.ListSelectionEvent event)
|
void |
valueForPathChanged(javax.swing.tree.TreePath path,
java.lang.Object newValue)
|
Methods inherited from class oracle.jbo.uicli.jui.JUTableBinding.JUTableModel |
---|
getColumnCount, getColumnName, isCellEditable, resetRSICurrency, restoreEditorState, saveEditorState, setValueAt, stateChanged |
Methods inherited from class javax.swing.table.AbstractTableModel |
---|
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, removeTableModelListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.jbo.uicli.jui.JUTreeTableBinding.TreeTableModel |
---|
getColumnCount, getColumnName |
Constructor Detail |
---|
public JUTreeTableBinding.JUTreeTableModel(javax.swing.JTable control)
Method Detail |
---|
public java.lang.Object getValueAt(int row, int column)
getValueAt
in interface javax.swing.table.TableModel
getValueAt
in class JUTableBinding.JUTableModel
public java.lang.Object getValueAt(javax.swing.tree.TreeNode node, int column)
JUTreeTableBinding.TreeTableModel
getValueAt
in interface JUTreeTableBinding.TreeTableModel
node
- the TreeNode shown in the given rowcolumn
- the column index
TableModel.getValueAt(int,int)
public java.lang.Object getChild(java.lang.Object parent, int index)
getChild
in interface javax.swing.tree.TreeModel
public int getChildCount(java.lang.Object node)
getChildCount
in interface javax.swing.tree.TreeModel
public java.lang.Object getRoot()
getRoot
in interface javax.swing.tree.TreeModel
public boolean isLeaf(java.lang.Object node)
isLeaf
in interface javax.swing.tree.TreeModel
public void valueForPathChanged(javax.swing.tree.TreePath path, java.lang.Object newValue)
valueForPathChanged
in interface javax.swing.tree.TreeModel
public int getIndexOfChild(java.lang.Object parent, java.lang.Object child)
getIndexOfChild
in interface javax.swing.tree.TreeModel
public void addTreeModelListener(javax.swing.event.TreeModelListener l)
addTreeModelListener
in interface javax.swing.tree.TreeModel
public void removeTreeModelListener(javax.swing.event.TreeModelListener l)
removeTreeModelListener
in interface javax.swing.tree.TreeModel
protected void fireTreeNodesChanged(java.lang.Object source, java.lang.Object[] path, int[] childIndices, java.lang.Object[] children)
protected void fireTreeNodesInserted(java.lang.Object source, java.lang.Object[] path, int[] childIndices, java.lang.Object[] children)
protected void fireTreeNodesRemoved(java.lang.Object source, java.lang.Object[] path, int[] childIndices, java.lang.Object[] children)
protected void fireTreeStructureChanged(java.lang.Object source, java.lang.Object[] path, int[] childIndices, java.lang.Object[] children)
public java.lang.Class getColumnClass(int column)
JUTreeTableBinding.TreeTableModel
getColumnClass
in interface javax.swing.table.TableModel
getColumnClass
in interface JUTreeTableBinding.TreeTableModel
getColumnClass
in class JUTableBinding.JUTableModel
column
- the column index
public boolean isCellEditable(javax.swing.tree.TreeNode node, int column)
isCellEditable
in interface JUTreeTableBinding.TreeTableModel
node
- the TreeNode shown in the given rowcolumn
- the column index
public void setValueAt(java.lang.Object aValue, javax.swing.tree.TreeNode node, int column)
JUTreeTableBinding.TreeTableModel
setValueAt
in interface JUTreeTableBinding.TreeTableModel
aValue
- the new valuenode
- the TreeNode shown in the given rowcolumn
- the column indexTableModel.setValueAt(Object,int,int)
public javax.swing.tree.TreeModel getTreeModel()
JUTreeTableBinding.TreeTableModel
getTreeModel
in interface JUTreeTableBinding.TreeTableModel
protected javax.swing.tree.TreeNode nodeForRow(int row)
public int getRowCount()
getRowCount
in interface javax.swing.table.TableModel
getRowCount
in class JUTableBinding.JUTableModel
public void valueChanged(javax.swing.event.ListSelectionEvent event)
valueChanged
in interface javax.swing.event.ListSelectionListener
valueChanged
in class JUTableBinding.JUTableModel
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |