[codenameone-discussions] Re: Form that is not always executed.

2018-09-25 Thread Shai Almog
Hi, dialog is a different form so the timer will stop working as it's bound to the current form. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to code

[codenameone-discussions] Re: device rotation

2018-09-25 Thread Shai Almog
I have yet to see a UI where an on-off switch is translucent or do you mean only the thumb? It's possible to implement everything in the graphics layer but it's 100 times harder than just adding a component or making an improvement to the theme/gui builder. You need to implement it 5x in native

[codenameone-discussions] Form that is not always executed.

2018-09-25 Thread rdvg1962
Hi, I have a method that triggers a form that does not always run. The form has a Timer class to control the time it appears and disappears. In addition to this, for some time the warning was displayed in the debug console (Ljava / util / ArrayList; Z) V 'formTotals My code: private void

[codenameone-discussions] Re: dash effect

2018-09-25 Thread Thomas
Unfortunatly the CN1 Stroke do not support dash patterns. So unless your path is really basic (like a rectangle or a few straight lines), in which case you can probably paint the dash effect "by hand", (this is the approach used to render dashed components borders in CN1), it would be quite dif

[codenameone-discussions] Re: device rotation

2018-09-25 Thread Thomas
What I am saying is that a good support of low level graphic is usually necessary to be able to build high level stuff (=components) that are appealing. For instance, if I take the example of an OnOffSwitch component, even if it is quite a simple component in its composition (it is just two ele

[codenameone-discussions] dash effect

2018-09-25 Thread myguidoo
I would like to know if I can make an effect similar to what the DashPathEffect object does in Android. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email

[codenameone-discussions] Re: Clone interface

2018-09-25 Thread Gareth Murfin
ah i see its not possible in cn1, i will write it manually. On Tuesday, September 25, 2018 at 6:09:07 PM UTC+1, Gareth Murfin wrote: > > Does codenameone support the clone interface? im having trouble compiling > , it says: > cannot find symbol return super.clone(); > > I inherit it using > >

[codenameone-discussions] Clone interface

2018-09-25 Thread Gareth Murfin
Does codenameone support the clone interface? im having trouble compiling , it says: cannot find symbol return super.clone(); I inherit it using public class Branch implements Cloneable{ and my method is : @Override public Object clone() throws CloneNotSupportedException { r