Example usage for javax.swing.text TextAction augmentList

List of usage examples for javax.swing.text TextAction augmentList

Introduction

In this page you can find the example usage for javax.swing.text TextAction augmentList.

Prototype

public static final Action[] augmentList(Action[] list1, Action[] list2) 

Source Link

Document

Takes one list of commands and augments it with another list of commands.

Usage

From source file:org.docx4all.swing.text.WordMLEditorKit.java

/**
 * Fetches the command list for the editor. This is the list of commands
 * supported by the superclass augmented by the collection of commands
 * defined locally for style operations.
 * //from  w ww . j a v a 2s.co m
 * @return the command list
 */
@Override
public Action[] getActions() {
    return TextAction.augmentList(super.getActions(), WordMLEditorKit.defaultActions);
}