de.xeinfach.kafenio.action
Class ListAutomationAction
java.lang.Object
javax.swing.AbstractAction
javax.swing.text.TextAction
javax.swing.text.StyledEditorKit.StyledTextAction
javax.swing.text.html.HTMLEditorKit.HTMLTextAction
javax.swing.text.html.HTMLEditorKit.InsertHTMLTextAction
de.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
| 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 |
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 instancesLabel - a list labelnewListType - type of the list (OL or UL)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent ae)
- method that handles the given ActionEvent
- Parameters:
ae - the ActionEvent to handle
Copyright © 2003-2004 by Karsten Pawlik. All Rights Reserved. Published under the Lesser General Public License (LGPL)