Kafenio.editor 0.8.5

de.xeinfach.kafenio.action
Class ToggleCaseAction

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byjavax.swing.text.TextAction
          extended byjavax.swing.text.StyledEditorKit.StyledTextAction
              extended byde.xeinfach.kafenio.action.ToggleCaseAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

public class ToggleCaseAction
extends javax.swing.text.StyledEditorKit.StyledTextAction

Description: class to toggle the case of the marked letters

Author:
Karsten Pawlik
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.AbstractAction
changeSupport, enabled
 
Fields inherited from interface javax.swing.Action
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON
 
Constructor Summary
ToggleCaseAction(KafenioPanel kafenio, java.lang.String actionName)
          creates a new ToggleCaseAction using the given parameters.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent e)
          handles the given ActionEvent.
 
Methods inherited from class javax.swing.text.StyledEditorKit.StyledTextAction
getEditor, getStyledDocument, getStyledEditorKit, setCharacterAttributes, setParagraphAttributes
 
Methods inherited from class javax.swing.text.TextAction
augmentList, getFocusedComponent, getTextComponent
 
Methods inherited from class javax.swing.AbstractAction
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ToggleCaseAction

public ToggleCaseAction(KafenioPanel kafenio,
                        java.lang.String actionName)
creates a new ToggleCaseAction using the given parameters.

Parameters:
kafenio - the KafenioPanel instance to apply the changes to.
actionName - the name of the action.
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent e)
handles the given ActionEvent.

Parameters:
e - the ActionEvent to handle

Kafenio.editor 0.8.5

Copyright © 2003-2004 by Karsten Pawlik. All Rights Reserved. Published under the Lesser General Public License (LGPL)