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
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 Summary
FieldsModifier and TypeFieldDescriptionprotected FeatureSchemaprotected Stringprotected booleanprotected String[]protected JTextAreaFields inherited from class AbstractAction
changeSupport, enabledFields inherited from interface Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON -
Constructor Summary
ConstructorsConstructorDescriptionAddFormulaPartToTextArea_Action(String formulaPart, JTextArea textArea, String[] mathSigns, FeatureSchema featureSchema) -
Method Summary
Modifier and TypeMethodDescriptionvoidactionPerformed(ActionEvent event) protected booleanisOperator(String op) Methods inherited from class AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
-
Field Details
-
textArea
-
mathSigns
-
formulaPart
-
isMathSign
protected boolean isMathSign -
featureSchema
-
-
Constructor Details
-
AddFormulaPartToTextArea_Action
public AddFormulaPartToTextArea_Action(String formulaPart, JTextArea textArea, String[] mathSigns, FeatureSchema featureSchema) - Parameters:
formulaPart- a formula parttextArea- text area to add the button text tomathSigns- the array of math signsfeatureSchema- the feature schema
-
-
Method Details
-
isOperator
-
actionPerformed
- Parameters:
event- event to process
-