public class TaggingDummyElement extends Object implements IAccessibleElement, IPropertyContainer
| Constructor and Description |
|---|
TaggingDummyElement(String role) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteOwnProperty(int property)
Deletes the own property of this entity.
|
AccessibilityProperties |
getAccessibilityProperties()
Gets the
accessibility properties. |
<T1> T1 |
getDefaultProperty(int property)
Gets the default property from this entity.
|
<T1> T1 |
getOwnProperty(int property)
Gets own property from this entity.
|
<T1> T1 |
getProperty(int property)
Gets the property from this entity.
|
boolean |
hasOwnProperty(int property)
Checks if this entity has the specified property, i.e.
|
boolean |
hasProperty(int property)
Checks if this entity has the specified property.
|
void |
setProperty(int property,
Object value)
Sets a property for this entity.
|
public TaggingDummyElement(String role)
public AccessibilityProperties getAccessibilityProperties()
IAccessibleElementaccessibility properties. See also IAccessibleElement.getAccessibilityProperties in interface IAccessibleElementpublic <T1> T1 getProperty(int property)
IPropertyContainerIPropertyContainer.getOwnProperty(int),
this method can check parent's properties, styles, etc, depending on the origin of the instancegetProperty in interface IPropertyContainerT1 - the return type associated with the propertyproperty - the property to be retrievednull will be returned if the property value was not foundpublic void setProperty(int property,
Object value)
IPropertyContainersetProperty in interface IPropertyContainerproperty - the property to be setvalue - the value of the propertypublic boolean hasProperty(int property)
IPropertyContainerIPropertyContainer.hasOwnProperty(int),
this method can check parent's properties, styles, etc, depending on the origin of the instancehasProperty in interface IPropertyContainerproperty - the property to be checkedtrue if this instance has given property, false otherwisepublic boolean hasOwnProperty(int property)
IPropertyContainerhasOwnProperty in interface IPropertyContainerproperty - the property to be checkedtrue if this instance has given own property, false otherwisepublic <T1> T1 getOwnProperty(int property)
IPropertyContainernull will be returned.getOwnProperty in interface IPropertyContainerT1 - the return type associated with the propertyproperty - the property to be retrievednull will be returned if the property value was not foundpublic <T1> T1 getDefaultProperty(int property)
IPropertyContainergetDefaultProperty in interface IPropertyContainerT1 - the return type associated with the propertyproperty - the property to be retrievednull will be returnedpublic void deleteOwnProperty(int property)
IPropertyContainerdeleteOwnProperty in interface IPropertyContainerproperty - the property to be deletedCopyright © 1998–2020 iText Group NV. All rights reserved.