Revision 20567
trunk/extensions/extWFS2/src/com/iver/cit/gvsig/gui/panels/WFSAreaPanel.java | ||
---|---|---|
31 | 31 |
import javax.swing.SwingConstants; |
32 | 32 |
|
33 | 33 |
import org.gvsig.gui.beans.panelGroup.IPanelGroup; |
34 |
import org.gvsig.gui.beans.specificcaretposition.JTextFieldWithSCP; |
|
34 | 35 |
import org.gvsig.gui.beans.swing.jComboBoxWithImageIconItems.ImageIconItemInfo; |
35 | 36 |
import org.gvsig.gui.beans.swing.jComboBoxWithImageIconItems.JComboBoxWithImageIconItems; |
36 |
import org.gvsig.gui.beans.swing.jTextFieldWithSpecificCaretPosition.JTextFieldWithSpecificCaretPosition; |
|
37 | 37 |
|
38 | 38 |
import com.iver.andami.PluginServices; |
39 | 39 |
import com.iver.andami.messages.NotificationManager; |
... | ... | |
1068 | 1068 |
private JLabel jLabelVertex1Y = null; |
1069 | 1069 |
private JLabel jLabelVertex2X = null; |
1070 | 1070 |
private JLabel jLabelVertex2Y = null; |
1071 |
private JTextFieldWithSpecificCaretPosition jTextFieldVertex1X = null;
|
|
1072 |
private JTextFieldWithSpecificCaretPosition jTextFieldVertex1Y = null;
|
|
1073 |
private JTextFieldWithSpecificCaretPosition jTextFieldVertex2X = null;
|
|
1074 |
private JTextFieldWithSpecificCaretPosition jTextFieldVertex2Y = null;
|
|
1071 |
private JTextFieldWithSCP jTextFieldVertex1X = null;
|
|
1072 |
private JTextFieldWithSCP jTextFieldVertex1Y = null;
|
|
1073 |
private JTextFieldWithSCP jTextFieldVertex2X = null;
|
|
1074 |
private JTextFieldWithSCP jTextFieldVertex2Y = null;
|
|
1075 | 1075 |
private JButton jButtonPreviewArea = null; |
1076 | 1076 |
private String last_Coordinates[]; |
1077 | 1077 |
private boolean hasChanged_v1X; |
... | ... | |
1520 | 1520 |
/** |
1521 | 1521 |
* This method initializes jTextFieldVertex1X |
1522 | 1522 |
* |
1523 |
* @return JTextFieldWithSpecificCaretPosition
|
|
1523 |
* @return JTextFieldWithSCP
|
|
1524 | 1524 |
*/ |
1525 |
private JTextFieldWithSpecificCaretPosition getJTextFieldVertex1X() {
|
|
1525 |
private JTextFieldWithSCP getJTextFieldVertex1X() {
|
|
1526 | 1526 |
if (jTextFieldVertex1X == null) { |
1527 |
jTextFieldVertex1X = new JTextFieldWithSpecificCaretPosition("");
|
|
1527 |
jTextFieldVertex1X = new JTextFieldWithSCP("");
|
|
1528 | 1528 |
jTextFieldVertex1X.setPreferredSize(new Dimension(DEFAULT_TEXT_FIELDS_WIDTH, DEFAULT_LABELS_AND_TEXT_FIELDS_HEIGHT)); |
1529 | 1529 |
jTextFieldVertex1X.setToolTipText(PluginServices.getText(this, "x_coordinate_from_area_right_up_vertex")); |
1530 | 1530 |
jTextFieldVertex1X.addFocusListener(getFocusListenerForCoordinateValidation()); |
... | ... | |
1537 | 1537 |
/** |
1538 | 1538 |
* This method initializes jTextFieldVertex1Y |
1539 | 1539 |
* |
1540 |
* @return JTextFieldWithSpecificCaretPosition
|
|
1540 |
* @return JTextFieldWithSCP
|
|
1541 | 1541 |
*/ |
1542 |
private JTextFieldWithSpecificCaretPosition getJTextFieldVertex1Y() {
|
|
1542 |
private JTextFieldWithSCP getJTextFieldVertex1Y() {
|
|
1543 | 1543 |
if (jTextFieldVertex1Y == null) { |
1544 |
jTextFieldVertex1Y = new JTextFieldWithSpecificCaretPosition("");
|
|
1544 |
jTextFieldVertex1Y = new JTextFieldWithSCP("");
|
|
1545 | 1545 |
jTextFieldVertex1Y.setPreferredSize(new Dimension(DEFAULT_TEXT_FIELDS_WIDTH, DEFAULT_LABELS_AND_TEXT_FIELDS_HEIGHT)); |
1546 | 1546 |
jTextFieldVertex1Y.setToolTipText(PluginServices.getText(this, "y_coordinate_from_area_right_up_vertex")); |
1547 | 1547 |
jTextFieldVertex1Y.addFocusListener(getFocusListenerForCoordinateValidation()); |
... | ... | |
1554 | 1554 |
/** |
1555 | 1555 |
* This method initializes jTextFieldVertex2X |
1556 | 1556 |
* |
1557 |
* @return JTextFieldWithSpecificCaretPosition
|
|
1557 |
* @return JTextFieldWithSCP
|
|
1558 | 1558 |
*/ |
1559 |
private JTextFieldWithSpecificCaretPosition getJTextFieldVertex2X() {
|
|
1559 |
private JTextFieldWithSCP getJTextFieldVertex2X() {
|
|
1560 | 1560 |
if (jTextFieldVertex2X == null) { |
1561 |
jTextFieldVertex2X = new JTextFieldWithSpecificCaretPosition("");
|
|
1561 |
jTextFieldVertex2X = new JTextFieldWithSCP("");
|
|
1562 | 1562 |
jTextFieldVertex2X.setPreferredSize(new Dimension(DEFAULT_TEXT_FIELDS_WIDTH, DEFAULT_LABELS_AND_TEXT_FIELDS_HEIGHT)); |
1563 | 1563 |
jTextFieldVertex2X.setToolTipText(PluginServices.getText(this, "x_coordinate_from_area_left_bottom_vertex")); |
1564 | 1564 |
jTextFieldVertex2X.addFocusListener(getFocusListenerForCoordinateValidation()); |
... | ... | |
1571 | 1571 |
/** |
1572 | 1572 |
* This method initializes jTextFieldVertex2Y |
1573 | 1573 |
* |
1574 |
* @return JTextFieldWithSpecificCaretPosition
|
|
1574 |
* @return JTextFieldWithSCP
|
|
1575 | 1575 |
*/ |
1576 |
private JTextFieldWithSpecificCaretPosition getJTextFieldVertex2Y() {
|
|
1576 |
private JTextFieldWithSCP getJTextFieldVertex2Y() {
|
|
1577 | 1577 |
if (jTextFieldVertex2Y == null) { |
1578 |
jTextFieldVertex2Y = new JTextFieldWithSpecificCaretPosition("");
|
|
1578 |
jTextFieldVertex2Y = new JTextFieldWithSCP("");
|
|
1579 | 1579 |
jTextFieldVertex2Y.setPreferredSize(new Dimension(DEFAULT_TEXT_FIELDS_WIDTH, DEFAULT_LABELS_AND_TEXT_FIELDS_HEIGHT)); |
1580 | 1580 |
jTextFieldVertex2Y.setToolTipText(PluginServices.getText(this, "y_coordinate_from_area_left_bottom_vertex")); |
1581 | 1581 |
jTextFieldVertex2Y.addFocusListener(getFocusListenerForCoordinateValidation()); |
Also available in: Unified diff