Revision 4244 trunk/extensions/extRasterTools/src/com/iver/cit/gvsig/rasterTools/saveRaster/pruebas/TransparencyByPixelPanel.java
TransparencyByPixelPanel.java | ||
---|---|---|
11 | 11 |
|
12 | 12 |
public class TransparencyByPixelPanel extends Panel { |
13 | 13 |
|
14 |
private JPanel pBorder = null; |
|
15 |
private RGBInputPanel pWest = null; |
|
16 |
private JPanel pEast = null; |
|
17 |
private JPanel pCenter = null; |
|
18 |
private AddRemoveButtonsPanel pButtons = null; |
|
19 |
private AndOrSelectorPanel pOperation = null; |
|
20 |
private JList jList = null; |
|
14 |
private JPanel pBorder = null; |
|
15 |
private RGBInputPanel pWest = null; |
|
16 |
private JPanel pEast = null; |
|
17 |
private JPanel pCenter = null; |
|
18 |
private AddRemoveButtonsPanel pButtons = null; |
|
19 |
private AndOrSelectorPanel pOperation = null; |
|
20 |
private JList jList = null; |
|
21 |
private TransparencyByPixelListener listener = null; |
|
22 |
|
|
21 | 23 |
/** |
22 | 24 |
* This is the default constructor |
23 | 25 |
*/ |
24 | 26 |
public TransparencyByPixelPanel() { |
25 | 27 |
super(); |
26 | 28 |
initialize(); |
29 |
listener = new TransparencyByPixelListener(this); |
|
27 | 30 |
} |
28 | 31 |
|
29 | 32 |
/** |
... | ... | |
51 | 54 |
pBorder = new JPanel(); |
52 | 55 |
pBorder.setLayout(new GridBagLayout()); |
53 | 56 |
pBorder.setPreferredSize(new java.awt.Dimension(333,118)); |
54 |
pBorder.add(getPWest(), gridBagConstraints2);
|
|
57 |
pBorder.add(getPRGBInput(), gridBagConstraints2);
|
|
55 | 58 |
pBorder.add(getPCenter(), new GridBagConstraints()); |
56 |
pBorder.add(getPEast(), new GridBagConstraints());
|
|
59 |
pBorder.add(getPList(), new GridBagConstraints());
|
|
57 | 60 |
} |
58 | 61 |
return pBorder; |
59 | 62 |
} |
... | ... | |
63 | 66 |
* |
64 | 67 |
* @return javax.swing.JPanel |
65 | 68 |
*/ |
66 |
private JPanel getPWest() {
|
|
69 |
public JPanel getPRGBInput() {
|
|
67 | 70 |
if (pWest == null) { |
68 | 71 |
FlowLayout flowLayout = new FlowLayout(); |
69 | 72 |
flowLayout.setHgap(1); |
... | ... | |
80 | 83 |
* |
81 | 84 |
* @return javax.swing.JPanel |
82 | 85 |
*/ |
83 |
private JPanel getPEast() {
|
|
86 |
public JPanel getPList() {
|
|
84 | 87 |
if (pEast == null) { |
85 | 88 |
GridBagConstraints gridBagConstraints3 = new GridBagConstraints(); |
86 | 89 |
gridBagConstraints3.fill = java.awt.GridBagConstraints.BOTH; |
... | ... | |
127 | 130 |
* |
128 | 131 |
* @return javax.swing.JPanel |
129 | 132 |
*/ |
130 |
private JPanel getPButtons() {
|
|
133 |
public JPanel getPButtons() {
|
|
131 | 134 |
if (pButtons == null) { |
132 | 135 |
pButtons = new AddRemoveButtonsPanel(); |
133 | 136 |
pButtons.setPreferredSize(new java.awt.Dimension(60,63)); |
... | ... | |
140 | 143 |
* |
141 | 144 |
* @return javax.swing.JPanel |
142 | 145 |
*/ |
143 |
private JPanel getPOperation() {
|
|
146 |
public JPanel getPOperation() {
|
|
144 | 147 |
if (pOperation == null) { |
145 | 148 |
pOperation = new AndOrSelectorPanel(); |
146 | 149 |
pOperation.setPreferredSize(new java.awt.Dimension(60,50)); |
Also available in: Unified diff