Class AddFormulaPartToTextArea_Action

java.lang.Object
javax.swing.AbstractAction
de.fho.jump.pirol.plugins.EditAttributeByFormula.AddFormulaPartToTextArea_Action
All Implemented Interfaces:
ActionListener, Serializable, Cloneable, EventListener, Action

public class AddFormulaPartToTextArea_Action extends AbstractAction
Action to add a button's text to a given JTextArea, when the button is pressed.
Version:
$Rev$
Author:
Ole Rahn

FH Osnabrück - University of Applied Sciences Osnabrück,
Project: PIROL (2005),
Subproject: Daten- und Wissensmanagement
See Also:
  • Field Details

    • textArea

      protected JTextArea textArea
    • mathSigns

      protected String[] mathSigns
    • formulaPart

      protected String formulaPart
    • isMathSign

      protected boolean isMathSign
    • featureSchema

      protected FeatureSchema featureSchema
  • Constructor Details

    • AddFormulaPartToTextArea_Action

      public AddFormulaPartToTextArea_Action(String formulaPart, JTextArea textArea, String[] mathSigns, FeatureSchema featureSchema)
      Parameters:
      formulaPart - a formula part
      textArea - text area to add the button text to
      mathSigns - the array of math signs
      featureSchema - the feature schema
  • Method Details

    • isOperator

      protected boolean isOperator(String op)
    • actionPerformed

      public void actionPerformed(ActionEvent event)
      Parameters:
      event - event to process