A3DObject

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.threed.INamedObject

public class A3DObject implements INamedObject

La classe de base de tous les objets Aspose.ThreeD, toutes les sous‑classes prendront en charge les propriétés dynamiques.

Constructeurs

ConstructeurDescription
A3DObject(String name)Initialise une nouvelle instance de la classe A3DObject.
A3DObject()Initialise une nouvelle instance de la classe A3DObject sans nom.

Méthodes

MéthodeDescription
equals(Object arg0)
findProperty(String propertyName)Trouve la propriété.
getClass()
getName()Obtient le nom.
getProperties()Obtient la collection de toutes les propriétés.
getProperty(String property)Obtenir la valeur de la propriété spécifiée
hashCode()
notify()
notifyAll()
removeProperty(Property property)Supprime une propriété dynamique.
removeProperty(String property)Supprime la propriété spécifiée identifiée par son nom
setName(String value)Définit le nom.
setProperty(String property, Object value)Définit la valeur de la propriété spécifiée
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

A3DObject(String name)

public A3DObject(String name)

Initialise une nouvelle instance de la classe A3DObject.

Parameters:

ParamètreTypeDescription
nomjava.lang.StringNom

A3DObject()

public A3DObject()

Initialise une nouvelle instance de la classe A3DObject sans nom.

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParamètreTypeDescription
arg0java.lang.Object

Returns: boolean

findProperty(String propertyName)

public Property findProperty(String propertyName)

Trouve la propriété. Elle peut être une propriété dynamique (Créée par CreateDynamicProperty/SetProperty) ou une propriété native (Identifiée par son nom)

Parameters:

ParamètreTypeDescription
propertyNamejava.lang.StringNom de la propriété.

Returns: Property - The property.

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getName()

public String getName()

Obtient le nom.

Returns: java.lang.String - le nom.

getProperties()

public PropertyCollection getProperties()

Obtient la collection de toutes les propriétés.

Returns: PropertyCollection - the collection of all properties.

getProperty(String property)

public Object getProperty(String property)

Obtenir la valeur de la propriété spécifiée

Parameters:

ParamètreTypeDescription
propriétéjava.lang.StringNom de la propriété

Returns: java.lang.Object - La valeur de la propriété trouvée

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

removeProperty(Property property)

public boolean removeProperty(Property property)

Supprime une propriété dynamique.

Parameters:

ParamètreTypeDescription
propertyPropertyQuelle propriété supprimer

Returns: boolean - vrai si la propriété est supprimée avec succès

removeProperty(String property)

public boolean removeProperty(String property)

Supprime la propriété spécifiée identifiée par son nom

Parameters:

ParamètreTypeDescription
propriétéjava.lang.StringQuelle propriété supprimer

Returns: boolean - vrai si la propriété est supprimée avec succès

setName(String value)

public void setName(String value)

Définit le nom.

Parameters:

ParamètreTypeDescription
valeurjava.lang.StringNouvelle valeur

setProperty(String property, Object value)

public void setProperty(String property, Object value)

Définit la valeur de la propriété spécifiée

Parameters:

ParamètreTypeDescription
propriétéjava.lang.StringNom de la propriété
valeurjava.lang.ObjectLa valeur de la propriété

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParamètreTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParamètreTypeDescription
arg0long
arg1int