Kafenio.editor 0.8.5

de.xeinfach.kafenio.action
Class IndentAction

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

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

Description: class to handle indenting / de-indenting of the current paragraph

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
IndentAction(KafenioPanel kafenio, java.lang.String actionName)
          creates a new IndentAction Object.
 
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

IndentAction

public IndentAction(KafenioPanel kafenio,
                    java.lang.String actionName)
creates a new IndentAction Object.

Parameters:
kafenio - the KafenioPanel object to apply the changes to.
actionName - the name of the IndentAction
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)