Package | Description |
---|---|
org.shredzone.flattr4j.web.builder |
Modifier and Type | Method and Description |
---|---|
ButtonBuilder |
ButtonBuilder.attribute(String attribute,
String value)
Adds a custom HTML attribute to the generated link tag.
|
ButtonBuilder |
ButtonBuilder.button(ButtonType type)
Selects the button type to be used.
|
ButtonBuilder |
ButtonBuilder.category(CategoryId category)
The category the thing is categorized with.
|
ButtonBuilder |
ButtonBuilder.description(String description)
Description of the thing.
|
ButtonBuilder |
ButtonBuilder.descriptionTruncate(String description)
Convenience method that automatically truncates the description to its maximum
accepted length.
|
ButtonBuilder |
ButtonBuilder.hidden()
The thing shall not be listed at Flattr.
|
ButtonBuilder |
ButtonBuilder.html5()
Generate a HTML5 compliant button.
|
ButtonBuilder |
ButtonBuilder.language(LanguageId language)
Specifies the language the thing is published in.
|
ButtonBuilder |
ButtonBuilder.popout(boolean popout)
Sets whether to override the popout default and show a popout when hovering with
the mouse over the button.
|
ButtonBuilder |
ButtonBuilder.prefix(String prefix)
Sets a HTML5 key prefix.
|
ButtonBuilder |
ButtonBuilder.revsharekey(String key)
Sets the revenue share key to be used.
|
ButtonBuilder |
ButtonBuilder.style(String style)
CSS style to be used.
|
ButtonBuilder |
ButtonBuilder.styleClass(String styleClass)
CSS class to be used.
|
ButtonBuilder |
ButtonBuilder.tag(String tag)
A tag that further describes the thing.
|
ButtonBuilder |
ButtonBuilder.tags(Collection<String> tags)
Convenience method that adds a collection of tags.
|
ButtonBuilder |
ButtonBuilder.thing(Submission thing)
Initializes the builder based on the given
Submission . |
ButtonBuilder |
ButtonBuilder.thing(Thing thing)
Initializes the builder based on the given
Thing . |
ButtonBuilder |
ButtonBuilder.title(String title)
Title of the thing.
|
ButtonBuilder |
ButtonBuilder.url(String url)
Unique URL to the thing.
|
ButtonBuilder |
ButtonBuilder.url(URL url)
Unique URL to the thing.
|
ButtonBuilder |
ButtonBuilder.user(UserId user)
User who published the thing.
|
Copyright © 2010–2017. All rights reserved.