Kafenio.editor 0.8.5

de.xeinfach.kafenio.action
Class StylesAction

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

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

Description: Class for handling CSS style events

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
StylesAction(javax.swing.JComboBox myParent)
          constructs a new StylesAction 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

StylesAction

public StylesAction(javax.swing.JComboBox myParent)
constructs a new StylesAction Object.

Parameters:
myParent - the Combobox to add the styles to.
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)