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

📄 cmtcomponent.java

📁 SWT_designer安装软件
💻 JAVA
字号:
package com.swtdesigner.api.cmt;

import java.util.List;

/**
 * An interface for providing information about this class including class type,
 * properties, events, etc.
 * 
 * @author scheglov_ke
 */
public interface CmtComponent {
	/**
	 * Returns the name of the variable.
	 */
	String getName();
	/**
	 *  Get the live Instance of the subcomponent.
	 */
	Object getLiveInstance();
	/**
	 * Get the parent of this component or <code>null</code>, if current component is root.
	 */
	CmtComponent getParent();
	/**
	 * Get the root component of this component (parent of this component is <code>null</code>).
	 */
	CmtComponent getRoot();
	/**
	 * Get list of direct children with given class.
	 * 
	 * @param componentClazz the class of children to return
	 */
	List/*<ComComponent>*/ getChildren(Class componentClazz);
	/**
	 * Get flat list of direct and indirect children with given class.
	 * 
	 * @param componentClazz the class of children to return
	 */
	List/*<ComComponent>*/ getAllChildren(Class componentClazz);
}

⌨️ 快捷键说明

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