PFieldComponent
is deprecated and
replaced by PAppFieldComponent
.public interface PFieldComponent extends PViewComponent
PFieldComponent
is a PViewComponent
that directly displays
the contents of a field.
This class was used as the base for displaying field contents, for example,
single field controls, list boxes, and tables.
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.Modifier and Type | Method and Description |
---|---|
String |
getDisplayFieldDescription()
Deprecated.
Gets the data field description used by the component.
|
String |
getDisplayFieldFormat()
Deprecated.
Gets the data field description used by the component.
|
String |
getHelpID()
Deprecated.
Gets the current help ID for this component.
|
String |
getModelFieldDescription()
Deprecated.
Gets the data field description used by the component.
|
void |
setDisplayFieldDescription(String fieldDisp)
Deprecated.
Sets the description of the field of the data model that is most
important to this component.
|
void |
setDisplayFieldFormat(String fieldForm)
Deprecated.
Sets the description of the field of the data model that is most
important to this component.
|
void |
setHelpID(String id)
Deprecated.
Sets the help ID for this component.
|
void |
setModelFieldDescription(String fieldDesc)
Deprecated.
Sets the description of the field of the data model that is most
important to this component.
|
firePropertyChange, fireVetoableChange, getRemoteComponent
getResourceName, getTools, setResourceName, unregister
getControllerClassName, getModelHandle, isLight, setModelHandle
viewDataChange
void setModelFieldDescription(String fieldDesc) throws RemoteException
fieldDesc
- a String
that describes the field(s)
used by this componentRemoteException
- thrown for errorsString getModelFieldDescription() throws RemoteException
String
description of the fields
used by this component.RemoteException
- thrown for errorsvoid setDisplayFieldDescription(String fieldDisp) throws RemoteException
fieldDisp
- a String
that describes the
field(s) used by this componentRemoteException
- thrown for errorsString getDisplayFieldDescription() throws RemoteException
String
description of the fields
used by this component.RemoteException
- thrown for errorsvoid setDisplayFieldFormat(String fieldForm) throws RemoteException
fieldForm
- A String
that describes the
field(s) used by this component.RemoteException
- thrown for errorsString getDisplayFieldFormat() throws RemoteException
String
description of the fields
used by this component.RemoteException
- thrown for errorsvoid setHelpID(String id)
id
- a String
with the new help IDString getHelpID()
String
help ID.Copyright © 2003, 2023, Oracle and/or its affiliates.