|
|
Package com.dassault_systemes.pprnblcabase.interfaces |
Interface ENOVIAttributesView
|
Class Hierarchy |
com.dassault_systemes.pprnblcabase.interfaces.ENOVIAttributesView
Class Location |
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 |
Enumeration getAttributeList()Get the list of attributes that are appropriate for the current view.
ENOVIDataObject getDataObject()Get the data object displayed in the view.
ENOVIType getType()Get the type defining the attributes to be displayed in the view.
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.
CATDialog getLabelWidget(ENOVIAttribute iAttr)Get the label widget used to hold the attribute label.
int getNumberOfColumns()Get the number of attribute columns in the default rendering.
CATDialog getMandatoryFlagWidget(ENOVIAttribute iAttr)Get the label widget used to hold the mandatory flag for the attribute.
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.
void renderInFrame(CATFrame iFrame, Enumeration iAttrEnum)Render the input list of attributes in a frame using the default attribute positioning.
boolean defaultDataEntryValidation()Evaluate the values entered into the editable widgets in this view.
void setNumberOfColumns(int iColumns)Set the number of attribute columns in the default rendering. Supports 1, 2 or 3.