iText 8.0.2 API
|
A generic Map-like interface that defines methods for storing and retrieving objects by an enum key of the iText.Layout.Properties.Property type. More...
Public Member Functions |
|
bool | HasProperty (int property) |
Checks if this entity has the specified property. More... |
|
bool | HasOwnProperty (int property) |
Checks if this entity has the specified property, i.e. if it was set to this very element earlier More... |
|
T1 | GetProperty< T1 > (int property) |
Gets the property from this entity. More... |
|
T1 | GetOwnProperty< T1 > (int property) |
Gets own property from this entity. More... |
|
T1 | GetDefaultProperty< T1 > (int property) |
Gets the default property from this entity. More... |
|
void | SetProperty (int property, Object value) |
Sets a property for this entity. More... |
|
void | DeleteOwnProperty (int property) |
Deletes the own property of this entity. More... |
|
A generic Map-like interface that defines methods for storing and retrieving objects by an enum key of the iText.Layout.Properties.Property type.
void iText.Layout.IPropertyContainer.DeleteOwnProperty | ( | int | property | ) |
Deletes the own property of this entity.
property | the property to be deleted |
Implemented in iText.Layout.Renderer.AbstractRenderer, iText.Layout.RootElement< T >, iText.Layout.Renderer.AreaBreakRenderer, iText.Layout.Tagging.TaggingDummyElement, and iText.Layout.ElementPropertyContainer< T >.
T1 iText.Layout.IPropertyContainer.GetDefaultProperty< T1 > | ( | int | property | ) |
Gets the default property from this entity.
T1 | the return type associated with the property |
property | the property to be retrieved |
null
will be returned
Implemented in iText.Layout.Renderer.ParagraphRenderer, iText.Layout.Renderer.AbstractRenderer, iText.Layout.RootElement< T >, iText.Forms.Form.Element.FormField< T >, iText.Layout.Renderer.AreaBreakRenderer, iText.Layout.ElementPropertyContainer< T >, iText.Layout.Tagging.TaggingDummyElement, and iText.Layout.Element.BlockElement< T >.
T1 iText.Layout.IPropertyContainer.GetOwnProperty< T1 > | ( | int | property | ) |
Gets own property from this entity.
Gets own property from this entity. The property must have been set earlier to this entity. If the property is not found, null
will be returned.
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
Implemented in iText.Layout.Renderer.AbstractRenderer, iText.Layout.RootElement< T >, iText.Layout.Renderer.AreaBreakRenderer, iText.Layout.ElementPropertyContainer< T >, and iText.Layout.Tagging.TaggingDummyElement.
T1 iText.Layout.IPropertyContainer.GetProperty< T1 > | ( | int | property | ) |
Gets the property from this entity.
Gets the property from this entity. Compared to GetOwnProperty
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
Implemented in iText.Layout.RootElement< T >, iText.Layout.Element.AbstractElement< T >, iText.Layout.ElementPropertyContainer< T >, iText.Layout.Tagging.TaggingDummyElement, iText.Layout.Renderer.AbstractRenderer, iText.Forms.Form.Renderer.InputFieldRenderer, iText.Layout.Renderer.AreaBreakRenderer, and iText.Forms.Form.Renderer.TextAreaRenderer.
bool iText.Layout.IPropertyContainer.HasOwnProperty | ( | int | property | ) |
Checks if this entity has the specified property, i.e. if it was set to this very element earlier
property | the property to be checked |
true
if this instance has given own property, false
otherwise
Implemented in iText.Layout.Renderer.AbstractRenderer, iText.Layout.RootElement< T >, iText.Layout.Renderer.AreaBreakRenderer, iText.Layout.Tagging.TaggingDummyElement, and iText.Layout.ElementPropertyContainer< T >.
bool iText.Layout.IPropertyContainer.HasProperty | ( | int | property | ) |
Checks if this entity has the specified property.
Checks if this entity has the specified property. Compared to HasOwnProperty(int) , this method can check parent's properties, styles, etc, depending on the origin of the instance
property | the property to be checked |
true
if this instance has given property, false
otherwise
Implemented in iText.Layout.Renderer.AbstractRenderer, iText.Layout.RootElement< T >, iText.Layout.Renderer.AreaBreakRenderer, iText.Layout.Element.AbstractElement< T >, iText.Layout.Tagging.TaggingDummyElement, and iText.Layout.ElementPropertyContainer< T >.
void iText.Layout.IPropertyContainer.SetProperty | ( | int | property, |
Object | value | ||
) |
Sets a property for this entity.
property | the property to be set |
value | the value of the property |
Implemented in iText.Layout.Renderer.AbstractRenderer, iText.Layout.RootElement< T >, iText.Layout.Renderer.AreaBreakRenderer, iText.Layout.ElementPropertyContainer< T >, and iText.Layout.Tagging.TaggingDummyElement.