📄 cmtcomponent.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 + -