Package com.kakao.vectormap.route
Class RouteLineOptions
- java.lang.Object
-
- com.kakao.vectormap.route.RouteLineOptions
-
public class RouteLineOptions extends java.lang.Object
RouteLine
을 생성하기 위해 초기화 값을 설정하는 클래스.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
static RouteLineOptions
from(RouteLineSegment... segments)
RouteLineOptions 객체를 생성한다.static RouteLineOptions
from(java.lang.String lineId, RouteLineSegment... segments)
RouteLineOptions 객체를 생성한다.static RouteLineOptions
from(java.lang.String lineId, java.util.List<RouteLineSegment> segments)
RouteLineOptions 객체를 생성한다.static RouteLineOptions
from(java.util.List<RouteLineSegment> segments)
RouteLineOptions 객체를 생성한다.java.lang.String
getLineId()
Id 를 가져온다.RouteLineSegment[]
getSegments()
RouteLineSegment 배열을 가져온다.RouteLineStylesSet
getStylesSet()
RouteLineStylesSet
을 가져온다.java.lang.Object
getTag()
태그를 가져온다.int
getZOrder()
zOrder 값을 가져온다.int
hashCode()
boolean
isVisible()
visible 여부를 가져온다.RouteLineOptions
setStylesSet(RouteLineStylesSet stylesSet)
RouteLineStylesSet
을 설정한다.RouteLineOptions
setTag(java.lang.Object tag)
사용자 식별을 위해 태그를 설정한다.RouteLineOptions
setVisible(boolean visible)
visible 여부를 설정한다.RouteLineOptions
setZOrder(int zOrder)
zOrder 값을 설정한다.
-
-
-
Method Detail
-
from
public static RouteLineOptions from(RouteLineSegment... segments)
RouteLineOptions 객체를 생성한다.- Parameters:
segments
- RouteLineSegment 를 설정한다
-
from
public static RouteLineOptions from(java.lang.String lineId, RouteLineSegment... segments)
RouteLineOptions 객체를 생성한다.- Parameters:
lineId
- RouteLine 의 Id 를 설정한다segments
- RouteLineSegment 를 설정한다
-
from
public static RouteLineOptions from(java.util.List<RouteLineSegment> segments)
RouteLineOptions 객체를 생성한다.- Parameters:
segments
- RouteLineSegment 를 설정한다
-
from
public static RouteLineOptions from(java.lang.String lineId, java.util.List<RouteLineSegment> segments)
RouteLineOptions 객체를 생성한다.- Parameters:
lineId
- RouteLine 의 Id 를 설정한다segments
- RouteLineSegment 를 설정한다
-
setVisible
public RouteLineOptions setVisible(boolean visible)
visible 여부를 설정한다.- Parameters:
visible
- visible 여부
-
setZOrder
public RouteLineOptions setZOrder(int zOrder)
zOrder 값을 설정한다.- Parameters:
zOrder
- 설정 할 zOrder 값
-
setTag
public RouteLineOptions setTag(java.lang.Object tag)
사용자 식별을 위해 태그를 설정한다.- Parameters:
tag
- 설정 할 태그
-
getTag
public java.lang.Object getTag()
태그를 가져온다.
-
getZOrder
public int getZOrder()
zOrder 값을 가져온다.
-
getSegments
public RouteLineSegment[] getSegments()
RouteLineSegment 배열을 가져온다.
-
getLineId
public java.lang.String getLineId()
Id 를 가져온다.
-
setStylesSet
public RouteLineOptions setStylesSet(RouteLineStylesSet stylesSet)
RouteLineStylesSet
을 설정한다.- Parameters:
stylesSet
- 설정 할RouteLineStylesSet
객체- Returns:
RouteLineOptions
객체
-
getStylesSet
public RouteLineStylesSet getStylesSet()
RouteLineStylesSet
을 가져온다.- Returns:
RouteLineStylesSet
객체
-
isVisible
public boolean isVisible()
visible 여부를 가져온다.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-