root / trunk / extensions / extGeoreferencing / src / com / iver / cit / gvsig / gui / Panels / DataPointsTabPanel.java @ 3012
History | View | Annotate | Download (1.59 KB)
1 |
package com.iver.cit.gvsig.gui.Panels; |
---|---|
2 |
|
3 |
import javax.swing.JTabbedPane; |
4 |
|
5 |
import com.iver.andami.PluginServices; |
6 |
|
7 |
public class DataPointsTabPanel extends JTabbedPane{ |
8 |
|
9 |
private SelectPointsPanel selectPointsPanel = null; |
10 |
private TablePointsPanel tablePointsPanel = null; |
11 |
|
12 |
/**
|
13 |
* This is the default constructor
|
14 |
*/
|
15 |
public DataPointsTabPanel(SelectPointsPanel selectPointsPanel, TablePointsPanel tablePointsPanel) {
|
16 |
super();
|
17 |
this.selectPointsPanel = selectPointsPanel;
|
18 |
this.tablePointsPanel = tablePointsPanel;
|
19 |
initialize(); |
20 |
} |
21 |
|
22 |
/**
|
23 |
* This method initializes this
|
24 |
*
|
25 |
* @return void
|
26 |
*/
|
27 |
private void initialize() { |
28 |
this.setPreferredSize(new java.awt.Dimension(400,240)); |
29 |
this.setSize(new java.awt.Dimension(400,240)); |
30 |
this.setLocation(new java.awt.Point(0,0)); |
31 |
this.addTab(PluginServices.getText(this, "georef"), this.selectPointsPanel); |
32 |
this.addTab(PluginServices.getText(this, "table"), this.tablePointsPanel); |
33 |
|
34 |
} |
35 |
|
36 |
/**
|
37 |
* @return Returns the selectPointsPanel.
|
38 |
*/
|
39 |
public SelectPointsPanel getSelectPointsPanel() {
|
40 |
return selectPointsPanel;
|
41 |
} |
42 |
|
43 |
/**
|
44 |
* @param selectPointsPanel The selectPointsPanel to set.
|
45 |
*/
|
46 |
public void setSelectPointsPanel(SelectPointsPanel selectPointsPanel) { |
47 |
this.selectPointsPanel = selectPointsPanel;
|
48 |
} |
49 |
|
50 |
/**
|
51 |
* @return Returns the tablePointsPanel.
|
52 |
*/
|
53 |
public TablePointsPanel getTablePointsPanel() {
|
54 |
return tablePointsPanel;
|
55 |
} |
56 |
|
57 |
/**
|
58 |
* @param tablePointsPanel The tablePointsPanel to set.
|
59 |
*/
|
60 |
public void setTablePointsPanel(TablePointsPanel tablePointsPanel) { |
61 |
this.tablePointsPanel = tablePointsPanel;
|
62 |
} |
63 |
} |