Example usage for java.awt.event ActionEvent getActionCommand

List of usage examples for java.awt.event ActionEvent getActionCommand

Introduction

In this page you can find the example usage for java.awt.event ActionEvent getActionCommand.

Prototype

public String getActionCommand() 

Source Link

Document

Returns the command string associated with this action.

Usage

From source file:ca.sfu.federation.viewer.propertysheet.CoordinateSystemPropertySheet.java

private void jtfDescriptionActionListener(java.awt.event.ActionEvent evt) {
    String command = evt.getActionCommand();
    logger.log(Level.INFO, "CoordinateSystemPropertySheet jtfDescriptionActionListener fired {0}", command);
    try {/*from   w  w w  .  j a v  a  2s .c  om*/
        BeanProxy proxy = new BeanProxy(this.target);
        proxy.set("description", evt.getActionCommand());
    } catch (Exception ex) {
        String stack = ExceptionUtils.getFullStackTrace(ex);
        logger.log(Level.WARNING, "{0}", stack);
    }
}

From source file:ca.sfu.federation.viewer.propertysheet.CoordinateSystemPropertySheet.java

private void jtfNameActionListener(java.awt.event.ActionEvent evt) {
    String command = evt.getActionCommand();
    logger.log(Level.INFO, "CoordinateSystemPropertySheet jtfNameActionListener fired {0}", command);
    try {//from  w  w w  . j av  a 2 s  . c  o m
        BeanProxy proxy = new BeanProxy(this.target);
        proxy.set("name", evt.getActionCommand());
    } catch (Exception ex) {
        String stack = ExceptionUtils.getFullStackTrace(ex);
        logger.log(Level.WARNING, "{0}", stack);
    }
}

From source file:ca.sfu.federation.viewer.propertysheet.CoordinateSystemPropertySheet.java

private void jtfXActionListener(java.awt.event.ActionEvent evt) {
    String command = evt.getActionCommand();
    logger.log(Level.INFO, "CoordinateSystemPropertySheet jtfXActionListener fired {0}", command);
    try {/*from   w  ww .j ava2  s  . c o m*/
        BeanProxy proxy = new BeanProxy(this.target);
        proxy.set("X", evt.getActionCommand());
    } catch (Exception ex) {
        String stack = ExceptionUtils.getFullStackTrace(ex);
        logger.log(Level.WARNING, "{0}", stack);
    }
}

From source file:ca.sfu.federation.viewer.propertysheet.CoordinateSystemPropertySheet.java

private void jtfYActionListener(java.awt.event.ActionEvent evt) {
    String command = evt.getActionCommand();
    logger.log(Level.INFO, "CoordinateSystemPropertySheet jtfYActionListener fired {0}", command);
    try {//from   ww  w  .  j a v a 2s  .co  m
        BeanProxy proxy = new BeanProxy(this.target);
        proxy.set("Y", evt.getActionCommand());
    } catch (Exception ex) {
        String stack = ExceptionUtils.getFullStackTrace(ex);
        logger.log(Level.WARNING, "{0}", stack);
    }
}

From source file:ca.sfu.federation.viewer.propertysheet.CoordinateSystemPropertySheet.java

private void jtfZActionListener(java.awt.event.ActionEvent evt) {
    String command = evt.getActionCommand();
    logger.log(Level.INFO, "CoordinateSystemPropertySheet jtfZActionListener fired {0}", command);
    try {//from   w  w  w  .j  a  v  a2s  . c om
        BeanProxy proxy = new BeanProxy(this.target);
        proxy.set("Z", evt.getActionCommand());
    } catch (Exception ex) {
        String stack = ExceptionUtils.getFullStackTrace(ex);
        logger.log(Level.WARNING, "{0}", stack);
    }
}

From source file:ca.sfu.federation.viewer.propertysheet.CoordinateSystemPropertySheet.java

private void jcbUpdateMethodActionListener(java.awt.event.ActionEvent evt) {
    String command = evt.getActionCommand();
    logger.log(Level.INFO, "CoordinateSystemPropertySheet jcbUpdateMethodActionListener fired {0}", command);
    try {//ww w  . ja  v  a 2 s . co  m
        this.target.setUpdateMethod(evt.getActionCommand());
        // update the input arguments panel
    } catch (Exception ex) {
        String stack = ExceptionUtils.getFullStackTrace(ex);
        logger.log(Level.WARNING, "{0}", stack);
    }
}

From source file:ca.sfu.federation.viewer.propertysheet.PlanePropertySheet.java

private void jtfDescriptionActionListener(java.awt.event.ActionEvent evt) {
    String command = evt.getActionCommand();
    logger.log(Level.INFO, "ComponentSheet jtfDescriptionActionListener fired {0}", command);
    try {/*  w ww  .j  av a2s  . c o  m*/
        BeanProxy proxy = new BeanProxy(this.target);
        proxy.set("description", evt.getActionCommand());
    } catch (Exception ex) {
        String stack = ExceptionUtils.getFullStackTrace(ex);
        logger.log(Level.WARNING, "{0}", stack);
    }
}

From source file:ca.sfu.federation.viewer.propertysheet.PlanePropertySheet.java

private void jtfXActionListener(java.awt.event.ActionEvent evt) {
    String command = evt.getActionCommand();
    logger.log(Level.INFO, "ComponentSheet jtfXActionListener fired {0}", command);
    try {// w  w  w  .j  a v a  2 s .c  o  m
        BeanProxy proxy = new BeanProxy(this.target);
        proxy.set("X", evt.getActionCommand());
    } catch (Exception ex) {
        String stack = ExceptionUtils.getFullStackTrace(ex);
        logger.log(Level.WARNING, "{0}", stack);
    }
}

From source file:ca.sfu.federation.viewer.propertysheet.PlanePropertySheet.java

private void jtfYActionListener(java.awt.event.ActionEvent evt) {
    String command = evt.getActionCommand();
    logger.log(Level.ALL, "ComponentSheet jtfYActionListener fired {0}", command);
    try {//from   w w  w. j  a v a2  s .c  o m
        BeanProxy proxy = new BeanProxy(this.target);
        proxy.set("Y", evt.getActionCommand());
    } catch (Exception ex) {
        String stack = ExceptionUtils.getFullStackTrace(ex);
        logger.log(Level.WARNING, "{0}", stack);
    }
}

From source file:ca.sfu.federation.viewer.propertysheet.PlanePropertySheet.java

private void jtfZActionListener(java.awt.event.ActionEvent evt) {
    String command = evt.getActionCommand();
    logger.log(Level.ALL, "ComponentSheet jtfZActionListener fired {0}", command);
    try {/*from  w  w  w  .  j  a  v  a  2 s.  c  o  m*/
        BeanProxy proxy = new BeanProxy(this.target);
        proxy.set("Z", evt.getActionCommand());
    } catch (Exception ex) {
        String stack = ExceptionUtils.getFullStackTrace(ex);
        logger.log(Level.WARNING, "{0}", stack);
    }
}