📄 ibeanattributes.java
字号:
package com.swtdesigner.api.beans;
/**
* Various constants for BeanDescriptor/PropertyDescriptor's.
*
* @author scheglov_ke
*/
public interface IBeanAttributes {
/**
* Common prefix for all SWT/Swing Designer attributes.
*/
String DESIGNER_PREFIX = "com.swtdesigner.";
////////////////////////////////////////////////////////////////////////////
//
// Property attributes
//
////////////////////////////////////////////////////////////////////////////
/**
* Common prefix for all property-related attributes.
*/
String PROPERTY_PREFIX = DESIGNER_PREFIX + "property.";
//
/**
* Attribute for PropertyDescriptor that marks it as important (displayed on top of
* property table and with bold font). Should be Boolean.TRUE or Boolean.FALSE.
*/
String IMPORTANT_PROPERTY = PROPERTY_PREFIX + "important";
/**
* Attribute for BeanDescriptor that contains array of important properties names.
* Should be String[].
*/
String IMPORTANT_PROPERTIES = PROPERTY_PREFIX + "important.names";
//
/**
* Attribute for PropertyDescriptor that marks it as required (displayed as important,
* but also shown red in property table and components tree if not set).
* Should be Boolean.TRUE or Boolean.FALSE.
*/
String REQUIRED_PROPERTY = PROPERTY_PREFIX + "required";
/**
* Attribute for BeanDescriptor that contains array of required properties names.
* Should be String[].
*/
String REQUIRED_PROPERTIES = PROPERTY_PREFIX + "required.names";
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -