Changeset 730


Ignore:
Timestamp:
01/21/14 14:12:16 (10 years ago)
Author:
bln4
Message:

Additions made:
The ability to register an action on TDFC. default: No additional actions are taken.
The abiility to provide a title. default: With no title set whenever expeditee sets its title it will prepend a empty string. set: it will prepend what you want you set the title too.
An additional 'getter' type method for XGroupItem that takes a y-coord and gives the span that covers that position.

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

Legend:

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

    r655 r730  
    577577                        title.append(" [").append(SessionStats.getShortStats()).append(']');
    578578
    579                 _Browser.setTitle(title.toString());
     579                _Browser.setTitle(DisplayIO.title + " ~~~ " + title.toString());
     580        }
     581       
     582        private static String title = "";
     583        public static void setTitle(String str) {
     584            title = str;
    580585        }
    581586
  • trunk/src/org/expeditee/gui/FrameMouseActions.java

    r682 r730  
    18191819
    18201820        private static boolean _shiftDown;
     1821       
     1822        private static OnNewFrameAction _onFrameAction = null;
     1823       
     1824        public static void setTDFCAction(OnNewFrameAction action) {
     1825            _onFrameAction = action;
     1826        }
    18211827
    18221828        public static boolean isControlDown() {
  • trunk/src/org/expeditee/io/flowlayout/XGroupItem.java

    r717 r730  
    173173        }
    174174       
     175        public YOverlappingItemsSpan getSpanItemAt(int index) {
     176            return yitems_span_array[index];
     177        }
     178       
    175179        public void setOutOfFlow(FlowType flow_type)
    176180        {
Note: See TracChangeset for help on using the changeset viewer.