ibeanattributes.java

来自「SWT_designer安装软件」· Java 代码 · 共 46 行

JAVA
46
字号
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 + =
减小字号Ctrl + -
显示快捷键?