Interface PFieldBean

All Superinterfaces:
Remote
All Known Subinterfaces:
PAppFieldComponent
All Known Implementing Classes:
BalanceGroupSearchBeanImpl, BalanceGroupSearchResultsTable, PAccountsResults, PAcctTree, PAcctTreeBeanImpl, PAREventResults, PArrayTable, PBillsResults, PChangeStatusPage.PIAChangeStatusTextAreaField, PDefaultChoiceStringEnum, PDeviceComboBox, PFieldControllerBean, PIABigIntegerField, PIABinaryStringField, PIABooleanEnumField, PIABooleanEnumRadioField, PIACanonField, PIACanonFieldBeanImpl, PIAConstant, PIACurrencyField, PIADateField, PIADefaultChoiceEnumField, PIADigitsTextField, PIAEnumField, PIAFieldBean, PIAFieldComponent, PIAGroupTree, PIAGroupTreeBeanImpl, PIAIndexedArrayTable, PIAIndexedArrayTableBeanImpl, PIAIntegerField, PIAList, PIAListBeanImpl, PIANumberField, PIAObjectField, PIAObjectFieldBeanImpl, PIAPasswordField, PIAPaymentField, PIAPaymentFieldBeanImpl, PIAPaymentOnFileField, PIAPaymentOnFileFieldBeanImpl, PIAPercentField, PIAPhoneTable, PIAPhoneTableBeanImpl, PIAReadOnlyField, PIASearchResultsBeanImpl, PIASearchResultsPanel, PIASpecSpreadSheet, PIASpecSpreadSheetBeanImpl, PIASpinnerField, PIASpreadSheet, PIASpreadSheetBeanImpl, PIAStringEnum, PIATextAreaField, PIATextField, PMSExchangeOrgNameField, PNavigationButton, PNonCurrencyTable, PPromotionArrayTable, PServicesDealsProductsTable, PServicesDealsProductsTableBeanImpl, ServiceSearchBeanImpl, ServiceSearchResultsTable

public interface PFieldBean extends Remote
PFieldBean is an interface that describes the abilities needed for field components. Components implementing this interface will also have API methods provided by the swing API for populating/retrieving data.In case you are using the methods of this interface it is not advisable to use the regular swing API methods to populate/retrieve the data from these components as it might result in data corruption.
Version:
%version: 4 % %date_modified: Tue Dec 18 11:29:46 2001 %
Author:
larrylf
  • Method Details

    • setModelFieldDescription

      void setModelFieldDescription(String fieldDesc) throws RemoteException
      Sets the description of the field of the data model that is most important to this component. Used for populating data to the specific component (e.g. java swing components) that implements this interface
      Parameters:
      fieldDesc - a String that describes the field(s) used by this component
      Throws:
      RemoteException - thrown for errors
    • getModelFieldDescription

      String getModelFieldDescription() throws RemoteException
      Gets the data field description used by the component.
      Returns:
      A String description of the fields used by this component.
      Throws:
      RemoteException - thrown for errors
    • setDisplayFieldDescription

      void setDisplayFieldDescription(String fieldDisp) throws RemoteException
      Sets the description of the field of the data model that is most important to this component.
      Parameters:
      fieldDisp - a String that describes the field
      Throws:
      RemoteException - thrown for errors
    • getDisplayFieldDescription

      String getDisplayFieldDescription() throws RemoteException
      Gets the data field description used by the component.
      Returns:
      A String description of the fields used by this component.
      Throws:
      RemoteException - thrown for errors
    • setAssociatedClass

      void setAssociatedClass(String name) throws RemoteException
      Sets the associated class, if any, for this field.
      Parameters:
      name - the class name
      Throws:
      RemoteException - thrown for errors
    • getAssociatedClass

      String getAssociatedClass() throws RemoteException
      Gets the associated class, if any, for this field.
      Returns:
      The class name or null.
      Throws:
      RemoteException - thrown for errors
    • setField

      void setField(Object value) throws RemoteException
      Sets the value of the field referred to in the modelFieldDescription.
      Parameters:
      value - the field's value
      Throws:
      RemoteException - thrown for errors
    • getField

      Object getField() throws RemoteException
      Gets the value of the field referred to in the displayFieldDescription.
      Returns:
      the field's value
      Throws:
      RemoteException - thrown for errors
    • togglePrimaryToSecondary

      Object togglePrimaryToSecondary(int primary, int secondary) throws RemoteException
      Causes the widget to use the BEIDManager to convert its data.
      Parameters:
      primary - the primary currency ID
      secondary - the secondary currency ID
      Returns:
      The converted value.
      Throws:
      RemoteException
      Since:
      Release 6.2
    • revertToPrimary

      void revertToPrimary(int primary) throws RemoteException
      Reverts converted currency data back to the primary representation.
      Parameters:
      primary - the primary currency ID
      Throws:
      RemoteException
      Since:
      Release 6.2