Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.hexidec.ekit.action
Class CustomFontAction  view CustomFontAction download CustomFontAction.java

java.lang.Object
  extended byjavax.swing.AbstractAction
      extended byjavax.swing.text.TextAction
          extended byjavax.swing.text.StyledEditorKit.StyledTextAction
              extended bycom.hexidec.ekit.action.CustomFontAction
All Implemented Interfaces:
javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable

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

Class for implementing custom HTML insertion actions


Field Summary
private  boolean bBold
           
private  boolean bFont
           
private  boolean bItalic
           
private  boolean bUnderline
           
private  com.hexidec.ekit.EkitCore parentEkit
           
private  java.lang.String sColor
           
private  java.lang.String sSize
           
 
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
CustomFontAction(com.hexidec.ekit.EkitCore ekit, java.lang.String actionName, java.lang.String sColor, java.lang.String sSize, boolean bFont, boolean bBold, boolean bItalic, boolean bUnderline)
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent ae)
          This method is invoked when an action occurs.
 
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
 

Field Detail

parentEkit

private com.hexidec.ekit.EkitCore parentEkit

sColor

private java.lang.String sColor

sSize

private java.lang.String sSize

bFont

private boolean bFont

bBold

private boolean bBold

bItalic

private boolean bItalic

bUnderline

private boolean bUnderline
Constructor Detail

CustomFontAction

public CustomFontAction(com.hexidec.ekit.EkitCore ekit,
                        java.lang.String actionName,
                        java.lang.String sColor,
                        java.lang.String sSize,
                        boolean bFont,
                        boolean bBold,
                        boolean bItalic,
                        boolean bUnderline)
Method Detail

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent ae)
Description copied from interface: java.awt.event.ActionListener
This method is invoked when an action occurs.