createStyledElementView
public StyledElementView createStyledElementView(Element element,
Style style,
StyleValue[] parameters,
StyledViewFactory viewFactory)
Creates a custom styled view of specified element.
- Specified by:
createStyledElementView
in interface StyledElementViewFactory
- Parameters:
element
- the element for which a custom styled view needs to be
created
style
- the style of the custom styled view
parameters
- the arguments other than the fully qualified class
name of this factory possibly passed to the view() CSS
pseudo-function. May be an empty array.
viewFactory
- the StyledViewFactory invoking this
StyledElementViewFactory
- Returns:
- newly created custom StyledElementView or
null
if,
for any reason, the custom view cannot be created