⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 browseclass.bsh

📁 用java 编写的源码开放的文本编辑器。有很多有用的特性
💻 BSH
字号:
/**	Open the class browser to view the specified class.  	If the argument is a string it is considered to be a class name.  	If the argument is an object, the class of the object is used.  	If the arg is a class, the class is used.	<p>	Note: To browse the String class you can't supply a String.	You'd have to do:  browseClass( String.class );	<p>	@method void browseClass( String | Object | Class )*/import bsh.Name;browseClass( Object o ) {	if ( o instanceof String)		classname = o;	else if ( o instanceof Name.ClassIdentifier )		clasname = this.namespace.identifierToClass(o).getName();	else if ( o instanceof Class )		classname = o.getName();	else 		classname = o.getClass().getName();	// really need a way to unset and more poweful testing...	if ( bsh.system.desktop == void 			|| bsh.system.desktop.classbrowser == void 			|| bsh.system.desktop.classbrowser == null ) {		browser = classBrowser();	} else {		browser = bsh.system.desktop.classbrowser;		bsh.system.desktop.classbrowser.toFront();	}	browser.driveToClass( classname );}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -