static class ViewRecord.Viewer extends Object implements ExecuteQuery.Viewer
Modifier and Type | Field and Description |
---|---|
protected CqProvider |
m_provider |
Constructor and Description |
---|
ViewRecord.Viewer(CqProvider provider) |
Modifier and Type | Method and Description |
---|---|
(package private) ViewRecord.RecordFrame |
showRecord(String title,
CqRecord record,
javax.swing.JComponent[] future)
Displays the ALL_FIELD_VALUES property of a record resource in a
table.
|
void |
view(CqAttachment attachment)
Displays the content of an Attachment resource in a text window.
|
javax.swing.JFrame |
view(CqRecord record)
Displays a Record resource
|
protected CqProvider m_provider
ViewRecord.Viewer(CqProvider provider)
public javax.swing.JFrame view(CqRecord record)
ExecuteQuery.Viewer
view
in interface ExecuteQuery.Viewer
record
- The Record proxy for the record to be displayed.ExecuteQuery.Viewer.view(com.ibm.rational.wvcm.stp.cq.CqRecord)
public void view(CqAttachment attachment)
attachment
- An Attachment proxy for the attachment to be
displayed.ViewRecord.RecordFrame showRecord(String title, CqRecord record, javax.swing.JComponent[] future) throws javax.wvcm.WvcmException
ViewRecord.fieldMetaProperties
array. The display of most objects is
implemented by the object's own toString() method.title
- The title string for the window that contains the tablerecord
- The Record proxy for the record to be displayed. Must
define the ALL_FIELD_VALUES property and the FieldValues
in that property must define the meta-properties listed in
the ViewRecord.fieldMetaProperties
array.future
- Additional window components to be displayed along with
the property table. (Used by extensions to this example).javax.wvcm.WvcmException
Copyright © IBM 2016. All rights reserved.