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: /**
019: * @author Vadim L. Bogdanov, Anton Avtamonov
020: * @version $Revision$
021: */package org.apache.harmony.x.swing;
022:
023: /**
024: * This interface contains string constants used in Swing implementation.
025: * Usually representing constants are names of the bound properties which are referenced
026: * from the multiple locations.
027: *
028: * These constants must be kept unlocalized.
029: *
030: */
031: public interface StringConstants {
032: String ENABLED_PROPERTY_CHANGED = "enabled";
033: String FONT_PROPERTY_CHANGED = "font";
034: String TOOLTIP_PROPERTY_CHANGED = "ToolTipText";
035: String EDITABLE_PROPERTY_CHANGED = "editable";
036: String MODEL_PROPERTY_CHANGED = "model";
037: String SELECTION_MODEL_PROPERTY = "selectionModel";
038: String RENDERER_PROPERTY_CHANGED = "renderer";
039: String EDITOR_PROPERTY_CHANGED = "editor";
040: String ACTION_PROPERTY_CHANGED = "action";
041: String BACKGROUND_PROPERTY_CHANGED = "background";
042: String FOREGROUND_PROPERTY_CHANGED = "foreground";
043: String MNEMONIC_INDEX_PROPERTY_CHANGED = "displayedMnemonicIndex";
044: String BORDER_PROPERTY_CHANGED = "border";
045: String ICON_TEXT_GAP_PROPERTY_CHANGED = "iconTextGap";
046: String ANCESTOR_PROPERTY_NAME = "ancestor";
047: String LABEL_PROPERTY_CHANGED = "label";
048: String VISIBLE_PROPERTY_CHANGED = "visible";
049: String DEFAULT_CAPABLE_PROPERTY_CHANGED = "defaultCapable";
050: String TRANSFER_HANDLER_PROPERTY_NAME = "transferHandler";
051: String HIDE_ON_INVOKER_PRESSED_PROPERTY = "HideOnInvokerPressed";
052:
053: String BUTTON_PRESSED_ACTION = "pressed";
054: String BUTTON_RELEASED_ACTION = "released";
055: String CLOSE_ACTION = "close";
056: String MNEMONIC_ACTION = "mnemonic";
057:
058: String UI_PROPERTY = "UI";
059:
060: String BIDI_PROPERTY = "i18n";
061:
062: String VERTICAL_SCROLLBAR_PROPERTY = "verticalScrollBar";
063: String HORIZONTAL_SCROLLBAR_PROPERTY = "horizontalScrollBar";
064: String VERTICAL_SCROLLBAR_POLICY_PROPERTY = "verticalScrollBarPolicy";
065: String HORIZONTAL_SCROLLBAR_POLICY_PROPERTY = "horizontalScrollBarPolicy";
066: String COLUMN_HEADER_PROPERTY = "columnHeader";
067: String ROW_HEADER_PROPERTY = "rowHeader";
068: String VIEWPORT_PROPERTY = "viewport";
069: String COMPONENT_ORIENTATION = "componentOrientation";
070: String OPAQUE_PROPERTY = "opaque";
071: String IS_TABLE_EDITOR = "isTableEditor";
072:
073: String INTERNAL_FRAME_ICONABLE_PROPERTY = "iconable";
074: String INTERNAL_FRAME_MAXIMIZABLE_PROPERTY = "maximizable";
075: String INTERNAL_FRAME_CLOSABLE_PROPERTY = "closable";
076: String INTERNAL_FRAME_RESIZABLE_PROPERTY = "resizable";
077:
078: String TEXT_COMPONENT_DOCUMENT_PROPERTY = "document";
079: String TEXT_COMPONENT_LINE_WRAP_PROPERTY = "lineWrap";
080: String TEXT_COMPONENT_WRAP_STYLE_WORD_PROPERTY = "wrapStyleWord";
081: String TEXT_COMPONENT_CARET_COLOR_PROPERTY = "caretColor";
082: String TEXT_COMPONENT_SELECTION_COLOR_PROPERTY = "selectionColor";
083: String TEXT_COMPONENT_HIGHLIGHTER_PROPERTY = "highlighter";
084: String TEXT_COMPONENT_DISABLED_TEXT_COLOR = "disabledTextColor";
085: String TEXT_COMPONENT_SELECTED_TEXT_COLOR = "selectedTextColor";
086: String TEXT_COMPONENT_MARGIN_PROPERTY = "margin";
087: String TEXT_COMPONENR_KEYMAP_PROPERTY = "keymap";
088: String TEXT_COMPONENT_NAV_FILTER_NAME = "navigationFilter";
089: String IGNORE_CHARSET_DIRECTIVE = "IgnoreCharsetDirective";
090:
091: String EDITOR_PANE_EDITOR_KIT_PROPERTY = "editorKit";
092:
093: String PASSWORD_FIELD_ECHO_CHAR_PROPERTY = "echoChar";
094:
095: String ACCELERATOR_PROPERTY = "accelerator";
096:
097: String ICON_IMAGE_PROPERTY = "iconImage";
098:
099: String PROGRESS_STRING_PAINTED_PROPERTY = "stringPainted";
100: String ORIENTATION = "orientation";
101: String INDETERMINATE_PROPERTY = "indeterminate";
102:
103: String VALUE_PROPERTY_NAME = "value";
104:
105: String EXTENDED_SUPPORT_ENABLED_PROPERTY = "extendedSupportEnabled";
106:
107: String LIGHTWEIGHT_POPUP_ENABLED_PROPERTY_CHANGED = "lightWeightPopupEnabled";
108: }
|