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

represents polyline object on location view. More...

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

Public Member Functions

abstract boolean setPolyLine (LocationPolyline polyline)
 Method is used to specify source polyline of object.
 
abstract boolean setWidth (float width)
 Method is used to specify width of a line.
 
abstract boolean setColor (float red, float green, float blue, float alpha)
 Method is used to specify color of object.
 
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

represents polyline object on location view.

Referenced from LocationWindow.

Definition at line 18 of file PolylineMapObject.java.

Member Function Documentation

◆ getData()

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

Any kind of user's data.

Returns
Data stored in map object MapObjectType.

◆ getId()

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

Unique identifier of map object.

Returns
Unique identifier of current map objcet MapObjectType

◆ getType()

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

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

Returns
Type of current map objcet MapObjectType.

◆ setColor()

abstract boolean com.navigine.idl.java.PolylineMapObject.setColor ( float red,
float green,
float blue,
float alpha )
abstract

Method is used to specify color of object.

Parameters
redred RGBA component.
greengreen RGBA component.
blueblue RGBA component.
alphaOpacity multiplicator. Values below 0 will be set to 0. Default: 1.
Returns
true if success, false otherwise.

◆ setData()

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

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)
abstractinherited

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.

◆ setPolyLine()

abstract boolean com.navigine.idl.java.PolylineMapObject.setPolyLine ( LocationPolyline polyline)
abstract

Method is used to specify source polyline of object.

Parameters
polylinemetrics coordinate of polyline LocationPolyline.
Returns
true if success, false otherwise.

◆ setStyle()

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

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)
abstractinherited

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)
abstractinherited

Method is used to change visibility of map object.

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

◆ setWidth()

abstract boolean com.navigine.idl.java.PolylineMapObject.setWidth ( float width)
abstract

Method is used to specify width of a line.

Parameters
widthwidth of a line in pixels.
Returns
true if success, false otherwise.

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