[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;
|
package sample.atriasoft.ewol.sampleButton;
|
||||||
|
|
||||||
import org.atriasoft.etk.Uri;
|
|
||||||
import org.atriasoft.ewol.widget.Composer;
|
import org.atriasoft.ewol.widget.Composer;
|
||||||
import org.atriasoft.ewol.widget.Widget;
|
import org.atriasoft.ewol.widget.Widget;
|
||||||
|
|
||||||
@ -11,11 +10,11 @@ public class MainWindows extends BasicWindows {
|
|||||||
public MainWindows() {
|
public MainWindows() {
|
||||||
setPropertyTitle("Simple Button test");
|
setPropertyTitle("Simple Button test");
|
||||||
//final Widget data = Composer.composerGenerateString("<Composer><Label>hello, how are you</Label></Composer>");
|
//final Widget data = Composer.composerGenerateString("<Composer><Label>hello, how are you</Label></Composer>");
|
||||||
final Widget data = Composer.composerGenerateString("<Spin/>");
|
//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("<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>");
|
+ "<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"));
|
//final Widget data = Composer.composerGenerateFile(new Uri("DATA", "ewol-gui-file-chooser.xml", "ewol"));
|
||||||
this.setTestWidget(data);
|
this.setTestWidget(data);
|
||||||
/*
|
/*
|
||||||
|
@ -8,6 +8,7 @@ package org.atriasoft.ewol.compositing;
|
|||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
|
import org.atriasoft.aknot.exception.AknotException;
|
||||||
import org.atriasoft.etk.Color;
|
import org.atriasoft.etk.Color;
|
||||||
import org.atriasoft.etk.Uri;
|
import org.atriasoft.etk.Uri;
|
||||||
import org.atriasoft.etk.math.Matrix4f;
|
import org.atriasoft.etk.math.Matrix4f;
|
||||||
@ -808,6 +809,9 @@ public abstract class TextBase extends Compositing {
|
|||||||
} catch (final ExmlException e) {
|
} catch (final ExmlException e) {
|
||||||
Log.error("Error in finding node from XML data in printHTML:" + e.getMessage());
|
Log.error("Error in finding node from XML data in printHTML:" + e.getMessage());
|
||||||
e.printStackTrace();
|
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.AknotManaged;
|
||||||
import org.atriasoft.aknot.annotation.AknotName;
|
import org.atriasoft.aknot.annotation.AknotName;
|
||||||
|
import org.atriasoft.aknot.exception.AknotException;
|
||||||
import org.atriasoft.etk.Dimension3f;
|
import org.atriasoft.etk.Dimension3f;
|
||||||
import org.atriasoft.etk.Uri;
|
import org.atriasoft.etk.Uri;
|
||||||
import org.atriasoft.etk.math.Vector3b;
|
import org.atriasoft.etk.math.Vector3b;
|
||||||
@ -63,6 +64,9 @@ public class Composer extends Container {
|
|||||||
} catch (final ExmlException ex) {
|
} catch (final ExmlException ex) {
|
||||||
Log.error("Fail to load Data !!! {}", ex.toString());
|
Log.error("Fail to load Data !!! {}", ex.toString());
|
||||||
ex.printStackTrace();
|
ex.printStackTrace();
|
||||||
|
} catch (final AknotException ex) {
|
||||||
|
Log.error("Fail to load Data !!! {}", ex.toString());
|
||||||
|
ex.printStackTrace();
|
||||||
}
|
}
|
||||||
if (result == null) {
|
if (result == null) {
|
||||||
return null;
|
return null;
|
||||||
|
@ -205,7 +205,7 @@ public class Tick extends Widget {
|
|||||||
if (KeyStatus.pressSingle == event.status() && over) {
|
if (KeyStatus.pressSingle == event.status() && over) {
|
||||||
keepFocus();
|
keepFocus();
|
||||||
this.signalClick.emit();
|
this.signalClick.emit();
|
||||||
this.propertyValue = !this.propertyValue;
|
setPropertyValue(!this.propertyValue);
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
if (KeyStatus.down == event.status() && over) {
|
if (KeyStatus.down == event.status() && over) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user