[DEV] add introspection on development
This commit is contained in:
parent
599db5aefa
commit
d016e87df0
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,5 @@
|
||||
package sample.atriasoft.ewol.sampleButton;
|
||||
|
||||
import org.atriasoft.etk.Uri;
|
||||
import org.atriasoft.ewol.widget.Composer;
|
||||
import org.atriasoft.ewol.widget.Widget;
|
||||
|
||||
@ -11,11 +10,11 @@ public class MainWindows extends BasicWindows {
|
||||
public MainWindows() {
|
||||
setPropertyTitle("Simple Button test");
|
||||
//final Widget data = Composer.composerGenerateString("<Composer><Label>hello, how are you</Label></Composer>");
|
||||
final Widget data = Composer.composerGenerateString("<Spin/>");
|
||||
/*
|
||||
final Widget data = Composer.composerGenerateString("<Button toggle='true' fill='true,false,false' expand='true'>" + "<Label>hello, how are you</Label>"
|
||||
//final Widget data = Composer.composerGenerateString("<Spin/>");
|
||||
/* */
|
||||
final Widget data = Composer.composerGenerateString("<Button name='My name is Bob' toggle='true' fill='true,false,false' expand='true'>" + "<Label>hello, how are you</Label>"
|
||||
+ "<Label>You <br/>Click - Me <b>!?<!--kjlkjlkjlkj-->d</b></Label>" + "</Button>");
|
||||
*/
|
||||
/* */
|
||||
//final Widget data = Composer.composerGenerateFile(new Uri("DATA", "ewol-gui-file-chooser.xml", "ewol"));
|
||||
this.setTestWidget(data);
|
||||
/*
|
||||
|
@ -8,6 +8,7 @@ package org.atriasoft.ewol.compositing;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.atriasoft.aknot.exception.AknotException;
|
||||
import org.atriasoft.etk.Color;
|
||||
import org.atriasoft.etk.Uri;
|
||||
import org.atriasoft.etk.math.Matrix4f;
|
||||
@ -808,6 +809,9 @@ public abstract class TextBase extends Compositing {
|
||||
} catch (final ExmlException e) {
|
||||
Log.error("Error in finding node from XML data in printHTML:" + e.getMessage());
|
||||
e.printStackTrace();
|
||||
} catch (final AknotException e) {
|
||||
Log.error("Error in parsing pojo data in printHTML:" + e.getMessage());
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -9,6 +9,7 @@ import org.atriasoft.aknot.annotation.AknotDescription;
|
||||
*/
|
||||
import org.atriasoft.aknot.annotation.AknotManaged;
|
||||
import org.atriasoft.aknot.annotation.AknotName;
|
||||
import org.atriasoft.aknot.exception.AknotException;
|
||||
import org.atriasoft.etk.Dimension3f;
|
||||
import org.atriasoft.etk.Uri;
|
||||
import org.atriasoft.etk.math.Vector3b;
|
||||
@ -63,6 +64,9 @@ public class Composer extends Container {
|
||||
} catch (final ExmlException ex) {
|
||||
Log.error("Fail to load Data !!! {}", ex.toString());
|
||||
ex.printStackTrace();
|
||||
} catch (final AknotException ex) {
|
||||
Log.error("Fail to load Data !!! {}", ex.toString());
|
||||
ex.printStackTrace();
|
||||
}
|
||||
if (result == null) {
|
||||
return null;
|
||||
|
@ -205,7 +205,7 @@ public class Tick extends Widget {
|
||||
if (KeyStatus.pressSingle == event.status() && over) {
|
||||
keepFocus();
|
||||
this.signalClick.emit();
|
||||
this.propertyValue = !this.propertyValue;
|
||||
setPropertyValue(!this.propertyValue);
|
||||
return true;
|
||||
}
|
||||
if (KeyStatus.down == event.status() && over) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user