com.supermap.realspace
Class SceneServicesList
- java.lang.Object
-
- com.supermap.data.InternalHandle
-
- com.supermap.data.InternalHandleDisposable
-
- com.supermap.realspace.SceneServicesList
-
public class SceneServicesList extends InternalHandleDisposable
The Scene services set class.It can be used to get various information about the scene data, such as the url, name, etc.
-
-
Constructor Summary
Constructors Constructor and Description SceneServicesList()
The default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description void
dispose()
Release the resource occupy by this object.java.lang.String
getSceneName(int index)
Returns the scene object with specified index which starts from 0.java.lang.String
getScenesUrl()
Gets the url of the current scene service.int
getSize()
Returns the number of the scenes in the service set.boolean
load(java.lang.String url)
Loads the scene according to iServer service address name.
-
-
-
Constructor Detail
-
SceneServicesList
public SceneServicesList()
The default constructor. Constructs a new object of SceneServicesList.
-
-
Method Detail
-
load
public boolean load(java.lang.String url)
Loads the scene according to iServer service address name.- Parameters:
url
- iServer service address name.- Returns:
- Whether to load the scene service successfully.
-
getScenesUrl
public java.lang.String getScenesUrl()
Gets the url of the current scene service.- Returns:
- The url of the current scene service.
-
getSize
public int getSize()
Returns the number of the scenes in the service set.- Returns:
- The number of the scenes in the service set.
-
getSceneName
public java.lang.String getSceneName(int index)
Returns the scene object with specified index which starts from 0.- Parameters:
index
- The index of the scene object to be searched.- Returns:
- The name of the scene with specified index.
-
dispose
public void dispose()
Release the resource occupy by this object.
-
-