Ejemplo n.º 1
0
 public Register(RegisterTable outerInstance, string name)
 {
     this.outerInstance = outerInstance;
     this.name          = name;
     value   = 0;
     changed = false;
     outerInstance.highlights = new Dictionary <string, Color>();
 }
Ejemplo n.º 2
0
            public RegisterValueEditor(RegisterTable outerInstance) : base(new JTextField())
            {
                this.outerInstance = outerInstance;
//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'sealed override':
//ORIGINAL LINE: sealed override javax.swing.JTextField tf = ((javax.swing.JTextField) getComponent());
                JTextField tf = ((JTextField)Component);

                tf.Font = tableFont;
            }
Ejemplo n.º 3
0
            public RegisterTableModel(RegisterTable outerInstance, string[] regnames) : base()
            {
                this.outerInstance = outerInstance;

                reginfo = new LinkedList <Register>();
                for (int i = 0; i < regnames.Length; i++)
                {
                    reginfo.Add(new Register(outerInstance, regnames[i]));
                }
            }
Ejemplo n.º 4
0
 public RegisterValueRenderer(RegisterTable outerInstance) : base()
 {
     this.outerInstance = outerInstance;
     Font       = tableFont;
     BackgRound = selectionBackgRound;
 }