Changeset 1381


Ignore:
Timestamp:
05/27/19 12:56:30 (5 years ago)
Author:
bln4
Message:

Property _tabIndex will be used to support functionality to tab between text items. Functionality incoming.

Location:
trunk/src/org/expeditee
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/gui/AttributeUtils.java

    r1379 r1381  
    324324                        _Attrib.put("SingleLineOnly",           Text.class.getMethod("isSingleLineOnly"),
    325325                                                                                                Text.class.getMethod("setSingleLineOnly", pBool));
     326                        _Attrib.put("TabIndex",                         Text.class.getMethod("getTabIndex"),
     327                                                                                                Text.class.getMethod("setTabIndex", pInt));
    326328                       
    327329                        // Aliases for attribute setting
  • trunk/src/org/expeditee/io/DefaultFrameReader.java

    r1379 r1381  
    182182                        _ItemTagsExt.put("_ph", Text.class.getMethod("setPlaceholder", pString));
    183183                        _ItemTagsExt.put("_sl", Text.class.getMethod("setSingleLineOnly", pBool));
     184                        _ItemTagsExt.put("_ti", Text.class.getMethod("setTabIndex", pInt));
    184185                } catch (Exception e) {
    185186                        e.printStackTrace();
  • trunk/src/org/expeditee/io/DefaultFrameWriter.java

    r1379 r1381  
    156156                        _ItemTagsExt.put("_ph", Text.class.getMethod("getPlaceholder"));
    157157                        _ItemTagsExt.put("_sl", Text.class.getMethod("isSingleLineOnly"));
     158                        _ItemTagsExt.put("_ti", Text.class.getMethod("getTabIndex"));
    158159                } catch (Exception e) {
    159160                        e.printStackTrace();
  • trunk/src/org/expeditee/items/Text.java

    r1379 r1381  
    156156
    157157        private int _selectionEnd = -1;
     158       
     159        private int _tabIndex = -1;
    158160
    159161        /** Keeps track of the last Text item selected. */
     
    31823184                this._singleLine = _singleLine;
    31833185        }
     3186       
     3187        public int getTabIndex() {
     3188                return this._tabIndex;
     3189        }
     3190       
     3191        public void setTabIndex(int index) {
     3192                this._tabIndex = index;
     3193        }
    31843194}
Note: See TracChangeset for help on using the changeset viewer.