📄 uicomponent.java
字号:
package org.uispec4j;
import org.uispec4j.assertion.Assertion;
import java.awt.*;
/**
* Interface for all UI (user interface) components.
*/
public interface UIComponent {
/**
* Returns the Java GUI component represented by this object.
*/
Component getAwtComponent();
/**
* Returns an XML representation of the component and its subcomponents.
*/
String getDescription();
/**
* Returns the name of the component as it will appear in the XML representation
* returned by {@link UIComponent#getDescription()}.
*/
String getDescriptionTypeName();
/**
* Checks if the component is enabled.
*/
Assertion isEnabled();
/**
* Returns the label displayed on this component, or null if this has no sense for this kind of components.
*/
String getLabel();
/**
* Returns the internal name with which can be used to identify the component. This can be null
* if no name was set by the developers.
*/
String getName();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -