jp.co.melco.preserv.spatial.catalogue.layer
クラス LayeredPortrayalSortedSet

java.lang.Object
  拡張jp.co.melco.preserv.spatial.psvPortrayerSortedSet
      拡張jp.co.melco.preserv.spatial.catalogue.layer.LayeredPortrayalSortedSet
すべての実装インタフェース:
java.util.Comparator

public class LayeredPortrayalSortedSet
extends psvPortrayerSortedSet
implements java.util.Comparator

レイヤ描画用ソートクラス

説明: 地物クラスを使用せず、レイヤごとの描画を行う場合に使用するソートクラスです。

導入されたバージョン:
6.2
作成者:
PreSerV Development Team
著作権:
Copyright (c) 2006
会社名:
Mitsubishi Electric Corporation

入れ子クラスの概要
 
クラス jp.co.melco.preserv.spatial.psvPortrayerSortedSet から継承した入れ子クラス
psvPortrayerSortedSet.FeatureComparator, psvPortrayerSortedSet.PortrayerComparator
 
フィールドの概要
 
クラス jp.co.melco.preserv.spatial.psvPortrayerSortedSet から継承したフィールド
portrayerMap, portrayerSet
 
コンストラクタの概要
LayeredPortrayalSortedSet(psvPortrayerFillable filler)
          コンストラクターです。
 
メソッドの概要
 int compare(java.lang.Object arg1, java.lang.Object arg2)
          指定された2つの地物を描画優先順に従って順序付けを行います。
protected  java.util.Comparator getFeatureComparator()
          地物を地物描画の優先順位に従って順位付けするためのコンパレータを取得します。
 psvFeaturePortrayer getFeaturePortrayerOf(psvFeature feature)
          指定された地物を描画するための地物描画オブジェクトを取得します。
 psvFeaturePortrayer getFeaturePortrayerOf(java.lang.String layerName)
          指定された地物レイヤを描画するための地物描画オブジェクトを取得します。
protected  java.util.Map getPortrayerMapOf(java.util.Collection portrayers)
          指定されたコレクションに含まれる地物描画オブジェクトに対応するテーブルを取得します。
 
クラス jp.co.melco.preserv.spatial.psvPortrayerSortedSet から継承したメソッド
createSortedSet, getPortrayerComparator, iterator, paramString, sortFeaturesByPortrayalPriority, toString
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
インタフェース java.util.Comparator から継承したメソッド
equals
 

コンストラクタの詳細

LayeredPortrayalSortedSet

public LayeredPortrayalSortedSet(psvPortrayerFillable filler)
コンストラクターです。

パラメータ:
filler - 地物描画オブジェクト
メソッドの詳細

getPortrayerMapOf

protected java.util.Map getPortrayerMapOf(java.util.Collection portrayers)
指定されたコレクションに含まれる地物描画オブジェクトに対応するテーブルを取得します。
テーブルの中身は、レイヤ名をキーとして 対応する地物描画オブジェクトが格納されます。

オーバーライド:
クラス psvPortrayerSortedSet 内の getPortrayerMapOf
パラメータ:
portrayers - 地物描画オブジェクトの一覧
戻り値:
地物のクラスオブジェクトがキー、対応する地物描画オブジェクトが値となるテーブル

getFeaturePortrayerOf

public psvFeaturePortrayer getFeaturePortrayerOf(psvFeature feature)
指定された地物を描画するための地物描画オブジェクトを取得します。

オーバーライド:
クラス psvPortrayerSortedSet 内の getFeaturePortrayerOf
パラメータ:
feature - 地物
戻り値:
指定された地物を描画するための地物描画オブジェクト

getFeaturePortrayerOf

public psvFeaturePortrayer getFeaturePortrayerOf(java.lang.String layerName)
指定された地物レイヤを描画するための地物描画オブジェクトを取得します。

パラメータ:
layerName - 地物レイヤ名
戻り値:
指定された地物レイヤを描画するための地物描画オブジェクト

getFeatureComparator

protected java.util.Comparator getFeatureComparator()
地物を地物描画の優先順位に従って順位付けするためのコンパレータを取得します。

オーバーライド:
クラス psvPortrayerSortedSet 内の getFeatureComparator
戻り値:
地物描画の優先順位に従ったコンパレータ

compare

public int compare(java.lang.Object arg1,
                   java.lang.Object arg2)
指定された2つの地物を描画優先順に従って順序付けを行います。

定義:
インタフェース java.util.Comparator 内の compare
パラメータ:
arg1 - 比較元の地物
arg2 - 比較対象の地物
戻り値:
順序