7fd59977 |
1 | -- File: StyledItem.cdl |
2 | -- Created: Fri Dec 1 11:11:28 1995 |
3 | -- Author: EXPRESS->CDL V0.2 Translator |
4 | -- Copyright: Matra-Datavision 1993 |
5 | |
6 | |
7 | class StyledItem from StepVisual |
8 | |
9 | inherits RepresentationItem from StepRepr |
10 | |
11 | uses |
12 | |
13 | HArray1OfPresentationStyleAssignment from StepVisual, |
14 | PresentationStyleAssignment from StepVisual, |
15 | HAsciiString from TCollection |
16 | is |
17 | |
18 | Create returns mutable StyledItem; |
19 | ---Purpose: Returns a StyledItem |
20 | |
21 | |
22 | Init (me : mutable; |
23 | aName : mutable HAsciiString from TCollection) is redefined; |
24 | |
25 | Init (me : mutable; |
26 | aName : mutable HAsciiString from TCollection; |
27 | aStyles : mutable HArray1OfPresentationStyleAssignment from StepVisual; |
28 | aItem : mutable RepresentationItem from StepRepr) is virtual; |
29 | |
30 | -- Specific Methods for Field Data Access -- |
31 | |
32 | SetStyles(me : mutable; aStyles : mutable HArray1OfPresentationStyleAssignment); |
33 | Styles (me) returns mutable HArray1OfPresentationStyleAssignment; |
34 | StylesValue (me; num : Integer) returns mutable PresentationStyleAssignment; |
35 | NbStyles (me) returns Integer; |
36 | SetItem(me : mutable; aItem : mutable RepresentationItem); |
37 | Item (me) returns mutable RepresentationItem; |
38 | |
39 | fields |
40 | |
41 | styles : HArray1OfPresentationStyleAssignment from StepVisual; |
42 | item : RepresentationItem from StepRepr; |
43 | |
44 | end StyledItem; |