| Modifier and Type | Class and Description |
|---|---|
static class |
PreviewAttributes.PreviewAttribute |
static interface |
PreviewAttributes.PreviewAttributeFunction<T> |
| Constructor and Description |
|---|
PreviewAttributes(T model) |
PreviewAttributes(T model,
List<String> attributes) |
PreviewAttributes(T model,
String header) |
PreviewAttributes(T model,
String header,
List<String> attributes) |
PreviewAttributes(T model,
String header,
String description,
List<String> attributes) |
| Modifier and Type | Method and Description |
|---|---|
PreviewAttributes<T> |
append(PreviewAttributes.PreviewAttributeFunction<T> function) |
PreviewAttributes<T> |
append(String attribute) |
PreviewAttributes<T> |
append(String attribute,
String href) |
Iterable<elemental2.dom.HTMLElement> |
asElements() |
void |
hideDescription() |
void |
refresh(T model) |
void |
setDescription(elemental2.dom.HTMLElement description) |
void |
setDescription(com.google.gwt.safehtml.shared.SafeHtml description) |
void |
setDescription(String description) |
void |
setVisible(String attribute,
boolean visible) |
public PreviewAttributes(T model)
public PreviewAttributes<T> append(String attribute)
public PreviewAttributes<T> append(String attribute, String href)
public PreviewAttributes<T> append(PreviewAttributes.PreviewAttributeFunction<T> function)
public void refresh(T model)
public void setVisible(String attribute, boolean visible)
public void setDescription(String description)
public void setDescription(com.google.gwt.safehtml.shared.SafeHtml description)
public void setDescription(elemental2.dom.HTMLElement description)
public void hideDescription()
public Iterable<elemental2.dom.HTMLElement> asElements()
asElements in interface org.jboss.gwt.elemento.core.HasElementsCopyright © 2018 JBoss, a division of Red Hat. All rights reserved.