Package Hack.Controller

Examples of Hack.Controller.Breakpoint


    /**
     * Implementing the action of pressing the ok button.
     */
    public void okButton_actionPerformed(ActionEvent e) {
        breakpoint = new Breakpoint(nameTxt.getText(),valueTxt.getText());
        setVisible(false);
        notifyListeners();
    }
View Full Code Here


    /**
     * Called when there was a change in one of the breakpoints.
     * The event contains the changed breakpoint.
     */
    public void breakpointChanged(BreakpointChangedEvent event) {
        Breakpoint p = event.getBreakpoint();
        if(selectedRowIndex == -1)
            breakpoints.addElement(p);
        else
            breakpoints.setElementAt(p,selectedRowIndex);
        breakpointTable.revalidate();
View Full Code Here

        /**
         * Returns the value at a specific row and column.
         */
        public Object getValueAt(int row, int col) {
            Breakpoint breakpoint = (Breakpoint)breakpoints.elementAt(row);

            if(col==0)
                return breakpoint.getVarName();
            else
                return breakpoint.getValue();
        }
View Full Code Here

TOP

Related Classes of Hack.Controller.Breakpoint

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.