com.inet.html.actions
Class HRuleAction
java.lang.Object
javax.swing.AbstractAction
javax.swing.text.TextAction
javax.swing.text.StyledEditorKit.StyledTextAction
com.inet.html.actions.InetHtmlAction
com.inet.html.actions.HRuleAction
- All Implemented Interfaces:
- java.awt.event.ActionListener, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, javax.swing.Action
public class HRuleAction
- extends InetHtmlAction
Handelt das Keyevent ENTER, Da Java das ENTER nur als neuen Absatz handelt in einem Absatz,
muss hier einiges gehückt werden.
HTMLEditorKit.InsertHTMLTextAction wird verwendet, weil bereits einige sinnvole Hilfsfunktionen existieren.
- See Also:
- Serialized Form
Fields inherited from interface javax.swing.Action |
ACCELERATOR_KEY, ACTION_COMMAND_KEY, DEFAULT, LONG_DESCRIPTION, MNEMONIC_KEY, NAME, SHORT_DESCRIPTION, SMALL_ICON |
Methods inherited from class javax.swing.text.TextAction |
augmentList |
Methods inherited from class javax.swing.AbstractAction |
addPropertyChangeListener, getKeys, getPropertyChangeListeners, isEnabled, putValue, removePropertyChangeListener, setEnabled |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HRuleAction
public HRuleAction()
- Creates a
HRuleAction
getValue
public java.lang.Object getValue(java.lang.String key)
-
- Specified by:
getValue
in interface javax.swing.Action
- Overrides:
getValue
in class javax.swing.AbstractAction
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent e)
-