Package net.sf.rej.gui.hexeditor

Examples of net.sf.rej.gui.hexeditor.ByteArrayDataProvider


      // TODO: update the hex panel instead of creating a new one
      if (this.hexEditor != null) {
        this.remove(this.hexEditor);
      }
      final byte[] data = this.cf.getData();
      ByteArrayDataProvider badp = new ByteArrayDataProvider(data);
      this.hexEditor = new HexEditorPanel(badp, 16, true);
      this.add(this.hexEditor, BorderLayout.CENTER);
      this.validate();
    }
  }
View Full Code Here


      // TODO: update the hex panel instead of creating a new one
      if (this.hexEditor != null) {
        this.remove(this.hexEditor);
      }
      this.data = this.cf.getData();
      ByteArrayDataProvider badp = new ByteArrayDataProvider(this.data) {
        @Override
        public void set(int index, byte value) {
          // TODO: this should be made an undoable event
          super.set(index, value);
          HexEditorTab.this.modified = true;
View Full Code Here

TOP

Related Classes of net.sf.rej.gui.hexeditor.ByteArrayDataProvider

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.