📄 tabpanelbeaninfo.java
字号:
aDescriptor = new java.beans.MethodDescriptor(aMethod, aParameterDescriptors);
} catch (Throwable exception) {
/* Try creating the method descriptor without parameter descriptors. */
handleException(exception);
aDescriptor = new java.beans.MethodDescriptor(aMethod);
};
/* aDescriptor.setDisplayName("previous()"); */
/* aDescriptor.setShortDescription("previous()"); */
/* aDescriptor.setExpert(false); */
/* aDescriptor.setHidden(false); */
} catch (Throwable exception) {
handleException(exception);
};
return aDescriptor;
}
/**
* Gets the remove(int) method descriptor.
* @return java.beans.MethodDescriptor
*/
public java.beans.MethodDescriptor remove_intMethodDescriptor() {
java.beans.MethodDescriptor aDescriptor = null;
try {
/* Create and return the remove(int) method descriptor. */
java.lang.reflect.Method aMethod = null;
try {
/* Attempt to find the method using getMethod with parameter types. */
java.lang.Class aParameterTypes[] = {
int.class
};
aMethod = getBeanClass().getMethod("remove", aParameterTypes);
} catch (Throwable exception) {
/* Since getMethod failed, call findMethod. */
handleException(exception);
aMethod = findMethod(getBeanClass(), "remove", 1);
};
try {
/* Try creating the method descriptor with parameter descriptors. */
java.beans.ParameterDescriptor aParameterDescriptor1 = new java.beans.ParameterDescriptor();
aParameterDescriptor1.setName("arg1");
aParameterDescriptor1.setDisplayName("index");
java.beans.ParameterDescriptor aParameterDescriptors[] = {
aParameterDescriptor1
};
aDescriptor = new java.beans.MethodDescriptor(aMethod, aParameterDescriptors);
} catch (Throwable exception) {
/* Try creating the method descriptor without parameter descriptors. */
handleException(exception);
aDescriptor = new java.beans.MethodDescriptor(aMethod);
};
/* aDescriptor.setDisplayName("remove(int)"); */
/* aDescriptor.setShortDescription("remove(int)"); */
/* aDescriptor.setExpert(false); */
/* aDescriptor.setHidden(false); */
} catch (Throwable exception) {
handleException(exception);
};
return aDescriptor;
}
/**
* Gets the remove(java.awt.Component) method descriptor.
* @return java.beans.MethodDescriptor
*/
public java.beans.MethodDescriptor remove_javaawtComponentMethodDescriptor() {
java.beans.MethodDescriptor aDescriptor = null;
try {
/* Create and return the remove(java.awt.Component) method descriptor. */
java.lang.reflect.Method aMethod = null;
try {
/* Attempt to find the method using getMethod with parameter types. */
java.lang.Class aParameterTypes[] = {
java.awt.Component.class
};
aMethod = getBeanClass().getMethod("remove", aParameterTypes);
} catch (Throwable exception) {
/* Since getMethod failed, call findMethod. */
handleException(exception);
aMethod = findMethod(getBeanClass(), "remove", 1);
};
try {
/* Try creating the method descriptor with parameter descriptors. */
java.beans.ParameterDescriptor aParameterDescriptor1 = new java.beans.ParameterDescriptor();
aParameterDescriptor1.setName("arg1");
aParameterDescriptor1.setDisplayName("comp");
java.beans.ParameterDescriptor aParameterDescriptors[] = {
aParameterDescriptor1
};
aDescriptor = new java.beans.MethodDescriptor(aMethod, aParameterDescriptors);
} catch (Throwable exception) {
/* Try creating the method descriptor without parameter descriptors. */
handleException(exception);
aDescriptor = new java.beans.MethodDescriptor(aMethod);
};
/* aDescriptor.setDisplayName("remove(java"); */
aDescriptor.setShortDescription("remove(java.awt.Component)");
/* aDescriptor.setExpert(false); */
/* aDescriptor.setHidden(false); */
} catch (Throwable exception) {
handleException(exception);
};
return aDescriptor;
}
/**
* Gets the removeAll() method descriptor.
* @return java.beans.MethodDescriptor
*/
public java.beans.MethodDescriptor removeAllMethodDescriptor() {
java.beans.MethodDescriptor aDescriptor = null;
try {
/* Create and return the removeAll() 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("removeAll", aParameterTypes);
} catch (Throwable exception) {
/* Since getMethod failed, call findMethod. */
handleException(exception);
aMethod = findMethod(getBeanClass(), "removeAll", 0);
};
try {
/* Try creating the method descriptor with parameter descriptors. */
java.beans.ParameterDescriptor aParameterDescriptors[] = {};
aDescriptor = new java.beans.MethodDescriptor(aMethod, aParameterDescriptors);
} catch (Throwable exception) {
/* Try creating the method descriptor without parameter descriptors. */
handleException(exception);
aDescriptor = new java.beans.MethodDescriptor(aMethod);
};
/* aDescriptor.setDisplayName("removeAll()"); */
/* aDescriptor.setShortDescription("removeAll()"); */
/* aDescriptor.setExpert(false); */
/* aDescriptor.setHidden(false); */
} catch (Throwable exception) {
handleException(exception);
};
return aDescriptor;
}
/**
* Gets the removeTabSelectionListener(com.magelang.tabsplitter.TabSelectionListener) method descriptor.
* @return java.beans.MethodDescriptor
*/
public java.beans.MethodDescriptor removeTabSelectionListener_commagelangtabsplitterTabSelectionListenerMethodDescriptor() {
java.beans.MethodDescriptor aDescriptor = null;
try {
/* Create and return the removeTabSelectionListener(com.magelang.tabsplitter.TabSelectionListener) method descriptor. */
java.lang.reflect.Method aMethod = null;
try {
/* Attempt to find the method using getMethod with parameter types. */
java.lang.Class aParameterTypes[] = {
com.magelang.tabsplitter.TabSelectionListener.class
};
aMethod = getBeanClass().getMethod("removeTabSelectionListener", aParameterTypes);
} catch (Throwable exception) {
/* Since getMethod failed, call findMethod. */
handleException(exception);
aMethod = findMethod(getBeanClass(), "removeTabSelectionListener", 1);
};
try {
/* Try creating the method descriptor with parameter descriptors. */
java.beans.ParameterDescriptor aParameterDescriptor1 = new java.beans.ParameterDescriptor();
aParameterDescriptor1.setName("arg1");
aParameterDescriptor1.setDisplayName("newListener");
java.beans.ParameterDescriptor aParameterDescriptors[] = {
aParameterDescriptor1
};
aDescriptor = new java.beans.MethodDescriptor(aMethod, aParameterDescriptors);
} catch (Throwable exception) {
/* Try creating the method descriptor without parameter descriptors. */
handleException(exception);
aDescriptor = new java.beans.MethodDescriptor(aMethod);
};
/* aDescriptor.setDisplayName("removeTabSelectionListener(com"); */
aDescriptor.setShortDescription("removeTabSelectionListener(com.magelang.tabsplitter.TabSelectionListener)");
/* aDescriptor.setExpert(false); */
/* aDescriptor.setHidden(false); */
} catch (Throwable exception) {
handleException(exception);
};
return aDescriptor;
}
/**
* Gets the selectedName property descriptor.
* @return java.beans.PropertyDescriptor
*/
public java.beans.PropertyDescriptor selectedNamePropertyDescriptor() {
java.beans.PropertyDescriptor aDescriptor = null;
try {
try {
/* Using methods via getMethod is the faster way to create the selectedName 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("getSelectedName", aGetMethodParameterTypes);
} catch (Throwable exception) {
/* Since getMethod failed, call findMethod. */
handleException(exception);
aGetMethod = findMethod(getBeanClass(), "getSelectedName", 0);
};
java.lang.reflect.Method aSetMethod = null;
aDescriptor = new java.beans.PropertyDescriptor("selectedName"
, aGetMethod, aSetMethod);
} catch (Throwable exception) {
/* Since we failed using methods, try creating a default property descriptor. */
handleException(exception);
aDescriptor = new java.beans.PropertyDescriptor("selectedName"
, getBeanClass());
};
/* aDescriptor.setBound(false); */
/* aDescriptor.setConstrained(false); */
/* aDescriptor.setDisplayName("selectedName"); */
/* aDescriptor.setShortDescription("selectedName"); */
/* aDescriptor.setExpert(false); */
/* aDescriptor.setHidden(false); */
} catch (Throwable exception) {
handleException(exception);
};
return aDescriptor;
}
/**
* Gets the selectedTabNum property descriptor.
* @return java.beans.PropertyDescriptor
*/
public java.beans.PropertyDescriptor selectedTabNumPropertyDescriptor() {
java.beans.PropertyDescriptor aDescriptor = null;
try {
try {
/* Using methods via getMethod is the faster way to create the selectedTabNum 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("getSelectedTabNum", aGetMethodParameterTypes);
} catch (Throwable exception) {
/* Since getMethod failed, call findMethod. */
handleException(exception);
aGetMethod = findMethod(getBeanClass(), "getSelectedTabNum", 0);
};
java.lang.reflect.Method aSetMethod = null;
try {
/* Attempt to find the method using getMethod with parameter types. */
java.lang.Class aSetMethodParameterTypes[] = {
int.class
};
aSetMethod = getBeanClass().getMethod("setSelectedTabNum", aSetMethodParameterTypes);
} catch (Throwable exception) {
/* Since getMethod failed, call findMethod. */
handleException(exception);
aSetMethod = findMethod(getBeanClass(), "setSelectedTabNum", 1);
};
aDescriptor = new java.beans.PropertyDescriptor("selectedTabNum"
, aGetMethod, aSetMethod);
} catch (Throwable exception) {
/* Since we failed using methods, try creating a default property descriptor. */
handleException(exception);
aDescriptor = new java.beans.PropertyDescriptor("selectedTabNum"
, getBeanClass());
};
/* aDescriptor.setBound(false); */
/* aDescriptor.setConstrained(false); */
/* aDescriptor.setDisplayName("selectedTabNum"); */
/* aDescriptor.setShortDescription("selectedTabNum"); */
/* aDescriptor.setExpert(false); */
/* aDescriptor.setHidden(false); */
} catch (Throwable exception) {
handleException(exception);
};
return aDescriptor;
}
/**
* Gets the setBorderColor(java.awt.Color) method descriptor.
* @return java.beans.MethodDescriptor
*/
public java.beans.MethodDescriptor setBorderColor_javaawtColorMethodDescriptor() {
java.beans.MethodDescriptor aDescriptor = null;
try {
/* Create and return the setBorderColor(java.awt.Color) method descriptor. */
java.lang.reflect.Method aMethod = null;
try {
/* Attempt to find the method using getMethod with parameter types. */
java.lang.Class aParameterTypes[] = {
java.awt.Color.class
};
aMethod = getBeanClass().getMethod("setBorderColor", aParameterTypes);
} catch (Throwable exception) {
/* Since getMethod failed, call findMethod. */
handleException(exception);
aMethod = findMethod(getBeanClass(), "setBorderColor", 1);
};
try {
/* Try creating the method descriptor with parameter descriptors. */
java.beans.ParameterDescriptor aParameterDescriptor1 = new java.beans.ParameterDescriptor();
aParameterDescriptor1.setName("arg1");
aParameterDescriptor1.setDisplayName("borderColor");
java.beans.ParameterDescriptor aParameterDescriptors[] = {
aParameterDescriptor1
};
aDescriptor = new java.beans.MethodDescriptor(aMethod, aParameterDescriptors);
} catch (Throwable exception) {
/* Try creating the method descriptor without parameter descriptors. */
handleException(exception);
aDescriptor = new java.beans.MethodDescriptor(aMethod);
};
/* aDescriptor.setDisplayName("setBorderColor(java"); */
aDescriptor.setShortDescription("setBorderColor(java.awt.Color)");
/* aDescriptor.setExpert(false); */
/* aDescriptor.setHidden(false); */
} catch (Throwable exception) {
handleException(exception);
};
return aDescriptor;
}
/**
* Gets the setFirstVisible(int) method descriptor.
* @return java.beans.MethodDescriptor
*/
public java.beans.MethodDescriptor setFirstVisible_intMethodDescriptor() {
java.beans.MethodDescriptor aDescriptor = null;
try {
/* Create and return the setFirstVisible(int) method descriptor. */
java.lang.reflect.Method aMethod = null;
try {
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -