public class ReorderableTable extends java.lang.Object implements Reorderable
Constructor and Description |
---|
ReorderableTable(javax.swing.JTable table)
Create a Reorderable support for the specified table.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public ReorderableTable(javax.swing.JTable table)
public javax.swing.JTable getTable()
public boolean isSelectionTopMobile()
isSelectionTopMobile
in interface oracle.bali.ewt.shuttle.Reorderable2
public boolean isSelectionUpwardlyMobile()
isSelectionUpwardlyMobile
in interface oracle.bali.ewt.shuttle.Reorderable
public boolean isSelectionDownwardlyMobile()
isSelectionDownwardlyMobile
in interface oracle.bali.ewt.shuttle.Reorderable
public boolean isSelectionBottomMobile()
isSelectionBottomMobile
in interface oracle.bali.ewt.shuttle.Reorderable2
public void moveSelectionTop()
moveSelectionTop
in interface oracle.bali.ewt.shuttle.Reorderable2
public void moveSelectionUp()
moveSelectionUp
in interface oracle.bali.ewt.shuttle.Reorderable
public void moveSelectionDown()
moveSelectionDown
in interface oracle.bali.ewt.shuttle.Reorderable
public void moveSelectionBottom()
moveSelectionBottom
in interface oracle.bali.ewt.shuttle.Reorderable2
public void addSelectionListener(javax.swing.event.ListSelectionListener listener)
public void removeSelectionListener(javax.swing.event.ListSelectionListener listener)
protected void fireSelectionChanged()