EasyPDF Java SDK
v5.1

com.bcl.easypdf.EasyPDFDocument
Class IChoiceField

java.lang.Object
  extended by com.bcl.easypdf.EasyPDFDocument.IFormField
      extended by com.bcl.easypdf.EasyPDFDocument.IChoiceField
Direct Known Subclasses:
ICheckField, IComboField, IListField, IRadioField

public class IChoiceField
extends IFormField

IChoiceField is a specialized version of IFormField.


Method Summary
 int getItemCount()
          Returns item count.
 java.lang.String getItemDisplayName(int Index)
          Returns the display name of an item.
 int GetItemIndex(java.lang.String ItemValue)
          Returns the index of a given item value.
 boolean getItemSelected(int Index)
          Checks whether the specified item is selected.
 java.lang.String getItemValue(int Index)
          Return an item's value.
 int getSelectedItem()
          Returns the index of the first selected item.
 int getSelectedItemCount()
          Returns selected item count.
 java.lang.String getSelectedItemValue()
          Returns the value of the first selected item.
 void setItemSelected(int Index, boolean newVal)
           
 
Methods inherited from class com.bcl.easypdf.EasyPDFDocument.IFormField
getModified, getName, getType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

GetItemIndex

public int GetItemIndex(java.lang.String ItemValue)
                 throws EasyPDFException
Returns the index of a given item value.

Throws:
EasyPDFException

getItemDisplayName

public java.lang.String getItemDisplayName(int Index)
                                    throws EasyPDFException
Returns the display name of an item.

Throws:
EasyPDFException

getItemValue

public java.lang.String getItemValue(int Index)
                              throws EasyPDFException
Return an item's value.

Throws:
EasyPDFException

getItemSelected

public boolean getItemSelected(int Index)
                        throws EasyPDFException
Checks whether the specified item is selected.

Throws:
EasyPDFException

setItemSelected

public void setItemSelected(int Index,
                            boolean newVal)
                     throws EasyPDFException
Throws:
EasyPDFException

getSelectedItem

public int getSelectedItem()
                    throws EasyPDFException
Returns the index of the first selected item.

Throws:
EasyPDFException

getSelectedItemValue

public java.lang.String getSelectedItemValue()
                                      throws EasyPDFException
Returns the value of the first selected item.

Throws:
EasyPDFException

getSelectedItemCount

public int getSelectedItemCount()
                         throws EasyPDFException
Returns selected item count.

Throws:
EasyPDFException

getItemCount

public int getItemCount()
                 throws EasyPDFException
Returns item count.

Throws:
EasyPDFException

EasyPDF Java SDK
v5.1

Copyright 2007 BCL Technologies. All rights reserved.