@JsType(isNative=true,
namespace="Cesium",
name="Credit")
public class Credit
extends Object
| Constructor and Description |
|---|
Credit()
Deprecated.
|
Credit(CreditOptions options)
Deprecated.
|
Credit(String html)
A credit contains data pertaining to how to display attributions/credits for certain content on the screen.
|
Credit(String html,
boolean showOnScreen)
A credit contains data pertaining to how to display attributions/credits for certain content on the screen.
|
| Modifier and Type | Method and Description |
|---|---|
static Credit |
create(String text)
Deprecated.
|
com.google.gwt.dom.client.Element |
element()
Gets the credit element
|
boolean |
equals(Credit credit)
Returns true if the credits are equal
|
static boolean |
equals(Credit left,
Credit right)
Returns true if the credits are equal
|
boolean |
hasImage()
Deprecated.
functions have been deprecated and will be removed in Cesium 1.46.
|
boolean |
hasLink()
Deprecated.
functions have been deprecated and will be removed in Cesium 1.46.
|
String |
html()
The credit content
|
String |
imageUrl()
Deprecated.
|
String |
link()
Deprecated.
|
String |
text()
Deprecated.
|
@Deprecated @JsConstructor public Credit()
@Deprecated @JsConstructor public Credit(CreditOptions options)
options - CreditOptions@JsConstructor public Credit(String html)
html - An string representing an html code snippet (can be text only)@JsConstructor public Credit(String html, boolean showOnScreen)
html - An string representing an html code snippet (can be text only)showOnScreen - If true, the credit will be visible in the main credit container.
Otherwise, it will appear in a popover@JsProperty(name="element") public com.google.gwt.dom.client.Element element()
@JsProperty(name="html") public String html()
@Deprecated @JsProperty(name="imageUrl") public String imageUrl()
@Deprecated @JsProperty(name="link") public String link()
@Deprecated @JsProperty(name="text") public String text()
@Deprecated @JsOverlay public static Credit create(String text)
Credit instance.text - CreditOptions.text.Credit instance.@JsMethod public static boolean equals(Credit left, Credit right)
left - The first creditright - The second credit@JsMethod public boolean equals(Credit credit)
credit - The credit to compare to.@Deprecated @JsMethod public boolean hasImage()
@Deprecated @JsMethod public boolean hasLink()
Copyright © 2019. All rights reserved.