Kafenio.editor 0.8.5

de.xeinfach.kafenio.action
Class ListAutomationAction

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

public class ListAutomationAction
extends javax.swing.text.html.HTMLEditorKit.InsertHTMLTextAction

Description: Class for automatically creating bulleted lists from selected text

Author:
HowardKistler, Karsten Pawlik
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.swing.text.html.HTMLEditorKit.InsertHTMLTextAction
addTag, alternateAddTag, alternateParentTag, html, parentTag
 
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
ListAutomationAction(KafenioPanel kafenio, java.lang.String sLabel, javax.swing.text.html.HTML.Tag newListType)
          creates a new ListAutomationAction using the given parameters.
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
          method that handles the given ActionEvent
 
Methods inherited from class javax.swing.text.html.HTMLEditorKit.InsertHTMLTextAction
insertAtBoundary, insertAtBoundry, insertHTML
 
Methods inherited from class javax.swing.text.html.HTMLEditorKit.HTMLTextAction
elementCountToTag, findElementMatchingTag, getElementsAt, getHTMLDocument, getHTMLEditorKit
 
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

ListAutomationAction

public ListAutomationAction(KafenioPanel kafenio,
                            java.lang.String sLabel,
                            javax.swing.text.html.HTML.Tag newListType)
creates a new ListAutomationAction using the given parameters.

Parameters:
kafenio - a KafenioPanel instance
sLabel - a list label
newListType - type of the list (OL or UL)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
method that handles the given ActionEvent

Parameters:
ae - 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)