Revision 6577 trunk/libraries/libUI/src/org/gvsig/gui/beans/comboBoxItemsSeeker/JComboBoxItemsSeekerDynamic.java
JComboBoxItemsSeekerDynamic.java | ||
---|---|---|
87 | 87 |
* This class allows users to insert a chain of characters and show all the sentences of the JComboBox that match its first ones characters with it. |
88 | 88 |
* This class is also a Java Bean, and is made according the MVC (Model - View - Controller) pattern. |
89 | 89 |
* This class has the View, the Control and can access to the Model. |
90 |
* The behavior of this componet can be configurated by 7 flags: |
|
90 |
* The behavior of this componet can be configurated by 7 flags: (Esto lo cambio!!!!!)
|
|
91 | 91 |
* + The appearence of the items showed at the beginning and when the user presses the ESCAPE key: (This is configured with 2 flags -> 3 different states are possible) |
92 | 92 |
* -> maintainPositionItems -> When we see the list of all items, this are showed in the ordenation as they have been introduced (if true); (if false) each new item |
93 |
* when we write on the TextField of this Component will be showed at the end |
|
93 |
* when we write on the TextField of this Component will be showed at the end (esto ?ltimo creo q. no -> revisarlo)
|
|
94 | 94 |
* -> all_Alphanumeric_Sorted -> All items we can see in this Component will be showed in alphanumeric ordenation (if true) |
95 | 95 |
* + The list of the items showed when the user makes a search writting or pressing the BACK-SPACE key (This is configured with 1 flag -> 2 different states are possible) |
96 | 96 |
* -> alphanumericSortedSearches -> When we write on the TextField of this Component all results (items) are showed in alphanumeric ordenation (if true) |
... | ... | |
135 | 135 |
private Set notRemovedItems; |
136 | 136 |
private Set removedItems;*/ |
137 | 137 |
|
138 |
|
|
138 | 139 |
// CONFIGURATION FLAGS |
139 | 140 |
private boolean onlyOneColor; |
140 | 141 |
private boolean completeMatchedItem; |
... | ... | |
148 | 149 |
private int lastSelectedIndex; |
149 | 150 |
|
150 | 151 |
// pueDE QUE TB. SOBRE |
151 |
private int num = 0; |
|
152 |
// private int num = 0;
|
|
152 | 153 |
// private JTextField txtField; |
153 | 154 |
|
154 | 155 |
// Reference to the ui |
Also available in: Unified diff