Revision 6613 trunk/libraries/libUI/src-test/org/gvsig/gui/beans/comboBoxItemsSeeker/TestJComboBoxItemsSeekerDynamic.java
TestJComboBoxItemsSeekerDynamic.java | ||
---|---|---|
111 | 111 |
jCBSD.setShowAllItems(true); |
112 | 112 |
//jCBSD.setShowAllItems(false); |
113 | 113 |
|
114 |
// Test a configuration of behavior of the JComboBoxSearcheableDynamic |
|
115 |
//JComboBoxSearcheableDynamic jCBSD = new JComboBoxSearcheableDynamic(true, true, false, true); |
|
116 |
|
|
117 |
// Test a configuration of behavior of the JComboBoxSearcheableDynamic |
|
118 |
//JComboBoxSearcheableDynamic jCBSD = new JComboBoxSearcheableDynamic(true, false, false, false); |
|
119 |
|
|
120 |
// Test a configuration of behavior of the JComboBoxSearcheableDynamic |
|
121 |
//JComboBoxSearcheableDynamic jCBSD = new JComboBoxSearcheableDynamic(true, false, false, true); |
|
122 |
|
|
123 |
// Test a configuration of behavior of the JComboBoxSearcheableDynamic |
|
124 |
//JComboBoxSearcheableDynamic jCBSD = new JComboBoxSearcheableDynamic(false, true, true, true); |
|
114 |
// Test a configuration of behavior of the start of JComboBoxSearcheableDynamic |
|
115 |
jCBSD.setStartBehavior(ComboBoxItemsSeekerDynamicModel.MAINTAIN_ORIGINAL_POSITION_START); |
|
116 |
// jCBSD.setStartBehavior(ComboBoxItemsSeekerDynamicModel.ORDERED_START); |
|
117 |
// jCBSD.setStartBehavior(ComboBoxItemsSeekerDynamicModel.DISORDERED_START); |
|
118 |
// |
|
119 |
// jCBSD.setStartBehavior(ComboBoxItemsSeekerDynamicModel.ORDERED_ALL_ITEMS_SEARCH); // Test error configuration |
|
125 | 120 |
|
126 |
// Test a configuration of behavior of the JComboBoxSearcheableDynamic |
|
127 |
//JComboBoxSearcheableDynamic jCBSD = new JComboBoxSearcheableDynamic(false, true, true, false); |
|
121 |
// Test a configuration of behavior of the start of JComboBoxSearcheableDynamic |
|
122 |
// jCBSD.setSearchBehavior(ComboBoxItemsSeekerDynamicModel.MAINTAIN_ORIGINAL_POSITION_ALL_ITEMS_SEARCH); |
|
123 |
// jCBSD.setSearchBehavior(ComboBoxItemsSeekerDynamicModel.ORDERED_ALL_ITEMS_SEARCH); |
|
124 |
// jCBSD.setSearchBehavior(ComboBoxItemsSeekerDynamicModel.DISORDERED_ALL_ITEMS_SEARCH); |
|
125 |
// |
|
126 |
// jCBSD.setSearchBehavior(ComboBoxItemsSeekerDynamicModel.MAINTAIN_ORIGINAL_POSITION_DYNAMIC_SEARCH); |
|
127 |
// jCBSD.setSearchBehavior(ComboBoxItemsSeekerDynamicModel.ORDERED_DYNAMIC_SEARCH); |
|
128 |
// jCBSD.setSearchBehavior(ComboBoxItemsSeekerDynamicModel.DISORDERED_DYNAMIC_SEARCH); |
|
129 |
// |
|
130 |
// jCBSD.setStartBehavior(ComboBoxItemsSeekerDynamicModel.ORDERED_START); // Test error configuration |
|
131 |
|
|
128 | 132 |
|
129 |
// Test a configuration of behavior of the JComboBoxSearcheableDynamic |
|
130 |
//JComboBoxSearcheableDynamic jCBSD = new JComboBoxSearcheableDynamic(false, false, true, true); |
|
131 |
|
|
132 |
// Test a configuration of behavior of the JComboBoxSearcheableDynamic |
|
133 |
//JComboBoxSearcheableDynamic jCBSD = new JComboBoxSearcheableDynamic(false, false, true, false); |
|
134 |
|
|
135 |
// Test a configuration of behavior of the JComboBoxSearcheableDynamic |
|
136 |
//JComboBoxSearcheableDynamic jCBSD = new JComboBoxSearcheableDynamic(false, false, false, true); |
|
137 |
|
|
138 |
// Test a configuration of behavior of the JComboBoxSearcheableDynamic |
|
139 |
//JComboBoxSearcheableDynamic jCBSD = new JComboBoxSearcheableDynamic(false, false, false, false); |
|
140 |
|
|
141 | 133 |
// If the flags configuration is ok -> test the component |
142 | 134 |
if (jCBSD.testFlagsConfigurationOK()) |
143 | 135 |
{ |
Also available in: Unified diff