|
|||||||||
| Home >> All >> org >> gendiapo >> editor >> [ document overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.gendiapo.editor.document
Class GenDiapoEditorKit.ToggleStyledTag

java.lang.Objectjavax.swing.AbstractAction
javax.swing.text.TextAction
javax.swing.text.StyledEditorKit.StyledTextAction
org.gendiapo.editor.document.GenDiapoEditorKit.ToggleStyledTag
- All Implemented Interfaces:
- javax.swing.Action, java.awt.event.ActionListener, java.lang.Cloneable, java.util.EventListener, java.io.Serializable, org.merlotxml.merlot.StateAction
- Enclosing class:
- GenDiapoEditorKit
- public static class GenDiapoEditorKit.ToggleStyledTag
- extends javax.swing.text.StyledEditorKit.StyledTextAction
- implements org.merlotxml.merlot.StateAction
- extends javax.swing.text.StyledEditorKit.StyledTextAction
| Field Summary | |
(package private) javax.swing.JEditorPane |
editor
|
(package private) org.merlotxml.merlot.MerlotDOMNode |
node
|
(package private) java.lang.String |
tag
|
| Fields inherited from class javax.swing.AbstractAction |
changeSupport, enabled |
| Fields inherited from interface org.merlotxml.merlot.StateAction |
SELECTABLE, SELECTED |
| Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
| Constructor Summary | |
GenDiapoEditorKit.ToggleStyledTag(javax.swing.JEditorPane editor,
java.lang.String tag)
|
|
| Method Summary | |
void |
actionPerformed(java.awt.event.ActionEvent e)
This method is invoked when an action occurs. |
boolean |
isSelectable()
|
boolean |
isSelected()
|
void |
setSelectable(boolean selected)
|
void |
setSelected(boolean selected)
|
void |
update()
|
protected void |
updateInputAttribute(GenDiapoEditorKit kit)
|
| 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 |
| Methods inherited from interface javax.swing.Action |
addPropertyChangeListener, getValue, isEnabled, putValue, removePropertyChangeListener, setEnabled |
| Field Detail |
tag
java.lang.String tag
editor
javax.swing.JEditorPane editor
node
org.merlotxml.merlot.MerlotDOMNode node
| Constructor Detail |
GenDiapoEditorKit.ToggleStyledTag
public GenDiapoEditorKit.ToggleStyledTag(javax.swing.JEditorPane editor, java.lang.String tag)
| Method Detail |
isSelected
public boolean isSelected()
- Specified by:
isSelectedin interfaceorg.merlotxml.merlot.StateAction
setSelected
public void setSelected(boolean selected)
- Specified by:
setSelectedin interfaceorg.merlotxml.merlot.StateAction
isSelectable
public boolean isSelectable()
- Specified by:
isSelectablein interfaceorg.merlotxml.merlot.StateAction
setSelectable
public void setSelectable(boolean selected)
- Specified by:
setSelectablein interfaceorg.merlotxml.merlot.StateAction
update
public void update()
updateInputAttribute
protected void updateInputAttribute(GenDiapoEditorKit kit)
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
- Description copied from interface:
java.awt.event.ActionListener - This method is invoked when an action occurs.
- Specified by:
actionPerformedin interfacejava.awt.event.ActionListener
|
|||||||||
| Home >> All >> org >> gendiapo >> editor >> [ document overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC