|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpnuts.tools.VisualDebuggerView
public class VisualDebuggerView
Field Summary | |
---|---|
static java.lang.String |
actionSuffix
|
static java.lang.String |
clearAction
|
static java.lang.String |
closeAction
|
static java.lang.String |
contAction
|
static java.lang.String |
imageSuffix
|
static java.lang.String |
inspectAction
|
static java.lang.String |
labelSuffix
|
protected VisualDebuggerModel |
model
|
static java.lang.String |
nextAction
|
static java.lang.String |
openAction
|
static java.lang.String |
shortcutSuffix
|
static java.lang.String |
stepAction
|
static java.lang.String |
stepUpAction
|
static java.lang.String |
tipSuffix
|
Constructor Summary | |
---|---|
VisualDebuggerView()
|
|
VisualDebuggerView(java.util.ResourceBundle resourceBundle)
|
Method Summary | |
---|---|
protected javax.swing.JMenu |
createMenu(java.lang.String key)
Create a menu for the app. |
protected javax.swing.JMenuBar |
createMenubar()
Create the menubar for the app. |
protected javax.swing.JMenuItem |
createMenuItem(java.lang.String cmd)
Create a menu item for the specified command |
protected javax.swing.JTextArea |
createTextArea()
Create an editor to represent the given document. |
protected javax.swing.JButton |
createToolbarButton(java.lang.String key)
Create a button to go inside of the toolbar. |
void |
exitGUI()
|
protected javax.swing.JFrame |
getJFrame()
Returns a JFrame The default behavior of this method creates and returns a JFrame object. |
VisualDebuggerModel |
getModel()
|
protected java.net.URL |
getResource(java.lang.String key)
|
protected java.lang.String |
getResourceString(java.lang.String nm)
|
protected java.lang.String |
getTitleString(java.lang.Object source)
Returns the title string Subclasses may override this method to customize the window title. |
void |
open(java.lang.String filename)
Opens a local file in a window |
void |
startGUI()
|
void |
update(java.lang.Object source,
int beginLine,
SimpleNode node,
Context c)
Updates the view |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String imageSuffix
public static final java.lang.String labelSuffix
public static final java.lang.String actionSuffix
public static final java.lang.String tipSuffix
public static final java.lang.String shortcutSuffix
public static final java.lang.String openAction
public static final java.lang.String stepAction
public static final java.lang.String stepUpAction
public static final java.lang.String nextAction
public static final java.lang.String contAction
public static final java.lang.String closeAction
public static final java.lang.String inspectAction
public static final java.lang.String clearAction
protected VisualDebuggerModel model
Constructor Detail |
---|
public VisualDebuggerView()
public VisualDebuggerView(java.util.ResourceBundle resourceBundle)
Method Detail |
---|
public VisualDebuggerModel getModel()
protected javax.swing.JFrame getJFrame()
public void startGUI()
public void exitGUI()
protected java.lang.String getTitleString(java.lang.Object source)
source
- the script source
public void update(java.lang.Object source, int beginLine, SimpleNode node, Context c)
public void open(java.lang.String filename)
filename
- the file nameprotected javax.swing.JButton createToolbarButton(java.lang.String key)
key
- The key in the resource file to serve as the basis of lookups.protected javax.swing.JMenuBar createMenubar()
protected javax.swing.JMenu createMenu(java.lang.String key)
key
- name of a menu groupprotected javax.swing.JMenuItem createMenuItem(java.lang.String cmd)
cmd
- the command name
protected java.lang.String getResourceString(java.lang.String nm)
protected java.net.URL getResource(java.lang.String key)
protected javax.swing.JTextArea createTextArea()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |