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 .
|
|
getDefaultProperty(int property)
Gets the default property from this entity.
|
|
getOwnProperty(int property)
Gets own property from this entity.
|
|
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()
IAccessibleElement
accessibility properties
. See also IAccessibleElement
.
getAccessibilityProperties
in interface IAccessibleElement
publicT1 getProperty(int property)
IPropertyContainer
IPropertyContainer.getOwnProperty(int)
, this method can check parent's properties, styles, etc, depending on the origin of the instance
getProperty
in interface IPropertyContainer
T1
- the return type associated with the property
property
- the property to be retrieved
null
will be returned if the property value was not found
public void setProperty(int property, Object value)
IPropertyContainer
setProperty
in interface IPropertyContainer
property
- the property to be set
value
- the value of the property
public boolean hasProperty(int property)
IPropertyContainer
IPropertyContainer.hasOwnProperty(int)
, this method can check parent's properties, styles, etc, depending on the origin of the instance
hasProperty
in interface IPropertyContainer
property
- the property to be checked
true
if this instance has given property, false
otherwise
public boolean hasOwnProperty(int property)
IPropertyContainer
hasOwnProperty
in interface IPropertyContainer
property
- the property to be checked
true
if this instance has given own property, false
otherwise
publicT1 getOwnProperty(int property)
IPropertyContainer
null
will be returned.
getOwnProperty
in interface IPropertyContainer
T1
- the return type associated with the property
property
- the property to be retrieved
null
will be returned if the property value was not found
publicT1 getDefaultProperty(int property)
IPropertyContainer
getDefaultProperty
in interface IPropertyContainer
T1
- the return type associated with the property
property
- the property to be retrieved
null
will be returned
public void deleteOwnProperty(int property)
IPropertyContainer
deleteOwnProperty
in interface IPropertyContainer
property
- the property to be deleted
Copyright © 1998–2022 iText Group NV. All rights reserved.