org.favabeans.base
Class HasFacetType
java.lang.Object
|
+--java.awt.datatransfer.DataFlavor
|
+--org.favabeans.base.Type
|
+--org.favabeans.base.HasFacetType
- All Implemented Interfaces:
- Cloneable, Externalizable, PoComparable, Serializable
- public class HasFacetType
- extends Type
A HasFacetType matches objects that have a
Facet of the specified type.
- See Also:
- Serialized Form
| Methods inherited from class java.awt.datatransfer.DataFlavor |
clone, equals, getDefaultRepresentationClass, getDefaultRepresentationClassAsString, getHumanPresentableName, getParameter, getPrimaryType, getReaderForText, getRepresentationClass, getSubType, getTextPlainUnicodeFlavor, hashCode, isFlavorJavaFileListType, isFlavorRemoteObjectType, isFlavorSerializedObjectType, isMimeTypeEqual, isMimeTypeEqual, isMimeTypeSerializedObject, isRepresentationClassInputStream, isRepresentationClassRemote, isRepresentationClassSerializable, match, normalizeMimeType, normalizeMimeTypeParameter, readExternal, selectBestTextFlavor, setHumanPresentableName, toString, tryToLoadClass, writeExternal |
HasFacetType
public HasFacetType(Type facetType)
getFacetType
public Type getFacetType()
isStrictSubtypeOf
public boolean isStrictSubtypeOf(Type t)
- Description copied from class:
Type
- Determine whether this
Type is a strict subtype of
another Type t. By strict subtype, we
mean that this Type is a subtype of
t, but not equal to t.
- Overrides:
isStrictSubtypeOf in class Type
- Following copied from class:
org.favabeans.base.Type
- Parameters:
type - the specified Type- Returns:
true if this object is a strict subtype of
t; false otherwise.
equals
public boolean equals(DataFlavor t)
- Description copied from class:
Type
- Determine if
this object is equal to some other
Type object.
- Overrides:
equals in class Type
- Following copied from class:
org.favabeans.base.Type
- Parameters:
t - another DataFlavor, perhaps another
Type.- Returns:
- true if
t is a Type and
t is equal to this.
isInstance
public boolean isInstance(Object object)
- Description copied from class:
Type
- Determine if a given arbitrary Java object is an instance of
this
Type.
- Overrides:
isInstance in class Type
- Following copied from class:
org.favabeans.base.Type
- Parameters:
object - an arbitrary Java object reference.- Returns:
true if object is considered
"an instance of this Type"; false
otherwise.- See Also:
Class.isInstance(java.lang.Object)
Copyright © 2000-2001, Regents of the University of Minnesota. All Rights Reserved.