예제 #1
0
 public Register(RegisterTable outerInstance, string name)
 {
     this.outerInstance = outerInstance;
     this.name          = name;
     value   = 0;
     changed = false;
     outerInstance.highlights = new Dictionary <string, Color>();
 }
예제 #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;
            }
예제 #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]));
                }
            }
예제 #4
0
 public RegisterValueRenderer(RegisterTable outerInstance) : base()
 {
     this.outerInstance = outerInstance;
     Font       = tableFont;
     BackgRound = selectionBackgRound;
 }