001: /*
002: * Licensed to the Apache Software Foundation (ASF) under one or more
003: * contributor license agreements. See the NOTICE file distributed with
004: * this work for additional information regarding copyright ownership.
005: * The ASF licenses this file to You under the Apache License, Version 2.0
006: * (the "License"); you may not use this file except in compliance with
007: * the License. You may obtain a copy of the License at
008: *
009: * http://www.apache.org/licenses/LICENSE-2.0
010: *
011: * Unless required by applicable law or agreed to in writing, software
012: * distributed under the License is distributed on an "AS IS" BASIS,
013: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
014: * See the License for the specific language governing permissions and
015: * limitations under the License.
016: */
017: /**
018: * @author Evgeniya G. Maenkova
019: * @version $Revision$
020: */package org.apache.harmony.awt.text;
021:
022: /**
023: *
024: * Containts names of text actions.
025: */
026: public interface ActionNames {
027: String backwardAction = "caret-backward"; //$NON-NLS-1$
028:
029: String beepAction = "beep"; //$NON-NLS-1$
030:
031: String beginAction = "caret-begin"; //$NON-NLS-1$
032:
033: String beginLineAction = "caret-begin-line"; //$NON-NLS-1$
034:
035: String beginParagraphAction = "caret-begin-paragraph"; //$NON-NLS-1$
036:
037: String beginWordAction = "caret-begin-word"; //$NON-NLS-1$
038:
039: String copyAction = "copy-to-clipboard"; //$NON-NLS-1$
040:
041: String cutAction = "cut-to-clipboard"; //$NON-NLS-1$
042:
043: String defaultKeyTypedAction = "default-typed"; //$NON-NLS-1$
044:
045: String deleteNextCharAction = "delete-next"; //$NON-NLS-1$
046:
047: String deletePrevCharAction = "delete-previous"; //$NON-NLS-1$
048:
049: String downAction = "caret-down"; //$NON-NLS-1$
050:
051: String dumpModelAction = "dump-model"; //$NON-NLS-1$
052:
053: String endAction = "caret-end"; //$NON-NLS-1$
054:
055: String endLineAction = "caret-end-line"; //$NON-NLS-1$
056:
057: String endParagraphAction = "caret-end-paragraph"; //$NON-NLS-1$
058:
059: String endWordAction = "caret-end-word"; //$NON-NLS-1$
060:
061: String forwardAction = "caret-forward"; //$NON-NLS-1$
062:
063: String insertBreakAction = "insert-break"; //$NON-NLS-1$
064:
065: String insertContentAction = "insert-content"; //$NON-NLS-1$
066:
067: String insertTabAction = "insert-tab"; //$NON-NLS-1$
068:
069: String nextWordAction = "caret-next-word"; //$NON-NLS-1$
070:
071: String pageDownAction = "page-down"; //$NON-NLS-1$
072:
073: String pageUpAction = "page-up"; //$NON-NLS-1$
074:
075: String pasteAction = "paste-from-clipboard"; //$NON-NLS-1$
076:
077: String previousWordAction = "caret-previous-word"; //$NON-NLS-1$
078:
079: String readOnlyAction = "set-read-only"; //$NON-NLS-1$
080:
081: String selectAllAction = "select-all"; //$NON-NLS-1$
082:
083: String selectionBackwardAction = "selection-backward"; //$NON-NLS-1$
084:
085: String selectionBeginAction = "selection-begin"; //$NON-NLS-1$
086:
087: String selectionBeginLineAction = "selection-begin-line"; //$NON-NLS-1$
088:
089: String selectionBeginParagraphAction = "selection-begin-paragraph"; //$NON-NLS-1$
090:
091: String selectionBeginWordAction = "selection-begin-word"; //$NON-NLS-1$
092:
093: String selectionDownAction = "selection-down"; //$NON-NLS-1$
094:
095: String selectionEndAction = "selection-end"; //$NON-NLS-1$
096:
097: String selectionEndLineAction = "selection-end-line"; //$NON-NLS-1$
098:
099: String selectionEndParagraphAction = "selection-end-paragraph"; //$NON-NLS-1$
100:
101: String selectionEndWordAction = "selection-end-word"; //$NON-NLS-1$
102:
103: String selectionForwardAction = "selection-forward"; //$NON-NLS-1$
104:
105: String selectionNextWordAction = "selection-next-word"; //$NON-NLS-1$
106:
107: String selectionPageDownAction = "selection-page-down"; //$NON-NLS-1$
108:
109: String selectionPageLeftAction = "selection-page-left"; //$NON-NLS-1$
110:
111: String selectionPageRightAction = "selection-page-right"; //$NON-NLS-1$
112:
113: String selectionPageUpAction = "selection-page-up"; //$NON-NLS-1$
114:
115: String selectionPreviousWordAction = "selection-previous-word"; //$NON-NLS-1$
116:
117: String selectionUpAction = "selection-up"; //$NON-NLS-1$
118:
119: String selectLineAction = "select-line"; //$NON-NLS-1$
120:
121: String selectParagraphAction = "select-paragraph"; //$NON-NLS-1$
122:
123: String selectWordAction = "select-word"; //$NON-NLS-1$
124:
125: String toggleComponentOrientationAction = "toggle-componentOrientation"; //$NON-NLS-1$
126:
127: String unselectAction = "unselect"; //$NON-NLS-1$
128:
129: String upAction = "caret-up"; //$NON-NLS-1$
130:
131: String writableAction = "set-writable"; //$NON-NLS-1$
132:
133: int NONE = 0;
134:
135: int COPY = 1;
136:
137: int MOVE = 2;
138:
139: int COPY_OR_MOVE = 3;
140: }
|