|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
java.lang.Objectjava.beans.FeatureDescriptor
java.beans.MethodDescriptor
public class MethodDescriptor
MethodDescriptor 描述了一種特殊方法,即 Java Bean 支持從其他元件對其進行外部存取。
| 建構子摘要 | |
|---|---|
MethodDescriptor(Method method)
根據 Method 建構一個 MethodDescriptor。 |
|
MethodDescriptor(Method method,
ParameterDescriptor[] parameterDescriptors)
根據為每個方法參數提供描述性資訊的 Method 建構一個 MethodDescriptor。 |
|
| 方法摘要 | |
|---|---|
Method |
getMethod()
獲得此 MethodDescriptor 封裝的方法。 |
ParameterDescriptor[] |
getParameterDescriptors()
獲得此 MethodDescriptor 每個方法參數的 ParameterDescriptor。 |
| 從類別 java.beans.FeatureDescriptor 繼承的方法 |
|---|
attributeNames, getDisplayName, getName, getShortDescription, getValue, isExpert, isHidden, isPreferred, setDisplayName, setExpert, setHidden, setName, setPreferred, setShortDescription, setValue |
| 從類別 java.lang.Object 繼承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 建構子詳細資訊 |
|---|
public MethodDescriptor(Method method)
Method 建構一個 MethodDescriptor。
method - 低層級方法資訊。
public MethodDescriptor(Method method,
ParameterDescriptor[] parameterDescriptors)
Method 建構一個 MethodDescriptor。
method - 低層級方法資訊。parameterDescriptors - 每個方法參數的描述性資訊。| 方法詳細資訊 |
|---|
public Method getMethod()
public ParameterDescriptor[] getParameterDescriptors()
|
JavaTM 2 Platform Standard Ed. 6 |
|||||||||
| 上一個類別 下一個類別 | 框架 無框架 | |||||||||
| 摘要: 巢狀 | 欄位 | 建構子 | 方法 | 詳細資訊: 欄位 | 建構子 | 方法 | |||||||||
版權所有 2008 Sun Microsystems, Inc. 保留所有權利。請遵守GNU General Public License, version 2 only。