public class TableEditAction extends HTMLTextEditAction
| Modifier and Type | Field and Description |
|---|---|
static int |
DELETE_CELL |
static int |
DELETE_COL |
static int |
DELETE_ROW |
static int |
INSERT_CELL |
static int |
INSERT_COL |
static int |
INSERT_ROW |
protected int |
type |
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 |
|---|
TableEditAction(int type) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
editPerformed(ActionEvent e,
JEditorPane ed) |
protected int |
getCellIndex(Element tr,
Element td) |
protected int |
getRowCellCount(Element tr) |
protected String |
getRowHTML(Element tr) |
protected int |
getTableRowCount(Element table) |
protected void |
insertColumnAfter(Element td) |
protected void |
insertRowAfter(Element tr) |
protected boolean |
isInTD(JEditorPane tc) |
protected void |
remove(Element el) |
protected void |
removeCell(Element td) |
protected void |
removeColumn(Element td) |
protected void |
removeRow(Element tr) |
protected void |
updateContextState(JEditorPane wysEditor) |
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 INSERT_CELL
public static final int DELETE_CELL
public static final int INSERT_ROW
public static final int DELETE_ROW
public static final int INSERT_COL
public static final int DELETE_COL
protected int type
public TableEditAction(int type)
throws IllegalArgumentException
IllegalArgumentExceptionprotected void editPerformed(ActionEvent e, JEditorPane ed)
editPerformed in class HTMLTextEditActionprotected int getTableRowCount(Element table)
protected int getRowCellCount(Element tr)
protected void remove(Element el) throws BadLocationException
BadLocationExceptionprotected boolean isInTD(JEditorPane tc)
protected void updateContextState(JEditorPane wysEditor)
updateContextState in class HTMLTextEditActionCopyright © 2016 Imatia Innovation S.L.. All rights reserved.