Loading...
Searching...
No Matches
com.navigine.idl.java.MapObject Class Referenceabstract

Class is used to handle object on LocationWindow created and managing by user Could be handled in pickMapObjectAt method LocationWindow. More...

+ Inheritance diagram for com.navigine.idl.java.MapObject:

Public Member Functions

abstract int getId ()
 Unique identifier of map object.
 
abstract MapObjectType getType ()
 Map object type MapObjectType. Map object could be casted to the specified type.
 
abstract byte[] getData ()
 Any kind of user's data.
 
abstract boolean setVisible (boolean visible)
 Method is used to change visibility of map object.
 
abstract boolean setInteractive (boolean interactive)
 Method is used to interactive property If True - map object could be handled in pickMapObjectAt method.
 
abstract boolean setStyle (String style)
 Method is used to apply custom styling to map object.
 
abstract void setData (byte[] data)
 Method is used to set any kind of user's data.
 
abstract boolean setTitle (String title)
 Method is used to set object title. Title will shown on location view.
 

Detailed Description

Class is used to handle object on LocationWindow created and managing by user Could be handled in pickMapObjectAt method LocationWindow.

Referenced from CircleMapObject, IconMapObject, FlatIconMapObject.

Definition at line 19 of file MapObject.java.

Member Function Documentation

◆ getData()

abstract byte[] com.navigine.idl.java.MapObject.getData ( )
abstract

Any kind of user's data.

Returns
Data stored in map object MapObjectType.

◆ getId()

abstract int com.navigine.idl.java.MapObject.getId ( )
abstract

Unique identifier of map object.

Returns
Unique identifier of current map objcet MapObjectType

◆ getType()

abstract MapObjectType com.navigine.idl.java.MapObject.getType ( )
abstract

Map object type MapObjectType. Map object could be casted to the specified type.

Returns
Type of current map objcet MapObjectType.

◆ setData()

abstract void com.navigine.idl.java.MapObject.setData ( byte[] data)
abstract

Method is used to set any kind of user's data.

Parameters
dataData to store in map object

◆ setInteractive()

abstract boolean com.navigine.idl.java.MapObject.setInteractive ( boolean interactive)
abstract

Method is used to interactive property If True - map object could be handled in pickMapObjectAt method.

Parameters
interactivecontrol interactivity of the object.
Returns
true if success, false otherwise.

◆ setStyle()

abstract boolean com.navigine.idl.java.MapObject.setStyle ( String style)
abstract

Method is used to apply custom styling to map object.

Parameters
stylestyling string (Style parameters).
Returns
true if success, false otherwise.

◆ setTitle()

abstract boolean com.navigine.idl.java.MapObject.setTitle ( String title)
abstract

Method is used to set object title. Title will shown on location view.

Parameters
titleof map object.
Returns
true if success, false otherwise.

◆ setVisible()

abstract boolean com.navigine.idl.java.MapObject.setVisible ( boolean visible)
abstract

Method is used to change visibility of map object.

Parameters
visiblecontrol visibility of the object.
Returns
true if success, false otherwise.

The documentation for this class was generated from the following file: