Class Credits
java.lang.Object
com.vaadin.componentfactory.maps.model.AbstractConfigurationObject
com.vaadin.componentfactory.maps.model.Credits
- All Implemented Interfaces:
Serializable
@Generated(value="This class was generated",
comments="Incorrect and missing API should be reported")
public class Credits
extends AbstractConfigurationObject
Highchart by default puts a credits label in the lower right corner of the
chart. This can be changed using these options.
- Version:
- $Id: $Id
- Author:
- Vaadin
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetter for the fieldenabled.getHref()Getter for the fieldhref.Getter for the fieldmapText.Getter for the fieldmapTextFull.Getter for the fieldposition.getStyle()Getter for the fieldstyle.getText()Getter for the fieldtext.voidsetEnabled(Boolean enabled) Whether to show the credits text.voidThe URL for the credits label.voidsetMapText(String mapText) Credits for map source to be concatenated with conventional credit text.voidsetMapTextFull(String mapTextFull) Detailed credits for map source to be displayed on hover of credits text.voidsetPosition(Position position) Position configuration for the credits label.voidCSS styles for the credits label.voidThe text for the credits label.
-
Constructor Details
-
Method Details
-
getEnabled
Getter for the field
enabled.- Returns:
- a
Booleanobject. - See Also:
-
setEnabled
Whether to show the credits text.Defaults to: true
- Parameters:
enabled- aBooleanobject.
-
getHref
Getter for the field
href.- Returns:
- a
Stringobject. - See Also:
-
setHref
The URL for the credits label.Defaults to: http://www.highcharts.com
- Parameters:
href- aStringobject.
-
getMapText
Getter for the field
mapText.- Returns:
- a
Stringobject. - See Also:
-
setMapText
Credits for map source to be concatenated with conventional credit text. By default this is a format string that collects copyright information from the map if available.- Parameters:
mapText- aStringobject.
-
getMapTextFull
Getter for the field
mapTextFull.- Returns:
- a
Stringobject. - See Also:
-
setMapTextFull
Detailed credits for map source to be displayed on hover of credits text. By default this is a format string that collects copyright information from the map if available.Defaults to: {geojson.copyright}
- Parameters:
mapTextFull- aStringobject.
-
getPosition
Getter for the field
position.- Returns:
- a
Positionobject. - See Also:
-
setPosition
Position configuration for the credits label. Supported properties arealign,verticalAlign,xandy. Defaults toposition: { align: 'right', x: -10, verticalAlign: 'bottom', y: -5 }- Parameters:
position- aPositionobject.
-
getStyle
Getter for the field
style.- Returns:
- a
Styleobject. - See Also:
-
setStyle
CSS styles for the credits label. Defaults to:style: { cursor: 'pointer', color: '#909090', fontSize: '10px' }- Parameters:
style- aStyleobject.
-
getText
Getter for the field
text.- Returns:
- a
Stringobject. - See Also:
-
setText
The text for the credits label. If a map is loaded as GeoJSON, the text defaults to "Highcharts @ {map-credits}". Otherwise, it defaults to "Highcharts.com".- Parameters:
text- aStringobject.
-