|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.AbstractAction org.bushe.swing.action.BasicAction net.atlanticbb.tantlinger.ui.DefaultAction net.atlanticbb.tantlinger.ui.text.actions.HTMLTextEditAction net.atlanticbb.tantlinger.ui.text.actions.HTMLElementPropertiesAction
public class HTMLElementPropertiesAction
Action for editing an element's properties depending on the current caret position. Currently supports links, images, tables, lists, and paragraphs.
Field Summary | |
---|---|
static int |
ELEM_PROPS
|
static int |
IMG_PROPS
|
static int |
LINK_PROPS
|
static int |
LIST_PROPS
|
static java.lang.String[] |
PROPS
|
static int |
TABLE_PROPS
|
Fields inherited from class net.atlanticbb.tantlinger.ui.text.actions.HTMLTextEditAction |
---|
DISABLED, EDITOR, SOURCE, WYSIWYG |
Fields inherited from class org.bushe.swing.action.BasicAction |
---|
DEFAULT_ENABLED_STATE |
Fields inherited from class javax.swing.AbstractAction |
---|
changeSupport, enabled |
Fields inherited from interface javax.swing.Action |
---|
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, DISPLAYED_MNEMONIC_INDEX_KEY, LARGE_ICON_KEY, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SELECTED_KEY, SHORT_DESCRIPTION, SMALL_ICON |
Constructor Summary | |
---|---|
HTMLElementPropertiesAction()
|
Method Summary | |
---|---|
protected ImageDialog |
createImageDialog()
|
protected HyperlinkDialog |
createLinkDialog()
|
protected ListDialog |
createListDialog()
|
protected ElementStyleDialog |
createStyleDialog()
|
protected TablePropertiesDialog |
createTablePropertiesDialog()
|
protected void |
sourceEditPerformed(java.awt.event.ActionEvent e,
javax.swing.JEditorPane editor)
|
protected void |
updateWysiwygContextState(javax.swing.JEditorPane ed)
|
protected void |
wysiwygEditPerformed(java.awt.event.ActionEvent e,
javax.swing.JEditorPane ed)
|
Methods inherited from class net.atlanticbb.tantlinger.ui.text.actions.HTMLTextEditAction |
---|
actionPerformedCatch, contextChanged, execute, getCurrentEditor, getEditMode, updateSourceContextState |
Methods inherited from class net.atlanticbb.tantlinger.ui.DefaultAction |
---|
shouldBeEnabled, updateEnabled |
Methods inherited from class org.bushe.swing.action.BasicAction |
---|
actionPerformed, 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, updateEnabledState |
Methods inherited from class javax.swing.AbstractAction |
---|
addPropertyChangeListener, clone, firePropertyChange, getKeys, getPropertyChangeListeners, getValue, isEnabled, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.swing.Action |
---|
addPropertyChangeListener, getValue, isEnabled, removePropertyChangeListener, setEnabled |
Field Detail |
---|
public static final int TABLE_PROPS
public static final int LIST_PROPS
public static final int IMG_PROPS
public static final int LINK_PROPS
public static final int ELEM_PROPS
public static final java.lang.String[] PROPS
Constructor Detail |
---|
public HTMLElementPropertiesAction()
Method Detail |
---|
protected void wysiwygEditPerformed(java.awt.event.ActionEvent e, javax.swing.JEditorPane ed)
wysiwygEditPerformed
in class HTMLTextEditAction
protected HyperlinkDialog createLinkDialog()
protected ImageDialog createImageDialog()
protected TablePropertiesDialog createTablePropertiesDialog()
protected ListDialog createListDialog()
protected ElementStyleDialog createStyleDialog()
protected void updateWysiwygContextState(javax.swing.JEditorPane ed)
updateWysiwygContextState
in class HTMLTextEditAction
protected void sourceEditPerformed(java.awt.event.ActionEvent e, javax.swing.JEditorPane editor)
sourceEditPerformed
in class HTMLTextEditAction
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |