See also :
public void Card()
public void Card(String title)
title
The card title text
public void Card(Node title)
title
The card title text
public void Card(String title, String description)
title
The card title text
description
The card description text
public void Card(Node title, String description)
title
The card title text
description
The card description text
public static Card create()
public static Card create(String title)
title
The card title text.
new Card instance
public static Card create(Node title)
title
The card title text.
new Card instance
public static Card create(String title, String description)
title
The card title text
description
The card description text
new Card instance
public static Card create(Node title, String description)
title
The card title text
description
The card description text
new Card instance
public void CardHeader(String title)
title
The card header title text
public void CardHeader(String title, String description)
title
The card header title text
description
The card header description text
public static CardHeader create()
public DivElement getMainHeader()
The DivElement representing the CardHeader main container.
public CardHeader withMainHeader()
same CardHeader instance
public CardHeader withMainHeader(ChildHandler<CardHeader, DivElement> handler)
handler
The ChildHandler applying the customizations.
same CardHeader instance
public DivElement getSubHeader()
The DivElement representing the Card sub-header container
public CardHeader withSubHeader()
same CardHeader instance
public CardHeader withSubHeader(ChildHandler<CardHeader, DivElement> handler)
handler
The ChildHandler applying the customizations.
same CardHeader instance
public CardHeader setTitle(String title)
title
The CardHeader title text
same CardHeader instance
public CardHeader setTitle(Node title)
title
The CardHeader title text
same CardHeader instance
public CardHeader setDescription(String text)
text
The CardHeader description text
same CardHeader instance
public DivElement getTitleElement()
The DivElement of the CardHeader title.
public CardHeader withTitle()
same CardHeader instance
public CardHeader withTitle(ChildHandler<CardHeader, DivElement> handler)
handler
The ChildHandler applying the customizations.
same CardHeader instance
public HeadingElement getMainTitleElement()
The HeadingElement of the CardHeader main title
public CardHeader withMainTitle()
same CardHeader instance
public CardHeader withMainTitle(String title)
title
The card main title text
same CardHeader instance
public CardHeader withMainTitle(ChildHandler<CardHeader, HeadingElement> handler)
handler
The ChildHandler applying the customizations.
same CardHeader instance
public SmallElement getDescriptionElement()
The SmallElement of the CardHeader description
public CardHeader withDescription()
same CardHeader instance
public CardHeader withDescription(String description)
description
The CardHeader description text
same CardHeader instance
public CardHeader withDescription(ChildHandler<CardHeader, SmallElement> handler)
handler
The ChildHandler applying the customizations.
same CardHeader instance
public CardHeader setLogo(HTMLImageElement img)
img
The HTMLImageElement to be used as CardHeader logo.
same CardHeader instance
public CardHeader setLogo(ImageElement img)
img
The ImageElement to be used as CardHeader logo.
same CardHeader instance
public ImageElement getLogo()
The ImageElement of the CardHeader logo
public CardHeader withLogo(HTMLImageElement img)
img
The HTMLImageElement to be used as CardHeader logo.
same CardHeader instance
public CardHeader withLogo()
same CardHeader instance
public CardHeader withLogo(ChildHandler<CardHeader, ImageElement> handler)
handler
The ChildHandler applying the customizations.
same CardHeader instance
public CardHeader setIcon(Icon<?> icon)
icon
a Icon to be used as card logo.
same Card instance
public Icon<?> getIcon()
The Icon of this CardHeader instance
public CardHeader withIcon(Icon<?> icon)
icon
a Icon to be used as card header icon.
same CardHeader instance
public CardHeader withIcon()
same CardHeader instance
public CardHeader withIcon(ChildHandler<CardHeader, Icon<?>> handler)
handler
The ChildHandler applying the customizations.
same Card instance
public CardHeader appendChild(PostfixAddOn<?> postfixAddOn)
postfixAddOn
A PostfixAddOn wrapped element
same CardHeader instance
public CardHeader appendChild(PrefixAddOn<?> prefixAddOn)
prefixAddOn
A PrefixAddOn wrapped element
same card instance