|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.beanfabrics.swing.table.BnTableSelectionModel
public class BnTableSelectionModel
The BnTableSelectionModel is a ListSelectionModel that
decorates a IListPM.
| Field Summary |
|---|
| Fields inherited from interface javax.swing.ListSelectionModel |
|---|
MULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, SINGLE_SELECTION |
| Constructor Summary | |
|---|---|
BnTableSelectionModel(IListPM<? extends PresentationModel> pModel)
|
|
| Method Summary | |
|---|---|
void |
addListSelectionListener(javax.swing.event.ListSelectionListener l)
|
void |
addSelectionInterval(int index0,
int index1)
|
void |
clearSelection()
|
void |
dismiss()
Disconnect this object from the underlying IListPM. |
protected void |
fireValueChanged(int beginIndex,
int length)
|
protected void |
fireValueChangedBetween(int index0,
int index1)
|
int |
getAnchorSelectionIndex()
|
int |
getLeadSelectionIndex()
|
int |
getMaxSelectionIndex()
|
int |
getMinSelectionIndex()
|
int |
getSelectionMode()
|
boolean |
getValueIsAdjusting()
|
void |
insertIndexInterval(int index,
int length,
boolean before)
|
boolean |
isSelectedIndex(int index)
|
boolean |
isSelectionEmpty()
|
protected void |
markDirty(int index)
|
void |
removeIndexInterval(int index0,
int index1)
|
void |
removeListSelectionListener(javax.swing.event.ListSelectionListener l)
|
void |
removeSelectionInterval(int index0,
int index1)
|
void |
setAnchorSelectionIndex(int index)
|
void |
setLeadSelectionIndex(int index)
|
void |
setSelectionInterval(int index0,
int index1)
|
void |
setSelectionMode(int selectionMode)
|
void |
setValueIsAdjusting(boolean valueIsAdjusting)
|
protected void |
updateLeadAnchorIndices(int index0,
int index1)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BnTableSelectionModel(IListPM<? extends PresentationModel> pModel)
| Method Detail |
|---|
public void dismiss()
this object from the underlying IListPM.
public void addListSelectionListener(javax.swing.event.ListSelectionListener l)
addListSelectionListener in interface javax.swing.ListSelectionModelpublic void removeListSelectionListener(javax.swing.event.ListSelectionListener l)
removeListSelectionListener in interface javax.swing.ListSelectionModelpublic int getSelectionMode()
getSelectionMode in interface javax.swing.ListSelectionModelpublic void setSelectionMode(int selectionMode)
setSelectionMode in interface javax.swing.ListSelectionModelpublic boolean getValueIsAdjusting()
getValueIsAdjusting in interface javax.swing.ListSelectionModelpublic void setValueIsAdjusting(boolean valueIsAdjusting)
setValueIsAdjusting in interface javax.swing.ListSelectionModelpublic int getMaxSelectionIndex()
getMaxSelectionIndex in interface javax.swing.ListSelectionModelpublic int getMinSelectionIndex()
getMinSelectionIndex in interface javax.swing.ListSelectionModelpublic int getAnchorSelectionIndex()
getAnchorSelectionIndex in interface javax.swing.ListSelectionModelpublic void setAnchorSelectionIndex(int index)
setAnchorSelectionIndex in interface javax.swing.ListSelectionModelpublic int getLeadSelectionIndex()
getLeadSelectionIndex in interface javax.swing.ListSelectionModelpublic void setLeadSelectionIndex(int index)
setLeadSelectionIndex in interface javax.swing.ListSelectionModelpublic boolean isSelectedIndex(int index)
isSelectedIndex in interface javax.swing.ListSelectionModelpublic boolean isSelectionEmpty()
isSelectionEmpty in interface javax.swing.ListSelectionModelpublic void clearSelection()
clearSelection in interface javax.swing.ListSelectionModel
public void setSelectionInterval(int index0,
int index1)
setSelectionInterval in interface javax.swing.ListSelectionModel
public void addSelectionInterval(int index0,
int index1)
addSelectionInterval in interface javax.swing.ListSelectionModel
public void removeSelectionInterval(int index0,
int index1)
removeSelectionInterval in interface javax.swing.ListSelectionModel
public void insertIndexInterval(int index,
int length,
boolean before)
insertIndexInterval in interface javax.swing.ListSelectionModel
public void removeIndexInterval(int index0,
int index1)
removeIndexInterval in interface javax.swing.ListSelectionModel
protected void fireValueChangedBetween(int index0,
int index1)
protected void fireValueChanged(int beginIndex,
int length)
protected void updateLeadAnchorIndices(int index0,
int index1)
protected void markDirty(int index)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||