com.vaadin.client.metadata
Class Type
java.lang.Object
com.vaadin.client.metadata.Type
public class Type
- extends java.lang.Object
|
Constructor Summary |
Type(java.lang.Class<?> clazz)
|
Type(java.lang.String baseTypeName,
Type[] parameterTypes)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Type
public Type(java.lang.Class<?> clazz)
Type
public Type(java.lang.String baseTypeName,
Type[] parameterTypes)
getBaseTypeName
public java.lang.String getBaseTypeName()
getParameterTypes
public Type[] getParameterTypes()
createInstance
public java.lang.Object createInstance()
throws NoDataException
- Throws:
NoDataException
getMethod
public Method getMethod(java.lang.String name)
getProperties
@Deprecated
public java.util.Collection<Property> getProperties()
throws NoDataException
- Deprecated. As of 7.0.1, use
getPropertiesAsArray() instead for
improved performance
- Returns:
-
- Throws:
NoDataException
getPropertiesAsArray
public JsArrayObject<Property> getPropertiesAsArray()
throws NoDataException
- Throws:
NoDataException
getProperty
public Property getProperty(java.lang.String propertyName)
getSignature
public java.lang.String getSignature()
- The unique signature used to identify this type. The structure of the
returned string may change without notice and should not be used for any
other purpose than identification. The signature is currently based on
the fully qualified name of the type.
- Returns:
- the unique signature of this type
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
createProxy
public java.lang.Object createProxy(InvokationHandler invokationHandler)
throws NoDataException
- Throws:
NoDataException
findSerializer
public JSONSerializer<?> findSerializer()
hasProperties
public boolean hasProperties()
getDelegateToWidgetProperties
public JsArrayString getDelegateToWidgetProperties()
Copyright © 2000-2014 Vaadin Ltd. All Rights Reserved.