Antenna House PDF Tool API (C++) 8.0
PdfTk::PtlFieldRadioGroup クラス

#include <PtlFieldRadioGroup.h>

PdfTk::PtlFieldRadioGroup の継承関係図
PdfTk::PtlFieldRadioGroup 連携図

公開メンバ関数

 PtlFieldRadioGroup ()
 コンストラクタ
 PtlFieldRadioGroup (const PtlFieldRadioGroup &obj)
 コピーコンストラクタ alias copy
 ~PtlFieldRadioGroup ()
 デストラクタ
PtlFieldRadioGroupoperator= (const PtlFieldRadioGroup &obj)
 コピーオペレータ alias copy
const PtlParamStringgetValue ()
 選択されているラジオボタンの状態名を取得。
bool hasSelectedButton () const
 選択されているラジオボタンがあるかどうかを取得。
PtlFieldRadioButtongetSelectedButton ()
 選択されているラジオボタンを取得。
int getKidsCount () const
 ラジオボタン数を取得。
PtlFieldRadioButtongetKid (int index)
 ラジオボタンを取得。
void append (const PtlFieldRadioButton &radioButton)
 ラジオボタンを追加。
基底クラス PdfTk::PtlFieldButton に属する継承公開メンバ関数
 PtlFieldButton ()
 コンストラクタ
 ~PtlFieldButton ()
 デストラクタ
PtlFieldButtonoperator= (const PtlFieldButton &obj)
 コピーオペレータ alias copy
基底クラス PdfTk::PtlField に属する継承公開メンバ関数
int getHandle () const
 PtlField (FIELD_TYPE type)
 コンストラクタ
 PtlField (const PtlField &obj)
 コピーコンストラクタ alias copy
virtual ~PtlField ()
 デストラクタ
PtlFieldoperator= (const PtlField &obj)
 コピーオペレータ alias copy
FIELD_TYPE getType () const
 フィールドタイプを取得。
const PtlParamStringgetFieldName ()
 フィールド名を取得。
void setFieldName (const PtlParamString &fieldName)
 フィールド名を設定。
bool hasWidget () const
 ウィジット注釈を持つかどうかを取得。
PtlAnnotWidgetgetWidget ()
 ウィジット注釈を取得。
void setWidget (const PtlAnnotWidget &widget)
 ウィジット注釈のフィールドへの紐づけ。

その他の継承メンバ

基底クラス PdfTk::PtlField に属する継承公開型
enum  FIELD_TYPE {
  TYPE_PUSHBUTTON = 1 , TYPE_CHECKBOX = 2 , TYPE_RADIOGROUP = 3 , TYPE_RADIOBUTTON = 4 ,
  TYPE_TEXT = 5 , TYPE_LISTBOX = 6 , TYPE_DROPDOWN = 7 , TYPE_SIGNATURE = 10 ,
  TYPE_UNKNOWN = 100
}
基底クラス PdfTk::PtlFieldButton に属する継承限定公開メンバ関数
 PtlFieldButton (FIELD_TYPE type)
 コンストラクタ
 PtlFieldButton (const PtlFieldButton &obj)
 コピーコンストラクタ alias copy
基底クラス PdfTk::PtlField に属する継承限定公開変数類
int m_dataField

詳解

フォームのラジオボタングループフィールドを表現したクラスです。

PtlFieldRadioGroup.h19 行目に定義があります。

構築子と解体子

◆ PtlFieldRadioGroup() [1/2]

PdfTk::PtlFieldRadioGroup::PtlFieldRadioGroup ( )

コンストラクタ

例外
PtlException

◆ PtlFieldRadioGroup() [2/2]

PdfTk::PtlFieldRadioGroup::PtlFieldRadioGroup ( const PtlFieldRadioGroup & obj)

コピーコンストラクタ alias copy

引数
objコピー元オブジェクト。
例外
PtlException

関数詳解

◆ append()

void PdfTk::PtlFieldRadioGroup::append ( const PtlFieldRadioButton & radioButton)

ラジオボタンを追加。

引数
radioButton追加するPtlFieldRadioButton。
例外
PtlException

◆ getKid()

PtlFieldRadioButton & PdfTk::PtlFieldRadioGroup::getKid ( int index)

ラジオボタンを取得。

指定した番号のラジオボタンを取得します。

引数
indexIndex番号。0が先頭。
indexが負やラジオボタン数以上の場合は、例外が発生します。
戻り値
PtlFieldRadioButton。
例外
PtlException

◆ getKidsCount()

int PdfTk::PtlFieldRadioGroup::getKidsCount ( ) const

ラジオボタン数を取得。

戻り値
PtlFieldRadioButton数。
例外
PtlException

◆ getSelectedButton()

PtlFieldRadioButton & PdfTk::PtlFieldRadioGroup::getSelectedButton ( )

選択されているラジオボタンを取得。

選択されているラジオボタンを取得します。

戻り値
PtlFieldRadioButton。
例外
PtlException

◆ getValue()

const PtlParamString & PdfTk::PtlFieldRadioGroup::getValue ( )

選択されているラジオボタンの状態名を取得。

戻り値
状態名。
例外
PtlException

◆ hasSelectedButton()

bool PdfTk::PtlFieldRadioGroup::hasSelectedButton ( ) const

選択されているラジオボタンがあるかどうかを取得。

戻り値
true: 選択されている。false: 選択されていない。
例外
PtlException

◆ operator=()

PtlFieldRadioGroup & PdfTk::PtlFieldRadioGroup::operator= ( const PtlFieldRadioGroup & obj)

コピーオペレータ alias copy

引数
objコピー元オブジェクト。
例外
PtlException