/[gzz]/gzz/doc/pegboard/vob_colorable--humppake/peg.rst
ViewVC logotype

Diff of /gzz/doc/pegboard/vob_colorable--humppake/peg.rst

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by humppake, Fri Mar 14 14:22:49 2003 UTC revision 1.8 by humppake, Mon Mar 24 12:08:10 2003 UTC
# Line 36  Issues Line 36  Issues
36  - Why is Abstract Colorable Vob needed?  - Why is Abstract Colorable Vob needed?
37    
38    RESOLVED: Currently there is no common interface for multiple solid    RESOLVED: Currently there is no common interface for multiple solid
39    colors in vobs, but they are defined and implemented from the scratch in    colors in vobs, but they are defined and implemented from the
40    every background vob (starting from ``RectBgVob``). A common interface is    scratch in every background vob (starting from ``RectBgVob``). A
41    necessary when a single node view that supports solid colors, should    common interface is necessary when a single node view that supports
42    select between multiple different background vob types (basing the    solid colors, should select between multiple different background
43    selection i.e. on nodes' content).    vob types (basing the selection i.e. on nodes' content).
44    
45  - Why was the PEG for Abstract BackgroundVob declared irrelevant?  - Why was the PEG for Abstract BackgroundVob declared irrelevant?
46    
# Line 165  Issues Line 165  Issues
165    They could be implemented as shorthands to the cloneColored(color[])    They could be implemented as shorthands to the cloneColored(color[])
166    method. I.e. ``return cloneColored(getColors().clone().append(color))``.    method. I.e. ``return cloneColored(getColors().clone().append(color))``.
167    
168      RE-RESOLVED: *The default action* of cloneColored() should be adding
169      new colors in addition to the already existing colors. Therefore
170      cloneColorAdded() methods will be renamed to cloneColor() and methods
171      cloning with only colors provided as parameter, will be renamed to
172      cloneColorReplace().
173    
174  - Should SolidBgVob be inherited from Colorable Vob?  - Should SolidBgVob be inherited from Colorable Vob?
175    
176    RESOLVED: No. ``SolidBgVob`` is not a such background vob than other    RESOLVED: No. ``SolidBgVob`` is not a such background vob than other
# Line 209  diagram: Line 215  diagram:
215              +ColorableVob cloneColored(Color[] colors)              +ColorableVob cloneColored(Color[] colors)
216              +ColorableVob cloneColored(List colors)              +ColorableVob cloneColored(List colors)
217              +ColorableVob cloneColored(Color c)              +ColorableVob cloneColored(Color c)
218              +ColorableVob cloneColorAdded(Color[] colors)              +ColorableVob cloneColorReplace(Color[] colors)
219              +ColorableVob cloneColorAdded(List colors)              +ColorableVob cloneColorReplace(List colors)
220              +ColorableVob cloneColorAdded(Color c)              +ColorableVob cloneColorReplace(Color c)
221              +Color[] getColors()              +Color[] getColors()
222        
223      class java.lang.Cloneable "interface"      class java.lang.Cloneable "interface"

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26