Package com.dassault_systemes.pprnblcabase.interfaces

   
Interface ENOVIAttributesView

 
Class Hierarchy
com.dassault_systemes.pprnblcabase.interfaces.ENOVIAttributesView
Class Location

Framework : PPRJNavigatorBase

Module : PPRNBLcaBase

Class Description

public interface ENOVIAttributesView

Interface used to create the presentation of a type or data object in a panel.

Field Summary

Constructor Summary

Method Summary
public boolean defaultDataEntryValidation()
Evaluate the values entered into the editable widgets in this view.
public Enumeration getAttributeList()
Get the list of attributes that are appropriate for the current view.
public ENOVIDataObject getDataObject()
Get the data object displayed in the view.
public CATDialog getLabelWidget(ENOVIAttribute iAttr)
Get the label widget used to hold the attribute label.
public CATDialog getMandatoryFlagWidget(ENOVIAttribute iAttr)
Get the label widget used to hold the mandatory flag for the attribute.
public int getNumberOfColumns()
Get the number of attribute columns in the default rendering.
public ENOVIType getType()
Get the type defining the attributes to be displayed in the view.
public CATDialog getValueWidget(ENOVIAttribute iAttr)
Get the widget holding the attribute value.
public boolean renderAttrInFrame(CATFrame iFrame, ENOVIAttribute attr, GC iLabelWidgetGC, GC iMandFlagGC, GC iValueWidgetGC)
Render the attribute view for the specified attribute in the frame.
public void renderInFrame(CATFrame iFrame, Enumeration iAttrEnum)
Render the input list of attributes in a frame using the default attribute positioning.
public void setNumberOfColumns(int iColumns)
Set the number of attribute columns in the default rendering.


Field Detail

Constructor Detail

Method Detail

defaultDataEntryValidation

    public boolean defaultDataEntryValidation()

Evaluate the values entered into the editable widgets in this view.


getAttributeList

    public Enumeration getAttributeList()

Get the list of attributes that are appropriate for the current view.

Return:
enumeration of ENOVIAttribute objects

getDataObject

    public ENOVIDataObject getDataObject()

Get the data object displayed in the view.


getLabelWidget

    public CATDialog getLabelWidget(ENOVIAttribute iAttr)

Get the label widget used to hold the attribute label.


getMandatoryFlagWidget

    public CATDialog getMandatoryFlagWidget(ENOVIAttribute iAttr)

Get the label widget used to hold the mandatory flag for the attribute.


getNumberOfColumns

    public int getNumberOfColumns()

Get the number of attribute columns in the default rendering.


getType

    public ENOVIType getType()

Get the type defining the attributes to be displayed in the view.


getValueWidget

    public CATDialog getValueWidget(ENOVIAttribute iAttr)

Get the widget holding the attribute value. This will be an editable dialog element or a label for non-editable attributes.


renderAttrInFrame

    public boolean renderAttrInFrame(CATFrame iFrame, ENOVIAttribute attr, GC iLabelWidgetGC, GC iMandFlagGC, GC iValueWidgetGC)

Render the attribute view for the specified attribute in the frame. The grid constraints for the label (optional), mandatory flag (optional) and display/edit field (required) are passed in.

Return:
whether the attribute was rendered in this view.

renderInFrame

    public void renderInFrame(CATFrame iFrame, Enumeration iAttrEnum)

Render the input list of attributes in a frame using the default attribute positioning.


setNumberOfColumns

    public void setNumberOfColumns(int iColumns)

Set the number of attribute columns in the default rendering. Supports 1, 2 or 3.



Copyright © 2000, Dassault Systèmes. All rights reserved