📄 compierecolorbeaninfo.java
字号:
package org.compiere.plaf;
import java.beans.*;
/**
* Generated
* @version $Id: CompiereColorBeanInfo.java,v 1.2 2002/01/21 22:59:24 jjanke Exp $
*/
public class CompiereColorBeanInfo extends SimpleBeanInfo
{
private Class beanClass = CompiereColor.class;
private String iconColor16x16Filename;
private String iconColor32x32Filename;
private String iconMono16x16Filename;
private String iconMono32x32Filename;
public CompiereColorBeanInfo()
{
}
public PropertyDescriptor[] getPropertyDescriptors()
{
try
{
PropertyDescriptor _flat = new PropertyDescriptor("flat", beanClass, "isFlat", null);
PropertyDescriptor _flatColor = new PropertyDescriptor("flatColor", beanClass, "getFlatColor", "setFlatColor");
PropertyDescriptor _gradient = new PropertyDescriptor("gradient", beanClass, "isGradient", null);
PropertyDescriptor _gradientLowerColor = new PropertyDescriptor("gradientLowerColor", beanClass, "getGradientLowerColor", "setGradientLowerColor");
PropertyDescriptor _gradientRepeatDistance = new PropertyDescriptor("gradientRepeatDistance", beanClass, "getGradientRepeatDistance", "setGradientRepeatDistance");
PropertyDescriptor _gradientStartPoint = new PropertyDescriptor("gradientStartPoint", beanClass, "getGradientStartPoint", "setGradientStartPoint");
PropertyDescriptor _gradientUpperColor = new PropertyDescriptor("gradientUpperColor", beanClass, "getGradientUpperColor", "setGradientUpperColor");
PropertyDescriptor _line = new PropertyDescriptor("line", beanClass, "isLine", null);
PropertyDescriptor _lineBackColor = new PropertyDescriptor("lineBackColor", beanClass, "getLineBackColor", "setLineBackColor");
PropertyDescriptor _lineColor = new PropertyDescriptor("lineColor", beanClass, "getLineColor", "setLineColor");
PropertyDescriptor _lineDistance = new PropertyDescriptor("lineDistance", beanClass, "getLineDistance", "setLineDistance");
PropertyDescriptor _lineWidth = new PropertyDescriptor("lineWidth", beanClass, "getLineWidth", "setLineWidth");
PropertyDescriptor _texture = new PropertyDescriptor("texture", beanClass, "isTexture", null);
PropertyDescriptor _textureCompositeAlpha = new PropertyDescriptor("textureCompositeAlpha", beanClass, "getTextureCompositeAlpha", "setTextureCompositeAlpha");
PropertyDescriptor _textureImage = new PropertyDescriptor("textureImage", beanClass, "getTextureImage", null);
PropertyDescriptor _textureTaintColor = new PropertyDescriptor("textureTaintColor", beanClass, "getTextureTaintColor", "setTextureTaintColor");
PropertyDescriptor _textureURL = new PropertyDescriptor("textureURL", beanClass, "getTextureURL", "setTextureURL");
PropertyDescriptor _type = new PropertyDescriptor("type", beanClass, "getType", null);
PropertyDescriptor[] pds = new PropertyDescriptor[] {
_flat,
_flatColor,
_gradient,
_gradientLowerColor,
_gradientRepeatDistance,
_gradientStartPoint,
_gradientUpperColor,
_line,
_lineBackColor,
_lineColor,
_lineDistance,
_lineWidth,
_texture,
_textureCompositeAlpha,
_textureImage,
_textureTaintColor,
_textureURL,
_type};
return pds;
}
catch(IntrospectionException ex)
{
ex.printStackTrace();
return null;
}
}
public java.awt.Image getIcon(int iconKind)
{
switch (iconKind) {
case BeanInfo.ICON_COLOR_16x16:
return iconColor16x16Filename != null ? loadImage(iconColor16x16Filename) : null;
case BeanInfo.ICON_COLOR_32x32:
return iconColor32x32Filename != null ? loadImage(iconColor32x32Filename) : null;
case BeanInfo.ICON_MONO_16x16:
return iconMono16x16Filename != null ? loadImage(iconMono16x16Filename) : null;
case BeanInfo.ICON_MONO_32x32:
return iconMono32x32Filename != null ? loadImage(iconMono32x32Filename) : null;
}
return null;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -