public class PIASpecSpreadSheetBeanImpl extends PFieldControllerBean implements PIASpecSpreadSheetBean
mFList, mRemoteListeners, UPDATE_CLIENT, UPDATE_MODEL_CHANGE, UPDATE_NEW_MODEL, UPDATE_PROPERTY
Constructor and Description |
---|
PIASpecSpreadSheetBeanImpl() |
Modifier and Type | Method and Description |
---|---|
com.portal.app.util.TableUpdateRegion |
getRegion() |
com.portal.app.util.TableUpdateRegion |
getRegion(int fromRow,
int toRow,
int fromCol,
int toCol) |
Object |
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[][] |
revertToPrimary() |
void |
setColumnDisplayDescription(com.portal.app.util.CellVal cv) |
void |
setColumnModelDescription(com.portal.app.util.CellVal cv) |
void |
setData(Vector v)
Passes in a Vector of data and establishes it as the table's data
|
void |
setUntypedData(boolean b) |
Object[][] |
toggleCurrency(ArrayList cellID,
int from,
int to) |
Object[][] |
toggleCurrency(ArrayList cellID,
int from,
int to,
Vector dataToConvert) |
void |
update(int reason,
Object data)
The
update method is called by various internal methods when
the data has changed enough to require changing the client display. |
getAssociatedClass, getDisplayFieldDescription, getDisplaySpec, getField, getFieldSpec, getModelFieldDescription, releaseSpecifications, revertToPrimary, setAssociatedClass, setDisplayFieldDescription, setField, setModelFieldDescription, togglePrimaryToSecondary
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
public PIASpecSpreadSheetBeanImpl() throws RemoteException
RemoteException
public void update(int reason, Object data) throws RemoteException
PControllerImpl
update
method 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.update
in class PControllerImpl
reason
- an integer constant that indicates the reason for the update
(UPDATE_NEW_MODEL
, UPDATE_PROPERTY
,
UPDATE_MODEL_CHANGE
, or UPDATE_CLIENT
)data
- the data associated with update
RemoteException
- thrown for errorspublic Object[][] getTable() throws RemoteException
getTable
in interface PIASpecSpreadSheetBean
RemoteException
public com.portal.app.util.TableUpdateRegion getRegion() throws RemoteException
getRegion
in interface PIASpecSpreadSheetBean
RemoteException
public com.portal.app.util.TableUpdateRegion getRegion(int fromRow, int toRow, int fromCol, int toCol) throws RemoteException
getRegion
in interface PIASpecSpreadSheetBean
RemoteException
public void setColumnDisplayDescription(com.portal.app.util.CellVal cv) throws RemoteException
setColumnDisplayDescription
in interface PIASpecSpreadSheetBean
RemoteException
public void setColumnModelDescription(com.portal.app.util.CellVal cv) throws RemoteException
setColumnModelDescription
in interface PIASpecSpreadSheetBean
RemoteException
public Object getSelectionDataFor(String dataItem, int index) throws RemoteException
PControllerBean
getSelectionDataFor
in interface PControllerBean
dataItem
- the name of a data item. Must match the name of
an item changed by sending a PViewDataChangeEvent
.index
- an optional index into an array data itemRemoteException
- thrown for errorspublic Object[][] revertToPrimary() throws RemoteException
revertToPrimary
in interface PIASpecSpreadSheetBean
RemoteException
public Object[][] toggleCurrency(ArrayList cellID, int from, int to, Vector dataToConvert) throws RemoteException
toggleCurrency
in interface PIASpecSpreadSheetBean
RemoteException
public Object[][] toggleCurrency(ArrayList cellID, int from, int to) throws RemoteException
toggleCurrency
in interface PIASpecSpreadSheetBean
RemoteException
public void setUntypedData(boolean b) throws RemoteException
setUntypedData
in interface PIASpecSpreadSheetBean
RemoteException
public void setData(Vector v)
setData
in interface PIASpecSpreadSheetBean
Copyright © 2003, 2023, Oracle and/or its affiliates.