|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.swing.DefaultListSelectionModel
com.smartwerkz.jupload.classic.ui.views.FileSelectionModel
public class FileSelectionModel
| Field Summary |
|---|
| Fields inherited from class javax.swing.DefaultListSelectionModel |
|---|
leadAnchorNotificationEnabled, listenerList |
| Fields inherited from interface javax.swing.ListSelectionModel |
|---|
MULTIPLE_INTERVAL_SELECTION, SINGLE_INTERVAL_SELECTION, SINGLE_SELECTION |
| Constructor Summary | |
|---|---|
FileSelectionModel()
|
|
| Method Summary | |
|---|---|
void |
add(UploadFile file)
|
void |
clear()
|
UploadFile |
getFile(int row)
|
java.util.List |
getFiles()
|
UploadFile |
getLeadSelection()
|
void |
remove(int index)
|
boolean |
remove(UploadFile f)
Removes the given file and returns its former index. |
void |
select(UploadNode node)
|
void |
setSelection(UploadNode[] nodes)
|
| Methods inherited from class javax.swing.DefaultListSelectionModel |
|---|
addListSelectionListener, addSelectionInterval, clearSelection, clone, fireValueChanged, fireValueChanged, fireValueChanged, getAnchorSelectionIndex, getLeadSelectionIndex, getListeners, getListSelectionListeners, getMaxSelectionIndex, getMinSelectionIndex, getSelectionMode, getValueIsAdjusting, insertIndexInterval, isLeadAnchorNotificationEnabled, isSelectedIndex, isSelectionEmpty, moveLeadSelectionIndex, removeIndexInterval, removeListSelectionListener, removeSelectionInterval, setAnchorSelectionIndex, setLeadAnchorNotificationEnabled, setLeadSelectionIndex, setSelectionInterval, setSelectionMode, setValueIsAdjusting, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FileSelectionModel()
| Method Detail |
|---|
public void add(UploadFile file)
public boolean remove(UploadFile f)
public void remove(int index)
public void clear()
public UploadFile getFile(int row)
public java.util.List getFiles()
public void setSelection(UploadNode[] nodes)
public void select(UploadNode node)
public UploadFile getLeadSelection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||