| |
|
| bluej.editor.moe.GoToLineDialog
GoToLineDialog | public class GoToLineDialog extends EscapeDialog implements ActionListener(Code) | | Dialog for user to input a line number to traverse source file in editor
author: Bruce Quig |
INVALID_NUMBER | final static int INVALID_NUMBER(Code) | | |
notInRangeMessage | final static String notInRangeMessage(Code) | | |
notNumericMessage | final static String notNumericMessage(Code) | | |
GoToLineDialog | public GoToLineDialog(Frame owner)(Code) | | Creates a new GoToLineDialog object.
|
actionPerformed | public void actionPerformed(ActionEvent evt)(Code) | | A button was pressed. Find out which one and do the appropriate thing.
|
getLineNumber | public int getLineNumber()(Code) | | Returns the lineNumber.
the line number entered, returns -1 if input is invalid |
showDialog | public void showDialog(int range)(Code) | | Make the dialod visible.
Parameters: range - the number of lines of source code in source file |
|
|
|