CLASS enumeration
Highlights/Dependencies |
---|
|
GraphRep Code |
---|
GRAPHREP sizing:asymmetrical AVAL set-default:"$ffffff" c:"Color" AVAL fc:"Font color" FILL color:(rgbval (c)) FONT color:(fc) AVAL ent:"Enumeration table" TABLE x:-2.5cm y:-1.8cm w:5cm h:3.6cm cols:3 w1:0.1cm w2:100% w3:0.1cm rows:2 h1:1cm h2:100% STRETCH off AVAL name:"Name" AVAL set-default:"small" st:"State" AVAL set-format:"%o" ref_enum:"Referenced enumeration" RECTANGLE x:(tabx0) y:(taby0) w:(tabx3 - tabx0) h:(taby1 - taby0) FONT color:(fc) RECTANGLE x:(tabx0) y:(taby1) w:(tabx3 - tabx0) h:(taby2 - taby1) IF (NOT (ent = "")) ATTR "Enumeration table" x:(tabx1) y:(taby1) w:(tabx2 - tabx1) h:(taby2 - taby1) line-break:rigorous ENDIF IF (st = "small") FONT h:60pt bold color:(fc) TEXT "«E»" line-break:rigorous x:(tabx1 + (tabx2 - tabx1)/2) y:(taby1 + (taby2 - taby1) / 2) w:c:(tabw2) h:c:(taby1 - taby0) FONT color:(fc) ELSE IF (ref_enum = "") ATTR "Name" text:("«enumeration»\n"+name) line-break:rigorous x:(tabx1 + (tabx2 - tabx1)/2) y:(taby0 + (taby1 - taby0) / 2) w:c:(tabw2) h:c:(taby1 - taby0) ELSE ATTR "Referenced enumeration" text:("«enumeration»\n"+ref_enum) line-break:rigorous x:(tabx1 + (tabx2 - tabx1)/2) y:(taby0 + (taby1 - taby0) / 2) w:c:(tabw2) h:c:(taby1 - taby0) format:"%o" ENDIF ENDIF
|
Graphical Representation |
---|
|
3027 Views