|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.javatools.ui.table.ReorderableTable
public class ReorderableTable
ReorderableTable abstracts the reordering communication between a reorderable table and the controller that reorders it. This extends from Reorderable2 and adds facility to attach selection change listener for controller to listen for any changes in the component's selection. By default ReorderableTable supports only DefaultTableModel or ReorderableTableModel. If you are not using the above models, please implement ReorderableTableModel for your table model.
| Constructor Summary | |
|---|---|
ReorderableTable(javax.swing.JTable table)Create a Reorderable support for the specified table. |
|
| Method Summary | |
|---|---|
void |
addSelectionListener(javax.swing.event.ListSelectionListener listener)Adds the selection listener to the table selection model. |
protected void |
fireSelectionChanged()Fires Selection Value ValueChanged |
javax.swing.JTable |
getTable()Returns the JTable component for which reorderable support is provided. |
boolean |
isSelectionBottomMobile()Returns true if the current selection can be moved to bottom |
boolean |
isSelectionDownwardlyMobile()Returns true if the current selection can be moved downward. |
boolean |
isSelectionTopMobile()Returns true if the current selection can be moved to top |
boolean |
isSelectionUpwardlyMobile()Returns true if the current selection can be moved upward. |
void |
moveSelectionBottom()Request to move the current selection to Bottom |
void |
moveSelectionDown()Request to move the current selection down. |
void |
moveSelectionTop()Request to move the current selection to top |
void |
moveSelectionUp()Request to move the current selection up. |
void |
removeSelectionListener(javax.swing.event.ListSelectionListener listener)Removed the selection listener attached to the table selection model. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ReorderableTable(javax.swing.JTable table)
| Method Detail |
|---|
public javax.swing.JTable getTable()
public boolean isSelectionTopMobile()
isSelectionTopMobile in interface oracle.bali.ewt.shuttle.Reorderable2public boolean isSelectionUpwardlyMobile()
isSelectionUpwardlyMobile in interface oracle.bali.ewt.shuttle.Reorderablepublic boolean isSelectionDownwardlyMobile()
isSelectionDownwardlyMobile in interface oracle.bali.ewt.shuttle.Reorderablepublic boolean isSelectionBottomMobile()
isSelectionBottomMobile in interface oracle.bali.ewt.shuttle.Reorderable2public void moveSelectionTop()
moveSelectionTop in interface oracle.bali.ewt.shuttle.Reorderable2public void moveSelectionUp()
moveSelectionUp in interface oracle.bali.ewt.shuttle.Reorderablepublic void moveSelectionDown()
moveSelectionDown in interface oracle.bali.ewt.shuttle.Reorderablepublic void moveSelectionBottom()
moveSelectionBottom in interface oracle.bali.ewt.shuttle.Reorderable2public void addSelectionListener(javax.swing.event.ListSelectionListener listener)
public void removeSelectionListener(javax.swing.event.ListSelectionListener listener)
protected void fireSelectionChanged()
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||