Commit Graph

24 Commits

Author SHA1 Message Date
GoToLoop
50e12645ca Update ControllerGroup.java 2016-07-17 11:59:42 -03:00
GoToLoop
310d9e2d5e Update ControllerGroup.java
`float[]` to `float...`.
2016-07-16 18:23:44 -03:00
GoToLoop
b1085e4adf Update ControllerGroup.java
cp5
2016-07-15 16:09:59 -03:00
GoToLoop
8ad8ff167e Update ControllerGroup.java 2016-07-15 04:53:17 -03:00
GoToLoop
84b09409cf Update ControllerGroup.java
Initialize _**String**_ fields w/ an empty `""`.
2016-07-15 04:08:47 -03:00
GoToLoop
0f3f38146b Update ControllerGroup.java
ControllerGroup< ? extends ControllerGroup< ? > >
2016-07-11 04:07:09 -03:00
GoToLoop
18e95d99da Update ControllerGroup.java 2016-07-09 21:58:45 -03:00
GoToLoop
27371a5fd1 Update ControllerGroup.java 2016-07-09 08:47:43 -03:00
GoToLoop
669b71bf81 Revert "Change Vector to ArrayList" 2016-07-09 06:33:27 -03:00
GoToLoop
d9af4c2d9f Change Vector to ArrayList
Since __*ArrayList*__ isn't safe like __*Vector*__, I'm also adding `synchronized ()` at places where either of its structure's **size()** changes.
Those 6 methods are: **add()**, **addDrawable()**, **remove()**, **removeDrawable()**, **clear()** and **clearDrawable()**.
Of course, all loops traversing this class still needs to be synchronized externally as well; either over **get()** or **getDrawables()**.
Last word: This patch is just a standalone performant refactoring. It's not obligatory for __*ControllerGroup*__'s previous patch.
2016-07-09 06:10:46 -03:00
GoToLoop
d30c234759 Refactor for ControllerGroup + synchronized
* I wasn't expecting almost 1000 lines of code, but I've taken the challenge anyways.
* Placed localized `synchronized ()` not only for those 2 _**Vector**_ containers from _controllers_ field, but also for the 2 __*ArrayList*__ in __*ControllerGroup*__ class.
* Mostly for all sections doing iteration on them, but also when their **size()** changes.
* Prepended `@Override` for all inherited methods in __*ControllerGroup*__ class.
* Prepended `final` for all fields which didn't seem they would be re-assigned.
* Lotsa further cleanups I can't remember I did.  :P
2016-07-06 12:27:28 -03:00
sojamo
1f7cb64986 2.2.6 release 2016-04-14 18:39:16 +08:00
sojamo
a4a4824bfe adjustments to fix issue #12 2015-07-30 17:38:55 +08:00
sojamo
12235cb462 fix for issue #12 2015-07-30 11:01:15 +08:00
AmnonOwed
c3bdd53a3c Fix RadioButton.removeItem(String) 2015-05-05 09:13:10 +02:00
sojamo
3ef6bdf244 fix, see issue 3, release 2.2.4 updated 2015-03-29 21:59:13 +08:00
sojamo
d5c22c4be7 release for DOI 2015-03-24 12:43:40 +08:00
sojamo
388b13569b 2.2.3 release 2015-03-24 12:27:05 +08:00
sojamo
a1c209a716 src updates, adding Background and Icon 2014-09-08 15:30:57 +08:00
sojamo
218b65e2cf version number update 2014-08-16 19:43:33 +08:00
sojamo
dc0df081c1 removing System.out.println from ControlP5Base 2014-08-16 17:51:29 +08:00
sojamo
2a516872a8 disabling tooltip 2014-08-16 17:49:39 +08:00
sojamo
e056913c43 wip 2014-08-15 11:19:30 +08:00
sojamo
e3a05cb1bc moving repository from google code to github. 2014-07-22 14:12:30 +08:00