Package com.portal.bas.comp
Class PIASpecSpreadSheetBeanImpl
java.lang.Object
com.portal.bas.PControllerImpl
com.portal.bas.PFieldControllerBean
com.portal.bas.comp.PIASpecSpreadSheetBeanImpl
- All Implemented Interfaces:
PIASpecSpreadSheetBean,PControllerBean,PFieldBean,Serializable,Remote,Unreferenced
- Direct Known Subclasses:
BalanceGroupSearchBeanImpl,PIAIndexedArrayTableBeanImpl,PIAPhoneTableBeanImpl,PIASearchResultsBeanImpl,PServicesDealsProductsTableBeanImpl,ServiceSearchBeanImpl
public class PIASpecSpreadSheetBeanImpl
extends PFieldControllerBean
implements PIASpecSpreadSheetBean
Controller class for the SpreadSheet component
- Version:
- %version: 7.6 % %date_modified: Thu Nov 08 09:24:49 2003 %
- Author:
- kapono
- See Also:
-
Field Summary
Fields inherited from class com.portal.bas.PControllerImpl
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.portal.app.util.TableUpdateRegioncom.portal.app.util.TableUpdateRegiongetRegion(int fromRow, int toRow, int fromCol, int toCol) getSelectionDataFor(String dataItem, int index) Given the name of a display data item and an optional index, returns the information needed for a Selection event.Object[][]getTable()Object[][]voidsetColumnDisplayDescription(com.portal.app.util.CellVal cv) voidsetColumnModelDescription(com.portal.app.util.CellVal cv) voidPasses in a Vector of data and establishes it as the table's datavoidsetUntypedData(boolean b) Object[][]toggleCurrency(ArrayList cellID, int from, int to) Object[][]toggleCurrency(ArrayList cellID, int from, int to, Vector dataToConvert) voidTheupdatemethod is called by various internal methods when the data has changed enough to require changing the client display.Methods inherited from class com.portal.bas.PFieldControllerBean
getAssociatedClass, getDisplayFieldDescription, getDisplaySpec, getField, getFieldSpec, getModelFieldDescription, releaseSpecifications, revertToPrimary, setAssociatedClass, setDisplayFieldDescription, setField, setModelFieldDescription, togglePrimaryToSecondaryMethods inherited from class com.portal.bas.PControllerImpl
addRemoteListener, closeSecContext, createClientException, distributeEventToListeners, fireModelChangeEvent, getAppController, getArrayRange, getContext, getField, getField, getField, getFieldWithRestriction, getFieldWithRestriction, getFieldWithRestriction, getModel, getRemoteListenerHandle, getSecContext, handleDistributeToListener, isLight, register, releaseContext, releaseRemoteListener, removeRemoteListener, setField, setField, setModel, unreferenced
-
Constructor Details
-
PIASpecSpreadSheetBeanImpl
- Throws:
RemoteException
-
-
Method Details
-
update
Description copied from class:PControllerImplTheupdatemethod is called by various internal methods when the data has changed enough to require changing the client display. Must be overridden by a specific controller subclass.- Specified by:
updatein classPControllerImpl- Parameters:
reason- an integer constant that indicates the reason for the update (UPDATE_NEW_MODEL,UPDATE_PROPERTY,UPDATE_MODEL_CHANGE, orUPDATE_CLIENT)data- the data associated withupdate- Throws:
RemoteException- thrown for errors
-
getTable
- Specified by:
getTablein interfacePIASpecSpreadSheetBean- Throws:
RemoteException
-
getRegion
- Specified by:
getRegionin interfacePIASpecSpreadSheetBean- Throws:
RemoteException
-
getRegion
public com.portal.app.util.TableUpdateRegion getRegion(int fromRow, int toRow, int fromCol, int toCol) throws RemoteException - Specified by:
getRegionin interfacePIASpecSpreadSheetBean- Throws:
RemoteException
-
setColumnDisplayDescription
- Specified by:
setColumnDisplayDescriptionin interfacePIASpecSpreadSheetBean- Throws:
RemoteException
-
setColumnModelDescription
- Specified by:
setColumnModelDescriptionin interfacePIASpecSpreadSheetBean- Throws:
RemoteException
-
getSelectionDataFor
Description copied from interface:PControllerBeanGiven the name of a display data item and an optional index, returns the information needed for a Selection event. The information returned is usually model data.- Specified by:
getSelectionDataForin interfacePControllerBean- Parameters:
dataItem- the name of a data item. Must match the name of an item changed by sending aPViewDataChangeEvent.index- an optional index into an array data item- Returns:
- Usually, a model handle or array of model handles.
- Throws:
RemoteException- thrown for errors
-
revertToPrimary
- Specified by:
revertToPrimaryin interfacePIASpecSpreadSheetBean- Throws:
RemoteException
-
toggleCurrency
public Object[][] toggleCurrency(ArrayList cellID, int from, int to, Vector dataToConvert) throws RemoteException - Specified by:
toggleCurrencyin interfacePIASpecSpreadSheetBean- Throws:
RemoteException
-
toggleCurrency
- Specified by:
toggleCurrencyin interfacePIASpecSpreadSheetBean- Throws:
RemoteException
-
setUntypedData
- Specified by:
setUntypedDatain interfacePIASpecSpreadSheetBean- Throws:
RemoteException
-
setData
Passes in a Vector of data and establishes it as the table's data- Specified by:
setDatain interfacePIASpecSpreadSheetBean
-