Quaqua 5.4.1 2009-07-14

ch.randelshofer.quaqua
Class QuaquaEditorKit

java.lang.Object
  extended by javax.swing.text.EditorKit
      extended by javax.swing.text.DefaultEditorKit
          extended by ch.randelshofer.quaqua.QuaquaEditorKit
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class QuaquaEditorKit
extends javax.swing.text.DefaultEditorKit

The QuaquaEditorKit extends the Swing DefaultEditorKit with Mac OS X specific text editing actions.

Version:
1.0 December 1, 2004 Created.
Author:
Werner Randelshofer
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.swing.text.DefaultEditorKit
javax.swing.text.DefaultEditorKit.BeepAction, javax.swing.text.DefaultEditorKit.CopyAction, javax.swing.text.DefaultEditorKit.CutAction, javax.swing.text.DefaultEditorKit.DefaultKeyTypedAction, javax.swing.text.DefaultEditorKit.InsertBreakAction, javax.swing.text.DefaultEditorKit.InsertContentAction, javax.swing.text.DefaultEditorKit.InsertTabAction, javax.swing.text.DefaultEditorKit.PasteAction
 
Field Summary
static java.lang.String deleteNextWordAction
          Name of the action to delete the word that follows the current caret position.
static java.lang.String deletePrevWordAction
          Name of the action to delete the word that precedes the current caret position.
 
Fields inherited from class javax.swing.text.DefaultEditorKit
backwardAction, beepAction, beginAction, beginLineAction, beginParagraphAction, beginWordAction, copyAction, cutAction, defaultKeyTypedAction, deleteNextCharAction, deletePrevCharAction, downAction, endAction, endLineAction, EndOfLineStringProperty, endParagraphAction, endWordAction, forwardAction, insertBreakAction, insertContentAction, insertTabAction, nextWordAction, pageDownAction, pageUpAction, pasteAction, previousWordAction, readOnlyAction, selectAllAction, selectionBackwardAction, selectionBeginAction, selectionBeginLineAction, selectionBeginParagraphAction, selectionBeginWordAction, selectionDownAction, selectionEndAction, selectionEndLineAction, selectionEndParagraphAction, selectionEndWordAction, selectionForwardAction, selectionNextWordAction, selectionPreviousWordAction, selectionUpAction, selectLineAction, selectParagraphAction, selectWordAction, upAction, writableAction
 
Constructor Summary
QuaquaEditorKit()
          Default constructor.
 
Method Summary
 javax.swing.Action[] getActions()
          Fetches the set of commands that can be used on a text component that is using a model and view produced by this kit.
 
Methods inherited from class javax.swing.text.DefaultEditorKit
createCaret, createDefaultDocument, getContentType, getViewFactory, read, read, write, write
 
Methods inherited from class javax.swing.text.EditorKit
clone, deinstall, install
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deletePrevWordAction

public static final java.lang.String deletePrevWordAction
Name of the action to delete the word that precedes the current caret position.

See Also:
getActions(), Constant Field Values

deleteNextWordAction

public static final java.lang.String deleteNextWordAction
Name of the action to delete the word that follows the current caret position.

See Also:
getActions(), Constant Field Values
Constructor Detail

QuaquaEditorKit

public QuaquaEditorKit()
Default constructor.

Method Detail

getActions

public javax.swing.Action[] getActions()
Fetches the set of commands that can be used on a text component that is using a model and view produced by this kit.

Overrides:
getActions in class javax.swing.text.DefaultEditorKit
Returns:
the command list

Copyright 2003-2007 (c) Werner Randelshofer.
All rights reserved.