jp.go.aist.dmrc.platform.beans.gui.chart.line
クラス PFDottedLineFactory

java.lang.Object
  拡張jp.go.aist.dmrc.platform.beans.gui.chart.line.PFDottedLineFactory
すべての実装インタフェース:
PFLineFactory, java.io.Serializable

public class PFDottedLineFactory
extends java.lang.Object
implements PFLineFactory

点線のファクトリクラス。

関連項目:
直列化された形式

コンストラクタの概要
PFDottedLineFactory()
          コンストラクタ。
 
メソッドの概要
 java.awt.Stroke createLine(int width)
          点線形状オブジェクトを生成する。
 java.lang.String getKey()
          点線形状のユニークキーを返す。
 java.lang.String getName()
          点線形状の名称を返す。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

PFDottedLineFactory

public PFDottedLineFactory()
コンストラクタ。

メソッドの詳細

getKey

public java.lang.String getKey()
点線形状のユニークキーを返す。

定義:
インタフェース PFLineFactory 内の getKey
戻り値:
"Dotted"

getName

public java.lang.String getName()
点線形状の名称を返す。
ポップアップメニューのメニュー名で利用される。ロケール対応。

定義:
インタフェース PFLineFactory 内の getName
戻り値:
名称

createLine

public java.awt.Stroke createLine(int width)
点線形状オブジェクトを生成する。

定義:
インタフェース PFLineFactory 内の createLine
パラメータ:
width - 線の太さ
戻り値:
点線形状オブジェクト
例外:
java.lang.IllegalArgumentException - widthが0以下の場合