jp.co.fujitsu.reffi.client.swing.parser
クラス JLabelValueParser

java.lang.Object
  上位を拡張 jp.co.fujitsu.reffi.client.swing.parser.JLabelValueParser
すべての実装されたインタフェース:
Parser

public class JLabelValueParser
extends Object
implements Parser

[概 要]

JLabelコンポーネントが保持する値を取得するクラスです。

[詳 細]

JLabelコンポーネントの値を取得する為の Parser.parse(Component)を実装します。

[備 考]

このクラスはComponentValueParserによってインスタンス化され、使用されます。
詳細はComponentValueParser.parse(Component)を参照して下さい。

[環 境] JDK 6.0 Update 11

Copyright (c) 2008-2009 FUJITSU Japan All rights reserved.

作成者:
Project Reffi

コンストラクタの概要
protected JLabelValueParser()
          [概 要] Protectedコンストラクタです。
 
メソッドの概要
 ComponentValues parse(Component label)
          [概 要] JLabelの値を取得します。
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

JLabelValueParser

protected JLabelValueParser()

[概 要]

Protectedコンストラクタです。

[詳 細]

デフォルト処理は有りません。

[備 考]

JLabelコンポーネント値をパースするには ComponentValueParser.parse(Component) を使用して下さい。

メソッドの詳細

parse

public ComponentValues parse(Component label)

[概 要]

JLabelの値を取得します。

[詳 細]

JLabelコンポーネントのtext属性値を調べ、 name属性値=text属性値でComponentValueオブジェクトを生成します。
生成されたComponentValueオブジェクトはComponentValuesオブジェクトの インデックス0として返却されます。

[備 考]

定義:
インタフェース Parser 内の parse
パラメータ:
label - 値をパースするlabelエレメント


Copyright(C) Fujitsu All Rights Reserved.