Ignore:
Timestamp:
05/10/18 16:04:51 (6 years ago)
Author:
davidb
Message:

Reworking of the code-base to separate logic from graphics. This version of Expeditee now supports a JFX graphics as an alternative to SWING

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/actions/Navigation.java

    r1032 r1102  
    2121import java.util.List;
    2222
    23 import org.expeditee.gui.DisplayIO;
     23import org.expeditee.gui.DisplayController;
    2424import org.expeditee.gui.Frame;
    2525import org.expeditee.gui.FrameIO;
     
    4949         */
    5050        public static void Back() {
    51                 DisplayIO.Back();
     51                DisplayController.Back();
    5252        }
    5353
    5454        public static void Forward() {
    55                 DisplayIO.Forward();
     55                DisplayController.Forward();
    5656        }
    5757
     
    7878        public static void GotoZero() {
    7979                FrameUtils
    80                                 .DisplayFrame(DisplayIO.getCurrentFrame().getFramesetName() + 0);
     80                                .DisplayFrame(DisplayController.getCurrentFrame().getFramesetName() + 0);
    8181        }
    8282
     
    9696         */
    9797        public static void Goto(Integer value) {
    98                 FrameUtils.DisplayFrame(DisplayIO.getCurrentFrame().getFramesetName()
     98                FrameUtils.DisplayFrame(DisplayController.getCurrentFrame().getFramesetName()
    9999                                + value);
    100100        }
     
    132132         */
    133133        public static void Large() {
    134                 if (DisplayIO.isTwinFramesOn())
    135                         DisplayIO.ToggleTwinFrames();
     134                if (DisplayController.isTwinFramesOn())
     135                        DisplayController.toggleTwinFrames();
    136136        }
    137137
     
    188188
    189189        public static void NextChild(Frame source) {
    190                 String back = DisplayIO.peekFromBackUpStack();
     190                String back = DisplayController.peekFromBackUpStack();
    191191                // if there is no parent frame (i.e. the user is on the home frame) //
    192192                if (back == null) { // No frame was on the Backup stack
     
    259259        // better to say more explicitly/directly what the mode is!!!!
    260260        public static void Small() {
    261                 if (!DisplayIO.isTwinFramesOn())
    262                         DisplayIO.ToggleTwinFrames();
     261                if (!DisplayController.isTwinFramesOn())
     262                        DisplayController.toggleTwinFrames();
    263263        }
    264264
Note: See TracChangeset for help on using the changeset viewer.