📄 colorselectorbeaninfo.java
字号:
} catch (java.lang.Throwable exception) {
/* Since getMethod failed, call findMethod. */
handleException(exception);
aMethod = findMethod((java.beans.PropertyChangeListener.class), "propertyChange", 1);
};
try {
/* Try creating the method descriptor with parameter descriptors. */
java.beans.ParameterDescriptor aParameterDescriptor1 = new java.beans.ParameterDescriptor();
aParameterDescriptor1.setName("arg1");
aParameterDescriptor1.setDisplayName("evt");
java.beans.ParameterDescriptor aParameterDescriptors[] = {
aParameterDescriptor1
};
aDescriptor = new java.beans.MethodDescriptor(aMethod, aParameterDescriptors);
} catch (java.lang.Throwable exception) {
/* Try creating the method descriptor without parameter descriptors. */
handleException(exception);
aDescriptor = new java.beans.MethodDescriptor(aMethod);
};
aDescriptor.setDisplayName("propertyChange(java.beans.PropertyChangeEvent)");
aDescriptor.setShortDescription("propertyChange(java.beans.PropertyChangeEvent)");
/* aDescriptor.setExpert(false); */
/* aDescriptor.setHidden(false); */
} catch (java.lang.Throwable exception) {
handleException(exception);
};
return aDescriptor;
}
/**
* Gets the removePropertyChangeListener(java.beans.PropertyChangeListener) method descriptor.
* @return java.beans.MethodDescriptor
*/
public java.beans.MethodDescriptor removePropertyChangeListener_javabeansPropertyChangeListenerMethodDescriptor() {
java.beans.MethodDescriptor aDescriptor = null;
try {
/* Create and return the removePropertyChangeListener(java.beans.PropertyChangeListener) method descriptor. */
java.lang.reflect.Method aMethod = null;
try {
/* Attempt to find the method using getMethod with parameter types. */
java.lang.Class aParameterTypes[] = {
java.beans.PropertyChangeListener.class
};
aMethod = getBeanClass().getMethod("removePropertyChangeListener", aParameterTypes);
} catch (java.lang.Throwable exception) {
/* Since getMethod failed, call findMethod. */
handleException(exception);
aMethod = findMethod(getBeanClass(), "removePropertyChangeListener", 1);
};
try {
/* Try creating the method descriptor with parameter descriptors. */
java.beans.ParameterDescriptor aParameterDescriptor1 = new java.beans.ParameterDescriptor();
aParameterDescriptor1.setName("arg1");
aParameterDescriptor1.setDisplayName("listener");
java.beans.ParameterDescriptor aParameterDescriptors[] = {
aParameterDescriptor1
};
aDescriptor = new java.beans.MethodDescriptor(aMethod, aParameterDescriptors);
} catch (java.lang.Throwable exception) {
/* Try creating the method descriptor without parameter descriptors. */
handleException(exception);
aDescriptor = new java.beans.MethodDescriptor(aMethod);
};
/* aDescriptor.setDisplayName("removePropertyChangeListener(java"); */
aDescriptor.setShortDescription("removePropertyChangeListener(java.beans.PropertyChangeListener)");
/* aDescriptor.setExpert(false); */
/* aDescriptor.setHidden(false); */
} catch (java.lang.Throwable exception) {
handleException(exception);
};
return aDescriptor;
}
/**
* Gets the selectedColor property descriptor.
* @return java.beans.PropertyDescriptor
*/
public java.beans.PropertyDescriptor selectedColorPropertyDescriptor() {
java.beans.PropertyDescriptor aDescriptor = null;
try {
try {
/* Using methods via getMethod is the faster way to create the selectedColor property descriptor. */
java.lang.reflect.Method aGetMethod = null;
try {
/* Attempt to find the method using getMethod with parameter types. */
java.lang.Class aGetMethodParameterTypes[] = {};
aGetMethod = getBeanClass().getMethod("getSelectedColor", aGetMethodParameterTypes);
} catch (java.lang.Throwable exception) {
/* Since getMethod failed, call findMethod. */
handleException(exception);
aGetMethod = findMethod(getBeanClass(), "getSelectedColor", 0);
};
java.lang.reflect.Method aSetMethod = null;
try {
/* Attempt to find the method using getMethod with parameter types. */
java.lang.Class aSetMethodParameterTypes[] = {
java.awt.Color.class
};
aSetMethod = getBeanClass().getMethod("setSelectedColor", aSetMethodParameterTypes);
} catch (java.lang.Throwable exception) {
/* Since getMethod failed, call findMethod. */
handleException(exception);
aSetMethod = findMethod(getBeanClass(), "setSelectedColor", 1);
};
aDescriptor = new java.beans.PropertyDescriptor("selectedColor"
, aGetMethod, aSetMethod);
} catch (java.lang.Throwable exception) {
/* Since we failed using methods, try creating a default property descriptor. */
handleException(exception);
aDescriptor = new java.beans.PropertyDescriptor("selectedColor"
, getBeanClass());
};
aDescriptor.setBound(true);
/* aDescriptor.setConstrained(false); */
aDescriptor.setDisplayName("selected color");
aDescriptor.setShortDescription("The color that the user selected");
/* aDescriptor.setExpert(false); */
/* aDescriptor.setHidden(false); */
} catch (java.lang.Throwable exception) {
handleException(exception);
};
return aDescriptor;
}
/**
* Gets the setAsText(java.lang.String) method descriptor.
* @return java.beans.MethodDescriptor
*/
public java.beans.MethodDescriptor setAsText_javalangStringMethodDescriptor() {
java.beans.MethodDescriptor aDescriptor = null;
try {
/* Create and return the setAsText(java.lang.String) method descriptor. */
java.lang.reflect.Method aMethod = null;
try {
/* Attempt to find the method using getMethod with parameter types. */
java.lang.Class aParameterTypes[] = {
java.lang.String.class
};
aMethod = getBeanClass().getMethod("setAsText", aParameterTypes);
} catch (java.lang.Throwable exception) {
/* Since getMethod failed, call findMethod. */
handleException(exception);
aMethod = findMethod(getBeanClass(), "setAsText", 1);
};
try {
/* Try creating the method descriptor with parameter descriptors. */
java.beans.ParameterDescriptor aParameterDescriptor1 = new java.beans.ParameterDescriptor();
aParameterDescriptor1.setName("arg1");
aParameterDescriptor1.setDisplayName("text");
java.beans.ParameterDescriptor aParameterDescriptors[] = {
aParameterDescriptor1
};
aDescriptor = new java.beans.MethodDescriptor(aMethod, aParameterDescriptors);
} catch (java.lang.Throwable exception) {
/* Try creating the method descriptor without parameter descriptors. */
handleException(exception);
aDescriptor = new java.beans.MethodDescriptor(aMethod);
};
/* aDescriptor.setDisplayName("setAsText(java"); */
aDescriptor.setShortDescription("setAsText(java.lang.String)");
/* aDescriptor.setExpert(false); */
/* aDescriptor.setHidden(false); */
} catch (java.lang.Throwable exception) {
handleException(exception);
};
return aDescriptor;
}
/**
* Gets the setValue(java.lang.Object) method descriptor.
* @return java.beans.MethodDescriptor
*/
public java.beans.MethodDescriptor setValue_javalangObjectMethodDescriptor() {
java.beans.MethodDescriptor aDescriptor = null;
try {
/* Create and return the setValue(java.lang.Object) method descriptor. */
java.lang.reflect.Method aMethod = null;
try {
/* Attempt to find the method using getMethod with parameter types. */
java.lang.Class aParameterTypes[] = {
java.lang.Object.class
};
aMethod = getBeanClass().getMethod("setValue", aParameterTypes);
} catch (java.lang.Throwable exception) {
/* Since getMethod failed, call findMethod. */
handleException(exception);
aMethod = findMethod(getBeanClass(), "setValue", 1);
};
try {
/* Try creating the method descriptor with parameter descriptors. */
java.beans.ParameterDescriptor aParameterDescriptor1 = new java.beans.ParameterDescriptor();
aParameterDescriptor1.setName("arg1");
aParameterDescriptor1.setDisplayName("value");
java.beans.ParameterDescriptor aParameterDescriptors[] = {
aParameterDescriptor1
};
aDescriptor = new java.beans.MethodDescriptor(aMethod, aParameterDescriptors);
} catch (java.lang.Throwable exception) {
/* Try creating the method descriptor without parameter descriptors. */
handleException(exception);
aDescriptor = new java.beans.MethodDescriptor(aMethod);
};
/* aDescriptor.setDisplayName("setValue(java"); */
aDescriptor.setShortDescription("setValue(java.lang.Object)");
/* aDescriptor.setExpert(false); */
/* aDescriptor.setHidden(false); */
} catch (java.lang.Throwable exception) {
handleException(exception);
};
return aDescriptor;
}
/**
* Gets the supportsCustomEditor() method descriptor.
* @return java.beans.MethodDescriptor
*/
public java.beans.MethodDescriptor supportsCustomEditorMethodDescriptor() {
java.beans.MethodDescriptor aDescriptor = null;
try {
/* Create and return the supportsCustomEditor() method descriptor. */
java.lang.reflect.Method aMethod = null;
try {
/* Attempt to find the method using getMethod with parameter types. */
java.lang.Class aParameterTypes[] = {};
aMethod = getBeanClass().getMethod("supportsCustomEditor", aParameterTypes);
} catch (java.lang.Throwable exception) {
/* Since getMethod failed, call findMethod. */
handleException(exception);
aMethod = findMethod(getBeanClass(), "supportsCustomEditor", 0);
};
try {
/* Try creating the method descriptor with parameter descriptors. */
java.beans.ParameterDescriptor aParameterDescriptors[] = {};
aDescriptor = new java.beans.MethodDescriptor(aMethod, aParameterDescriptors);
} catch (java.lang.Throwable exception) {
/* Try creating the method descriptor without parameter descriptors. */
handleException(exception);
aDescriptor = new java.beans.MethodDescriptor(aMethod);
};
/* aDescriptor.setDisplayName("supportsCustomEditor()"); */
/* aDescriptor.setShortDescription("supportsCustomEditor()"); */
/* aDescriptor.setExpert(false); */
/* aDescriptor.setHidden(false); */
} catch (java.lang.Throwable exception) {
handleException(exception);
};
return aDescriptor;
}
/**
* Gets the tags property descriptor.
* @return java.beans.PropertyDescriptor
*/
public java.beans.PropertyDescriptor tagsPropertyDescriptor() {
java.beans.PropertyDescriptor aDescriptor = null;
try {
try {
/* Using methods via getMethod is the faster way to create the tags property descriptor. */
java.lang.reflect.Method aGetMethod = null;
try {
/* Attempt to find the method using getMethod with parameter types. */
java.lang.Class aGetMethodParameterTypes[] = {};
aGetMethod = getBeanClass().getMethod("getTags", aGetMethodParameterTypes);
} catch (java.lang.Throwable exception) {
/* Since getMethod failed, call findMethod. */
handleException(exception);
aGetMethod = findMethod(getBeanClass(), "getTags", 0);
};
java.lang.reflect.Method aSetMethod = null;
aDescriptor = new java.beans.PropertyDescriptor("tags"
, aGetMethod, aSetMethod);
} catch (java.lang.Throwable exception) {
/* Since we failed using methods, try creating a default property descriptor. */
handleException(exception);
aDescriptor = new java.beans.PropertyDescriptor("tags"
, getBeanClass());
};
aDescriptor.setBound(true);
/* aDescriptor.setConstrained(false); */
/* aDescriptor.setDisplayName("tags"); */
/* aDescriptor.setShortDescription("tags"); */
/* aDescriptor.setExpert(false); */
/* aDescriptor.setHidden(false); */
} catch (java.lang.Throwable exception) {
handleException(exception);
};
return aDescriptor;
}
/**
* Gets the value property descriptor.
* @return java.beans.PropertyDescriptor
*/
public java.beans.PropertyDescriptor valuePropertyDescriptor() {
java.beans.PropertyDescriptor aDescriptor = null;
try {
try {
/* Using methods via getMethod is the faster way to create the value property descriptor. */
java.lang.reflect.Method aGetMethod = null;
try {
/* Attempt to find the method using getMethod with parameter types. */
java.lang.Class aGetMethodParameterTypes[] = {};
aGetMethod = getBeanClass().getMethod("getValue", aGetMethodParameterTypes);
} catch (java.lang.Throwable exception) {
/* Since getMethod failed, call findMethod. */
handleException(exception);
aGetMethod = findMethod(getBeanClass(), "getValue", 0);
};
java.lang.reflect.Method aSetMethod = null;
try {
/* Attempt to find the method using getMethod with parameter types. */
java.lang.Class aSetMethodParameterTypes[] = {
java.lang.Object.class
};
aSetMethod = getBeanClass().getMethod("setValue", aSetMethodParameterTypes);
} catch (java.lang.Throwable exception) {
/* Since getMethod failed, call findMethod. */
handleException(exception);
aSetMethod = findMethod(getBeanClass(), "setValue", 1);
};
aDescriptor = new java.beans.PropertyDescriptor("value"
, aGetMethod, aSetMethod);
} catch (java.lang.Throwable exception) {
/* Since we failed using methods, try creating a default property descriptor. */
handleException(exception);
aDescriptor = new java.beans.PropertyDescriptor("value"
, getBeanClass());
};
aDescriptor.setBound(true);
/* aDescriptor.setConstrained(false); */
/* aDescriptor.setDisplayName("value"); */
/* aDescriptor.setShortDescription("value"); */
/* aDescriptor.setExpert(false); */
/* aDescriptor.setHidden(false); */
} catch (java.lang.Throwable exception) {
handleException(exception);
};
return aDescriptor;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -