|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.jidesoft.combobox.ComboBoxModelWrapperUtils
public class ComboBoxModelWrapperUtils
ListWrapperUtilsis a utility class that contains several useful methods for ComboBoxModelWrapper.
Constructor Summary | |
---|---|
ComboBoxModelWrapperUtils()
|
Method Summary | |
---|---|
static ComboBoxModel |
getActualComboBoxModel(ComboBoxModel outerModel,
Class<?> targetModelClass)
Gets the list model whose class is targetModelClass. |
static int |
getActualIndexAt(ComboBoxModel outerModel,
int row)
Gets the actual row index at an outerModel. |
static int |
getActualIndexAt(ComboBoxModel outerModel,
int row,
Class<?> innerModelClass)
Gets the actual row index at an outerModel whose class is innerModelClass. |
static int |
getIndexAt(ComboBoxModel outerModel,
ComboBoxModel innerModel,
int rowInInnerModel)
Gets the row at the outermost model knowing the row index in an inner model |
static int |
getIndexAt(ComboBoxModel outerModel,
int rowInInnerModel)
Gets the row at the outermost 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 ComboBoxModelWrapperUtils()
Method Detail |
---|
public static int getActualIndexAt(ComboBoxModel 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(ComboBoxModel outerModel, int row)
outerModel
- the outermost outerModel.row
- the row of outermost outerModel
public static int getIndexAt(ComboBoxModel outerModel, ComboBoxModel innerModel, int rowInInnerModel)
outerModel
- innerModel
- rowInInnerModel
-
public static int getIndexAt(ComboBoxModel outerModel, int rowInInnerModel)
outerModel
- rowInInnerModel
-
public static ComboBoxModel getActualComboBoxModel(ComboBoxModel outerModel, Class<?> targetModelClass)
outerModel
- targetModelClass
-
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |