svn-gvsig-desktop / branches / CqCMSDvp / libraries / libCq CMS for java.old / src / org / cresques / ui / raster / FilterRasterDialogPanel.java @ 1751
History | View | Annotate | Download (1.16 KB)
1 |
/*
|
---|---|
2 |
* Creado el 3-marzo-2005
|
3 |
*/
|
4 |
package org.cresques.ui.raster; |
5 |
|
6 |
import javax.swing.JPanel; |
7 |
|
8 |
import org.cresques.io.GeoRasterFile; |
9 |
import org.cresques.ui.DefaultDialogPanel; |
10 |
import org.cresques.ui.DefaultTabPanel; |
11 |
|
12 |
/**
|
13 |
* @author Nacho Brodin <brodin_ign@gva.es>
|
14 |
*/
|
15 |
public class FilterRasterDialogPanel extends DefaultTabPanel { |
16 |
|
17 |
//Tama?o de panel interior. El tab de dentro es proporcional
|
18 |
protected int sizePanelX = 350; |
19 |
protected int sizePanelY = 200; |
20 |
|
21 |
|
22 |
public FilterRasterDialogPanel() {
|
23 |
|
24 |
super();
|
25 |
contentPane.setPreferredSize(new java.awt.Dimension(sizePanelX, sizePanelY));
|
26 |
this.tabbedPane.setPreferredSize(new java.awt.Dimension(sizePanelX, sizePanelY-5)); |
27 |
initPanels(); |
28 |
|
29 |
} |
30 |
|
31 |
/**
|
32 |
* This method initializes this
|
33 |
*
|
34 |
* @return void
|
35 |
*/
|
36 |
protected void initPanels() { |
37 |
|
38 |
this.setBounds(0,0,355,230); |
39 |
RasterTransparencyPanel pTrans = new RasterTransparencyPanel(this); |
40 |
BandSetupPanel pSetup = new BandSetupPanel();
|
41 |
this.addTab(pSetup.nom, pSetup);
|
42 |
this.addTab(pTrans.nom, pTrans);
|
43 |
|
44 |
//Ocultamos el bot?n de aplicar
|
45 |
|
46 |
//this.getApplyButton().setVisible(false);
|
47 |
|
48 |
} |
49 |
|
50 |
} |
51 |
|
52 |
|
53 |
|
54 |
|
55 |
|