Revision 44267 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.swing/org.gvsig.fmap.dal.swing.impl/src/main/java/org/gvsig/fmap/dal/swing/impl/searchpanel/DefaultSearchPanelView.java
DefaultSearchPanelView.java | ||
---|---|---|
46 | 46 |
JTextField txtAdvancedExpression = new JTextField(); |
47 | 47 |
JLabel lblExpressionDeBusqueda = new JLabel(); |
48 | 48 |
JButton btnAdvancedExpression = new JButton(); |
49 |
JButton btnAdvancedExpressionHistory = new JButton(); |
|
50 |
JButton btnAdvancedExpressionBookmarks = new JButton(); |
|
49 | 51 |
JButton btnSearch = new JButton(); |
50 | 52 |
JButton btnClear = new JButton(); |
51 | 53 |
JTable tblResults = new JTable(); |
... | ... | |
268 | 270 |
public JPanel createPanel2() |
269 | 271 |
{ |
270 | 272 |
JPanel jpanel1 = new JPanel(); |
271 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE"); |
|
273 |
FormLayout formlayout1 = new FormLayout("FILL:4DLU:NONE,FILL:DEFAULT:GROW(1.0),FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE,FILL:DEFAULT:NONE,FILL:4DLU:NONE","CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE,CENTER:DEFAULT:NONE,CENTER:2DLU:NONE");
|
|
272 | 274 |
CellConstraints cc = new CellConstraints(); |
273 | 275 |
jpanel1.setLayout(formlayout1); |
274 | 276 |
|
... | ... | |
285 | 287 |
btnAdvancedExpression.setBorder(emptyborder1); |
286 | 288 |
jpanel1.add(btnAdvancedExpression,cc.xy(4,4)); |
287 | 289 |
|
288 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5 },new int[]{ 1,2,3,4,5 }); |
|
290 |
btnAdvancedExpressionHistory.setActionCommand("..."); |
|
291 |
btnAdvancedExpressionHistory.setName("btnAdvancedExpressionHistory"); |
|
292 |
EmptyBorder emptyborder2 = new EmptyBorder(2,2,2,2); |
|
293 |
btnAdvancedExpressionHistory.setBorder(emptyborder2); |
|
294 |
jpanel1.add(btnAdvancedExpressionHistory,cc.xy(6,4)); |
|
295 |
|
|
296 |
btnAdvancedExpressionBookmarks.setActionCommand("..."); |
|
297 |
btnAdvancedExpressionBookmarks.setName("btnAdvancedExpressionBookmarks"); |
|
298 |
EmptyBorder emptyborder3 = new EmptyBorder(2,2,2,2); |
|
299 |
btnAdvancedExpressionBookmarks.setBorder(emptyborder3); |
|
300 |
jpanel1.add(btnAdvancedExpressionBookmarks,cc.xy(8,4)); |
|
301 |
|
|
302 |
addFillComponents(jpanel1,new int[]{ 1,2,3,4,5,6,7,8,9 },new int[]{ 1,2,3,4,5 }); |
|
289 | 303 |
return jpanel1; |
290 | 304 |
} |
291 | 305 |
|
Also available in: Unified diff