jp.co.melco.preserv.spatial
クラス psvJPDirection

java.lang.Object
  拡張jp.co.melco.preserv.spatial.psvJPAnnotationStyleElement
      拡張jp.co.melco.preserv.spatial.psvJPDirection

public class psvJPDirection
extends psvJPAnnotationStyleElement

注記文字列の縦書き/横書きを定義します。
本クラスはJPGIS1.0における描画法のJP_Directionクラスに対応します。

導入されたバージョン:
Ver.6.0
作成者:
PreSerV Development Team

コンストラクタの概要
psvJPDirection()
           
 
メソッドの概要
protected  void doApplyTo(psvPortrayalContext context)
          指定された描画コンテキストに自身の注記スタイルを反映します。
 boolean equals(java.lang.Object obj)
           
 psvJPFlag getDirection()
          注記の文字列を縦書きにするか横書きにするかを取得します。
protected  java.lang.String paramString()
          属性値の文字列表現を取得します。
 void setDirection(psvJPFlag direction)
          注記の文字列を縦書きにするか横書きにするかを設定します。
 
クラス jp.co.melco.preserv.spatial.psvJPAnnotationStyleElement から継承したメソッド
applyTo, getElement, getName, setElement, setName, toString
 
クラス java.lang.Object から継承したメソッド
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

psvJPDirection

public psvJPDirection()
メソッドの詳細

getDirection

public psvJPFlag getDirection()
注記の文字列を縦書きにするか横書きにするかを取得します。
縦書きの場合は psvJPFlag.on 、横書きの場合は psvJPFlag.off を戻します。
ここで取得できる値は、JPGIS1.0における描画法のJP_Directionクラスのdirection属性に対応します。

戻り値:
縦書きの場合は psvJPFlag.on 、横書きの場合は psvJPFlag.off

setDirection

public void setDirection(psvJPFlag direction)
注記の文字列を縦書きにするか横書きにするかを設定します。
縦書きの場合は psvJPFlag.on 、横書きの場合は psvJPFlag.off を指定します。
ここで設定できる値は、JPGIS1.0における描画法のJP_Directionクラスのdirection属性に対応します。

パラメータ:
direction - 縦書きの場合は psvJPFlag.on 、横書きの場合は psvJPFlag.off

paramString

protected java.lang.String paramString()
クラス psvJPAnnotationStyleElement の記述:
属性値の文字列表現を取得します。

オーバーライド:
クラス psvJPAnnotationStyleElement 内の paramString
戻り値:
文字列表現

doApplyTo

protected void doApplyTo(psvPortrayalContext context)
クラス psvJPAnnotationStyleElement の記述:
指定された描画コンテキストに自身の注記スタイルを反映します。

オーバーライド:
クラス psvJPAnnotationStyleElement 内の doApplyTo
パラメータ:
context - スタイル反映対象の描画コンテキスト
関連項目:
psvJPAnnotationStyleElement.applyTo(psvPortrayalContext)

equals

public boolean equals(java.lang.Object obj)
オーバーライド:
クラス psvJPAnnotationStyleElement 内の equals