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
Enumeration getAttributeList()
ENOVIDataObject getDataObject()
ENOVIType getType()
CATDialog getValueWidget(ENOVIAttribute iAttr)
CATDialog getLabelWidget(ENOVIAttribute iAttr)
int getNumberOfColumns()
CATDialog getMandatoryFlagWidget(ENOVIAttribute iAttr)
boolean renderAttrInFrame(CATFrame iFrame, ENOVIAttribute attr, GC iLabelWidgetGC, GC iMandFlagGC, GC iValueWidgetGC)
void renderInFrame(CATFrame iFrame, Enumeration iAttrEnum)
boolean defaultDataEntryValidation()
void setNumberOfColumns(int iColumns)


Field Detail

Constructor Detail

Method Detail

getAttributeList

    Enumeration getAttributeList()

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

Returns:
enumeration of ENOVIAttribute objects

getDataObject

    ENOVIDataObject getDataObject()

Get the data object displayed in the view.


getType

    ENOVIType getType()

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


getValueWidget

    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.


getLabelWidget

    CATDialog getLabelWidget(ENOVIAttribute iAttr)

Get the label widget used to hold the attribute label.


getNumberOfColumns

    int getNumberOfColumns()

Get the number of attribute columns in the default rendering.


getMandatoryFlagWidget

    CATDialog getMandatoryFlagWidget(ENOVIAttribute iAttr)

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


renderAttrInFrame

    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.

Returns:
whether the attribute was rendered in this view.

renderInFrame

    void renderInFrame(CATFrame iFrame, Enumeration iAttrEnum)

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


defaultDataEntryValidation

    boolean defaultDataEntryValidation()

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


setNumberOfColumns

    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