public class HTMLInlineAction extends HTMLTextEditAction
| Modifier and Type | Field and Description |
|---|---|
static int |
BOLD |
static int |
CITE |
static int |
CODE |
static int |
EM |
static String[] |
INLINE_TYPES |
static int |
ITALIC |
static int |
STRIKE |
static int |
STRONG |
static int |
SUB |
static int |
SUP |
protected int |
type |
static int |
UNDERLINE |
actionListeners, DISABLED, EDITOR, resourceBundle, WYSIWYGchangeSupport, enabledDEBUG_LANGUAGEACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON| Constructor and Description |
|---|
HTMLInlineAction(int itype)
Creates a new HTMLInlineAction
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
editPerformed(ActionEvent e,
JEditorPane editor) |
HTML.Tag |
getTag() |
protected HTML.Tag |
getTagForType(int type) |
protected boolean |
isDefined(AttributeSet attr) |
protected void |
toggleStyle(JEditorPane editor) |
protected void |
updateContextState(JEditorPane ed) |
actionPerformedCatch, addActionPerformedListener, contextChanged, execute, firePostActionPerformed, firePreviousActionPerformed, getCurrentEditor, getTextsToTranslate, removeActionPerformedListener, setComponentLocale, setResourceBundleshouldBeEnabled, updateEnabledactionPerformed, actionPerformedFinally, actionPerformedTemplate, actionPerformedTry, addActionListener, addItemListener, addShouldBeEnabledDelegate, clearContext, createIcon, createIcon, getAccelerator, getActionCommandName, getActionName, getContext, getContextValue, getGroup, getId, getLongDescription, getMenuShowsIcon, getMnemonic, getRoles, getShortDescription, getSmallIcon, getToolbarShowsText, isSelected, propogateActionEvent, propogateItemEvent, putContextValue, putValue, removeActionListener, removeItemListener, removeShouldBeEnabledDelegate, setAccelerator, setActionCommandName, setActionName, setContext, setId, setLongDescription, setMenuShowsIcon, setMnemonic, setRoles, setSelected, setShortDescription, setSmallIcon, setToolbarShowsText, shouldBeEnabled, toString, updateEnabledStateaddPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, removePropertyChangeListener, setEnabledequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddPropertyChangeListener, getValue, isEnabled, removePropertyChangeListener, setEnabledpublic static final int EM
public static final int STRONG
public static final int CODE
public static final int CITE
public static final int SUP
public static final int SUB
public static final int BOLD
public static final int ITALIC
public static final int UNDERLINE
public static final int STRIKE
public static final String[] INLINE_TYPES
protected int type
public HTMLInlineAction(int itype)
throws IllegalArgumentException
itype - an inline element type (BOLD, ITALIC, STRIKE, etc)IllegalArgumentExceptionprotected void updateContextState(JEditorPane ed)
updateContextState in class HTMLTextEditActionpublic HTML.Tag getTag()
protected HTML.Tag getTagForType(int type)
protected void editPerformed(ActionEvent e, JEditorPane editor)
editPerformed in class HTMLTextEditActionprotected boolean isDefined(AttributeSet attr)
protected void toggleStyle(JEditorPane editor)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.