Package com.cburch.logisim.gui.hex

Examples of com.cburch.logisim.gui.hex.HexFrame


    listenerRegistry.put(value, l);
  }
 
  static HexFrame getHexFrame(MemContents value, Project proj) {
    synchronized(windowRegistry) {
      HexFrame ret = windowRegistry.get(value);
      if (ret == null) {
        ret = new HexFrame(proj, value);
        windowRegistry.put(value, ret);
      }
      return ret;
    }
  }
View Full Code Here


    }

    public void mouseClicked(MouseEvent e) {
      if (contents == null) return;
      Project proj = source instanceof Frame ? ((Frame) source).getProject() : null;
      HexFrame frame = RomAttributes.getHexFrame(contents, proj);
      frame.setVisible(true);
      frame.toFront();
    }
View Full Code Here

    }
   
    // Retrieves a HexFrame for editing within a separate window
    public HexFrame getHexFrame(Project proj) {
      if (hexFrame == null) {
        hexFrame = new HexFrame(proj, getContents());
        hexFrame.addWindowListener(new WindowAdapter() {
          @Override
          public void windowClosed(WindowEvent e) {
            hexFrame = null;
          }
View Full Code Here

  }

  private void doEdit() {
    MemState s = factory.getState(instance, circState);
    if (s == null) return;
    HexFrame frame = factory.getHexFrame(proj, instance, circState);
    frame.setVisible(true);
    frame.toFront();
  }
View Full Code Here

        listenerRegistry.put(value, l);
    }

    static HexFrame getHexFrame(MemContents value, Project proj) {
        synchronized(windowRegistry) {
            HexFrame ret = windowRegistry.get(value);
            if (ret == null) {
                ret = new HexFrame(proj, value);
                windowRegistry.put(value, ret);
            }
            return ret;
        }
    }
View Full Code Here

            if (contents == null) {
                return;
            }

            Project proj = source instanceof Frame ? ((Frame) source).getProject() : null;
            HexFrame frame = RomAttributes.getHexFrame(contents, proj);
            frame.setVisible(true);
            frame.toFront();
        }
View Full Code Here

        MemState s = factory.getState(instance, circState);
        if (s == null) {
            return;
        }

        HexFrame frame = factory.getHexFrame(proj, instance, circState);
        frame.setVisible(true);
        frame.toFront();
    }
View Full Code Here

        }

        // Retrieves a HexFrame for editing within a separate window
        public HexFrame getHexFrame(Project proj) {
            if (hexFrame == null) {
                hexFrame = new HexFrame(proj, getContents());
                hexFrame.addWindowListener(new WindowAdapter() {
                    @Override
                    public void windowClosed(WindowEvent e) {
                        hexFrame = null;
                    }
View Full Code Here

TOP

Related Classes of com.cburch.logisim.gui.hex.HexFrame

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.