Download BeanShell User's Manual
Transcript
Table of Contents • Table of Contents • Introduction ♦ Scripting vs. Application Languages ♦ Tearing Down the Barriers ♦ History ♦ Conclusion • Quick Start ♦ Download and Run BeanShell ♦ The BeanShell GUI ♦ Java Statements and Expressions ♦ Useful BeanShell Commands ♦ Scripted Methods ♦ Implementing Interfaces ♦ Scripted Objects ♦ Calling BeanShell From Your Application ♦ Conclusion • Basic Syntax ♦ Standard Java Syntax ♦ Loosely Typed Java Syntax ♦ Exception Handling ♦ Basic Scoping of Variables ♦ Variable Modifiers ♦ Convenience Syntax ♦ Auto Boxing and Unboxing ♦ Importing Classes and Packages ♦ Document Friendly Entities • Scripted Methods ♦ Scoping of Variables and Methods ♦ Scope Modifier: 'super' • Scripted Objects ♦ The 'this' reference • Scope Modifiers ♦ 'this', 'super', and 'global' ♦ Synchronized Methods Revisited • Scripting Interfaces ♦ Anonymous Inner−Class Style ♦ 'this' references as Interface Types ♦ Interface Types and Casting ♦ "Dummy" Adapters and Incomplete Interfaces ♦ Threads − Scripting Runnable ♦ Limitations • Special Variables and Values ♦ Special Members of 'this' type References ♦ Undefined Variables ♦ Setting the Command Prompt • BeanShell Commands ♦ Commands Overview • Adding BeanShell Commands ♦ Hello World ♦ Compiled Commands Table of Contents 2