|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jidesoft.list.ListModelWrapperUtils
public class ListModelWrapperUtils
ListWrapperUtilsis a utility class that contains several useful methods for ListModelWrapper.
| Constructor Summary | |
|---|---|
ListModelWrapperUtils()
|
|
| Method Summary | |
|---|---|
static int |
getActualIndexAt(ListModel outerModel,
int row)
Gets the actual row index at an outerModel. |
static int |
getActualIndexAt(ListModel outerModel,
int row,
Class<?> innerModelClass)
Gets the actual row index at a list model whose class is innerModelClass. |
static int |
getActualIndexAt(ListModel outerModel,
int row,
ListModel innerModel)
Gets the actual row index at a list model which equals to the innerModel passed in as parameter. |
static ListModel |
getActualListModel(ListModel outerModel)
Gets the list model whose class is targetModelClass. |
static ListModel |
getActualListModel(ListModel outerModel,
Class<?> targetModelClass)
Gets the list model whose class is targetModelClass. |
static int |
getIndexAt(ListModel outerModel,
int rowInInnerModel)
Gets the row at the outermost model knowing the row index in an inner model |
static int |
getIndexAt(ListModel outerModel,
ListModel innerModel,
int rowInInnerModel)
Gets the row at the outer model knowing the row index in an inner model |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ListModelWrapperUtils()
| Method Detail |
|---|
public static int getActualIndexAt(ListModel outerModel,
int row,
Class<?> innerModelClass)
outerModel - the outermost outerModel.row - the row of outermost outerModelinnerModelClass - the class of the inner outerModel
public static int getActualIndexAt(ListModel outerModel,
int row,
ListModel innerModel)
outerModel - the outermost outerModel.row - the row of outermost outerModelinnerModel - the inner outerModel
public static int getActualIndexAt(ListModel outerModel,
int row)
outerModel - the outermost outerModel.row - the row of outermost outerModel
public static int getIndexAt(ListModel outerModel,
ListModel innerModel,
int rowInInnerModel)
outerModel - the outer list modelinnerModel - the inner list modelrowInInnerModel - the row index in the inner list model
public static int getIndexAt(ListModel outerModel,
int rowInInnerModel)
outerModel - the outer list modelrowInInnerModel - the row index in the inner list model
public static ListModel getActualListModel(ListModel outerModel,
Class<?> targetModelClass)
outerModel - the outer list modeltargetModelClass - the target model class type
public static ListModel getActualListModel(ListModel outerModel)
outerModel - the outer list model
|
JIDE 3.5.15 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||