public class HTMLElementPropertiesAction extends HTMLTextEditAction
| Modifier and Type | Field and Description |
|---|---|
static int |
ELEM_PROPS |
static int |
IMG_PROPS |
protected ImageDialog |
imgDlg |
static int |
LIST_PROPS |
protected ListDialog |
listDlg |
static String[] |
PROPS |
static int |
TABLE_PROPS |
protected TablePropertiesDialog |
tableDlg |
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 |
|---|
HTMLElementPropertiesAction() |
| Modifier and Type | Method and Description |
|---|---|
protected ImageDialog |
createImageDialog() |
protected ListDialog |
createListDialog() |
protected TablePropertiesDialog |
createTablePropertiesDialog() |
protected void |
editImageProps(Element elem) |
protected void |
editListProps(Element elem) |
protected void |
editPerformed(ActionEvent e,
JEditorPane ed) |
protected void |
editTableProps(Element paraElem) |
protected static Element |
elementAtCaretPosition(JEditorPane ed)
Computes the (inline or block) element at the focused editor's caret
position
|
protected Map |
getAttribs(Element elem) |
protected String |
getElementHTML(Element el,
Map attribs) |
protected static int |
getElementType(Element elem) |
protected Map |
getLinkAttributes(Element elem) |
static boolean |
isTableElement(JEditorPane ed) |
protected void |
replace(Element elem,
String html) |
void |
setResourceBundle(ResourceBundle resourceBundle)
Sets the language resource bundle.
|
protected void |
updateContextState(JEditorPane ed) |
actionPerformedCatch, addActionPerformedListener, contextChanged, execute, firePostActionPerformed, firePreviousActionPerformed, getCurrentEditor, getTextsToTranslate, removeActionPerformedListener, setComponentLocaleshouldBeEnabled, 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 TABLE_PROPS
public static final int LIST_PROPS
public static final int IMG_PROPS
public static final int ELEM_PROPS
public static final String[] PROPS
protected TablePropertiesDialog tableDlg
protected ListDialog listDlg
protected ImageDialog imgDlg
protected void editPerformed(ActionEvent e, JEditorPane ed)
editPerformed in class HTMLTextEditActionpublic void setResourceBundle(ResourceBundle resourceBundle)
InternationalizationsetResourceBundle in interface InternationalizationsetResourceBundle in class HTMLTextEditActionresourceBundle - the new language bundle.protected void editImageProps(Element elem)
protected void editTableProps(Element paraElem)
protected void editListProps(Element elem)
protected ImageDialog createImageDialog()
protected TablePropertiesDialog createTablePropertiesDialog()
protected ListDialog createListDialog()
protected void updateContextState(JEditorPane ed)
updateContextState in class HTMLTextEditActionprotected static int getElementType(Element elem)
protected static Element elementAtCaretPosition(JEditorPane ed)
public static boolean isTableElement(JEditorPane ed)
Copyright © 2016 Imatia Innovation S.L.. All rights reserved.