Package com.portal.bas
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
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 Summary
Modifier and TypeMethodDescriptionGets the associated class, if any, for this field.Gets the data field description used by the component.getField()
Gets the value of the field referred to in thedisplayFieldDescription
.Gets the data field description used by the component.void
revertToPrimary
(int primary) Reverts converted currency data back to the primary representation.void
setAssociatedClass
(String name) Sets the associated class, if any, for this field.void
setDisplayFieldDescription
(String fieldDisp) Sets the description of the field of the data model that is most important to this component.void
Sets the value of the field referred to in themodelFieldDescription
.void
setModelFieldDescription
(String fieldDesc) Sets the description of the field of the data model that is most important to this component.togglePrimaryToSecondary
(int primary, int secondary) Causes the widget to use theBEIDManager
to convert its data.
-
Method Details
-
setModelFieldDescription
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
- aString
that describes the field(s) used by this component- Throws:
RemoteException
- thrown for errors
-
getModelFieldDescription
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
Sets the description of the field of the data model that is most important to this component.- Parameters:
fieldDisp
- aString
that describes the field- Throws:
RemoteException
- thrown for errors
-
getDisplayFieldDescription
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
Sets the associated class, if any, for this field.- Parameters:
name
- the class name- Throws:
RemoteException
- thrown for errors
-
getAssociatedClass
Gets the associated class, if any, for this field.- Returns:
- The class name or null.
- Throws:
RemoteException
- thrown for errors
-
setField
Sets the value of the field referred to in themodelFieldDescription
.- Parameters:
value
- the field's value- Throws:
RemoteException
- thrown for errors
-
getField
Gets the value of the field referred to in thedisplayFieldDescription
.- Returns:
- the field's value
- Throws:
RemoteException
- thrown for errors
-
togglePrimaryToSecondary
Causes the widget to use theBEIDManager
to convert its data.- Parameters:
primary
- the primary currency IDsecondary
- the secondary currency ID- Returns:
- The converted value.
- Throws:
RemoteException
- Since:
- Release 6.2
-
revertToPrimary
Reverts converted currency data back to the primary representation.- Parameters:
primary
- the primary currency ID- Throws:
RemoteException
- Since:
- Release 6.2
-