Class NoOpImageWmsSource
java.lang.Object
io.jmix.mapsflowui.kit.component.model.MapObservableObject
io.jmix.mapsflowui.kit.component.model.source.Source
io.jmix.mapsflowui.kit.component.model.source.ImageSource
io.jmix.mapsflowui.kit.component.model.source.AbstractImageWmsSource
io.jmix.mapsflowui.kit.component.model.source.NoOpImageWmsSource
- All Implemented Interfaces:
AbstractImageWmsSource.HasImageWmsSourceOptions
,AbstractImageWmsSource.HasRatio
,HasCrossOrigin
,HasParams
,HasServerType
,HasUrl
,Source.HasAttributions
,Source.HasProjection
,Serializable
public class NoOpImageWmsSource
extends AbstractImageWmsSource
implements AbstractImageWmsSource.HasImageWmsSourceOptions, Source.HasAttributions, Source.HasProjection
INTERNAL.
Stub implementation, do not use in application. Used by Jmix Studio for showing preview.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.mapsflowui.kit.component.model.source.AbstractImageWmsSource
AbstractImageWmsSource.HasImageWmsSourceOptions, AbstractImageWmsSource.HasRatio
Nested classes/interfaces inherited from class io.jmix.mapsflowui.kit.component.model.source.Source
Source.HasAttributions, Source.HasAttributionsCollapsible, Source.HasProjection, Source.HasSourceOptions, Source.HasWrapX
Nested classes/interfaces inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObject
MapObservableObject.ObjectChangeEvent
-
Field Summary
Fields inherited from class io.jmix.mapsflowui.kit.component.model.source.AbstractImageWmsSource
crossOrigin, params, ratio, serverType, url
Fields inherited from class io.jmix.mapsflowui.kit.component.model.source.Source
attributions, attributionsCollapsible, projection, wrapX
Fields inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObject
children, dirty, eventBus, listener, metaProperties, removedChildren, syncId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetRatio()
protected String
getType()
getUrl()
void
setAttributions
(List<String> attributions) void
setCrossOrigin
(String crossOrigin) void
void
setProjection
(CRS projection) void
void
setServerType
(ServerType serverType) void
Methods inherited from class io.jmix.mapsflowui.kit.component.model.source.Source
getAttributionsCollapsible, getWrapX, setAttributionsCollapsible, setWrapX
Methods inherited from class io.jmix.mapsflowui.kit.component.model.MapObservableObject
addChild, addListener, clearRemovedChildren, clearRemovedChildrenInDepth, equals, fireChangeEvent, getChildren, getEventBus, getMetaProperties, getRemovedChildren, getSyncId, hashCode, isDirty, isDirtyInDepth, markAsDirty, markAsDirtyInDepth, removeChild, setMapObjectChangeListener, setMetaProperty, unmarkDirtyInDepth
-
Constructor Details
-
NoOpImageWmsSource
public NoOpImageWmsSource()
-
-
Method Details
-
getType
- Specified by:
getType
in classMapObservableObject
-
getAttributions
Description copied from class:Source
- Specified by:
getAttributions
in interfaceSource.HasAttributions
- Overrides:
getAttributions
in classSource
- Returns:
- the attributions of the source or
null
if not set
-
setAttributions
Description copied from class:Source
- Specified by:
setAttributions
in interfaceSource.HasAttributions
- Overrides:
setAttributions
in classSource
- Parameters:
attributions
- info about copyrights and licences
-
getProjection
Description copied from class:Source
- Specified by:
getProjection
in interfaceSource.HasProjection
- Overrides:
getProjection
in classSource
- Returns:
- projection or
null
if not set
-
setProjection
Description copied from class:Source
- Specified by:
setProjection
in interfaceSource.HasProjection
- Overrides:
setProjection
in classSource
- Parameters:
projection
- projection to set
-
getCrossOrigin
Description copied from class:AbstractImageWmsSource
- Specified by:
getCrossOrigin
in interfaceHasCrossOrigin
- Overrides:
getCrossOrigin
in classAbstractImageWmsSource
- Returns:
- cross-origin or
null
if not set
-
setCrossOrigin
Description copied from class:AbstractImageWmsSource
- Specified by:
setCrossOrigin
in interfaceHasCrossOrigin
- Overrides:
setCrossOrigin
in classAbstractImageWmsSource
- Parameters:
crossOrigin
- cross-origin to set
-
getServerType
Description copied from class:AbstractImageWmsSource
- Specified by:
getServerType
in interfaceHasServerType
- Overrides:
getServerType
in classAbstractImageWmsSource
- Returns:
- server type or
null
if not set
-
setServerType
Description copied from class:AbstractImageWmsSource
- Specified by:
setServerType
in interfaceHasServerType
- Overrides:
setServerType
in classAbstractImageWmsSource
- Parameters:
serverType
- type of the remote server
-
getParams
Description copied from class:AbstractImageWmsSource
- Specified by:
getParams
in interfaceHasParams
- Overrides:
getParams
in classAbstractImageWmsSource
- Returns:
- WMS request parameters or
null
if not set
-
setParams
Description copied from class:AbstractImageWmsSource
- Specified by:
setParams
in interfaceHasParams
- Overrides:
setParams
in classAbstractImageWmsSource
- Parameters:
params
- parameters to set
-
getRatio
Description copied from class:AbstractImageWmsSource
- Specified by:
getRatio
in interfaceAbstractImageWmsSource.HasRatio
- Overrides:
getRatio
in classAbstractImageWmsSource
- Returns:
- ratio or
null
if not set.null
value means that default value is used: '1.5
'
-
setRatio
Description copied from class:AbstractImageWmsSource
- Specified by:
setRatio
in interfaceAbstractImageWmsSource.HasRatio
- Overrides:
setRatio
in classAbstractImageWmsSource
- Parameters:
ratio
- ratio to set
-
getUrl
Description copied from class:AbstractImageWmsSource
- Specified by:
getUrl
in interfaceHasUrl
- Overrides:
getUrl
in classAbstractImageWmsSource
- Returns:
- URL or
null
if not set
-
setUrl
Description copied from class:AbstractImageWmsSource
- Specified by:
setUrl
in interfaceHasUrl
- Overrides:
setUrl
in classAbstractImageWmsSource
- Parameters:
url
- url to set
-