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()
IAccessibleElement
accessibility properties
. See also IAccessibleElement
.getAccessibilityProperties
in interface IAccessibleElement
public <T1> T1 getProperty(int property)
IPropertyContainer
IPropertyContainer.getOwnProperty(int)
,
this method can check parent's properties, styles, etc, depending on the origin of the instancegetProperty
in interface IPropertyContainer
T1
- 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)
IPropertyContainer
setProperty
in interface IPropertyContainer
property
- the property to be setvalue
- the value of the propertypublic boolean hasProperty(int property)
IPropertyContainer
IPropertyContainer.hasOwnProperty(int)
,
this method can check parent's properties, styles, etc, depending on the origin of the instancehasProperty
in interface IPropertyContainer
property
- the property to be checkedtrue
if this instance has given property, false
otherwisepublic boolean hasOwnProperty(int property)
IPropertyContainer
hasOwnProperty
in interface IPropertyContainer
property
- the property to be checkedtrue
if this instance has given own property, false
otherwisepublic <T1> T1 getOwnProperty(int property)
IPropertyContainer
null
will be returned.getOwnProperty
in interface IPropertyContainer
T1
- 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)
IPropertyContainer
getDefaultProperty
in interface IPropertyContainer
T1
- the return type associated with the propertyproperty
- the property to be retrievednull
will be returnedpublic void deleteOwnProperty(int property)
IPropertyContainer
deleteOwnProperty
in interface IPropertyContainer
property
- the property to be deletedCopyright © 1998–2019 iText Group NV. All rights reserved.