[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gzz-commits] gzz/doc/pegboard/vob_colorable--humppake peg.rst
From: |
Asko Soukka |
Subject: |
[Gzz-commits] gzz/doc/pegboard/vob_colorable--humppake peg.rst |
Date: |
Fri, 14 Mar 2003 09:23:09 -0500 |
CVSROOT: /cvsroot/gzz
Module name: gzz
Changes by: Asko Soukka <address@hidden> 03/03/14 09:23:08
Modified files:
doc/pegboard/vob_colorable--humppake: peg.rst
Log message:
ColorableVob
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/doc/pegboard/vob_colorable--humppake/peg.rst.diff?tr1=1.6&tr2=1.7&r1=text&r2=text
Patches:
Index: gzz/doc/pegboard/vob_colorable--humppake/peg.rst
diff -u gzz/doc/pegboard/vob_colorable--humppake/peg.rst:1.6
gzz/doc/pegboard/vob_colorable--humppake/peg.rst:1.7
--- gzz/doc/pegboard/vob_colorable--humppake/peg.rst:1.6 Fri Mar 14
04:50:03 2003
+++ gzz/doc/pegboard/vob_colorable--humppake/peg.rst Fri Mar 14 09:22:49 2003
@@ -5,8 +5,8 @@
:Authors: Asko Soukka
:Stakeholders: Benja Fallenstein, Tuomas Lukka
:Date-created: 2003-03-05
-:Last-Modified: $Date: 2003/03/14 09:50:03 $
-:Revision: $Revision: 1.6 $
+:Last-Modified: $Date: 2003/03/14 14:22:49 $
+:Revision: $Revision: 1.7 $
:Status: Current
:Scope: Trivial
:Type: Feature
@@ -153,19 +153,17 @@
ColorableVob cloneColored(List); // for List
ColorableVob cloneColored(Color); // for single color
- RE-RESOLVED: Previously introduced methods add the new colors
- (parameters) next to old ones (the colors of the original vob).
- Actually, the methods are only overloading methods for ones
- with overriding flag::
-
- ColorableVob cloneColored(Color[], boolean);
- ColorableVob cloneColored(List), boolean;
- ColorableVob cloneColored(Color, boolean);
-
- When flag is set, old colors will
- be replaced when cloning, if unset, the new colors
- will be added next to old ones. ?
+ RE-RESOLVED: Previously introduced methods replace the old
+ colors (the colors of the original vob) with new ones (parameter
+ colors). The following methods are used to add the new colors
+ next to old ones::
+
+ ColorableVob cloneColorAdded(Color[]);
+ ColorableVob cloneColorAdded(List);
+ ColorableVob cloneColorAdded(Color);
+ They could be implemented as shorthands to the cloneColored(color[])
+ method. I.e. ``return cloneColored(getColors().clone().append(color))``.
- Should SolidBgVob be inherited from Colorable Vob?
@@ -211,9 +209,9 @@
+ColorableVob cloneColored(Color[] colors)
+ColorableVob cloneColored(List colors)
+ColorableVob cloneColored(Color c)
- +ColorableVob cloneColored(Color[] colors, boolean override)
- +ColorableVob cloneColored(List colors, boolean override)
- +ColorableVob cloneColored(Color c, boolean override)
+ +ColorableVob cloneColorAdded(Color[] colors)
+ +ColorableVob cloneColorAdded(List colors)
+ +ColorableVob cloneColorAdded(Color c)
+Color[] getColors()
class java.lang.Cloneable "interface"
- [Gzz-commits] gzz/doc/pegboard/vob_colorable--humppake peg.rst, Asko Soukka, 2003/03/10
- [Gzz-commits] gzz/doc/pegboard/vob_colorable--humppake peg.rst, Asko Soukka, 2003/03/11
- [Gzz-commits] gzz/doc/pegboard/vob_colorable--humppake peg.rst, Asko Soukka, 2003/03/12
- [Gzz-commits] gzz/doc/pegboard/vob_colorable--humppake peg.rst, Asko Soukka, 2003/03/12
- [Gzz-commits] gzz/doc/pegboard/vob_colorable--humppake peg.rst, Asko Soukka, 2003/03/14
- [Gzz-commits] gzz/doc/pegboard/vob_colorable--humppake peg.rst,
Asko Soukka <=
- [Gzz-commits] gzz/doc/pegboard/vob_colorable--humppake peg.rst, Asko Soukka, 2003/03/24