CssApplier<List>
public class ListStyleTypeCssApplier extends java.lang.Object implements CssApplier<List>
Constructor | Description |
---|---|
ListStyleTypeCssApplier() |
Modifier and Type | Method | Description |
---|---|---|
Element |
apply(List e,
Tag t) |
Utility method applying style to a list when no ImageProvider is available.
|
List |
apply(List list,
Tag t,
MarginMemory memory,
PageSizeContainable psc,
HtmlPipelineContext context) |
Styles an element
|
List |
apply(List list,
Tag t,
HtmlPipelineContext context) |
The ListCssApplier has the capabilities to change the type of the given
List dependable on the css. |
public List apply(List list, Tag t, HtmlPipelineContext context)
List
dependable on the css. This
means: Always replace your list with the returned one and add content to the list after
applying!list
- the list to stylet
- the tagcontext
- the contextList
public List apply(List list, Tag t, MarginMemory memory, PageSizeContainable psc, HtmlPipelineContext context)
CssApplier
apply
in interface CssApplier<List>
list
- the elementt
- the tagmemory
- the MarginMemorypsc
- the PageSizeContainablecontext
- the HtmlPipelineContextParagraph
public Element apply(List e, Tag t)
e
- the listt
- the tagapply(List, Tag, HtmlPipelineContext)
Copyright © 1998–2018. All rights reserved.