|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
地物の一覧を管理・操作するためのインタフェースを提供します。
メソッドの概要 | |
psvFeature |
addFeature(psvFeature feature)
地物を追加します。 |
void |
addLoadListener(psvSpatialLoadEventListener listener)
地物読み込みリスナを追加します。 |
jp.co.melco.preserv.psvVectorMap |
asVectorMap()
対応するベクタマップを取得します。 |
java.util.Collection |
collectIntersectsShapes(jp.co.melco.preserv.psvRegion region)
指定された領域と交差する地物の一覧を取得します。 |
double |
collectNearestFeatures(double x,
double y,
java.util.Collection features)
指定された座標に最も近い地物を取得します。 |
java.util.Collection |
collectVisibleShapes(jp.co.melco.preserv.psvRegion region,
int scale)
指定されたスクリーン情報で指定された領域に表示される地物の一覧を取得します。 |
psvFeature |
getContainedFeature(java.lang.Long internalKey)
internalKeyで指定された地物が、本クラスで管理されていれば、その地物を返します。 |
psvSpatialLayerAttribAccessible |
getSpatialLayerContext()
レイヤ情報管理オブジェクトを取得します。 |
boolean |
isContainedFeature(java.lang.Long internalKey)
internalKeyで指定された地物が、本クラスが管理しているかを返します。 |
boolean |
removeFeature(psvFeature feature)
地物を削除します。 |
boolean |
removeLoadListener(psvSpatialLoadEventListener listener)
地物読み込みリスナを削除します。 |
void |
setSpatialLayerContext(psvSpatialLayerAttribAccessible context)
レイヤ情報管理オブジェクトを設定します。 |
メソッドの詳細 |
public void setSpatialLayerContext(psvSpatialLayerAttribAccessible context)
context
- レイヤ情報管理オブジェクトpublic double collectNearestFeatures(double x, double y, java.util.Collection features)
x
- X座標値y
- Y座標値
public psvSpatialLayerAttribAccessible getSpatialLayerContext()
public psvFeature addFeature(psvFeature feature)
feature
- 追加する地物
public boolean isContainedFeature(java.lang.Long internalKey)
internalKey
- 地物管理キー
public psvFeature getContainedFeature(java.lang.Long internalKey)
internalKey
- 地物管理キー
public boolean removeFeature(psvFeature feature)
feature
- 削除する地物
true
、それ以外の場合はfalse
public java.util.Collection collectVisibleShapes(jp.co.melco.preserv.psvRegion region, int scale)
region
- 領域scale
- スケール
public java.util.Collection collectIntersectsShapes(jp.co.melco.preserv.psvRegion region)
region
- 領域
public jp.co.melco.preserv.psvVectorMap asVectorMap()
public void addLoadListener(psvSpatialLoadEventListener listener)
listener
- 地物読み込みリスナpublic boolean removeLoadListener(psvSpatialLoadEventListener listener)
listener
- 地物読み込みリスナ
|
|||||||||||
前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |