Skip to content

Commit c4af57b

Browse files
author
MicroEJ GitHub Delivery
committed
Version 7.1.0
1 parent e989014 commit c4af57b

8 files changed

Lines changed: 165 additions & 16 deletions

File tree

.gh.keep_binary

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
demo.gif

CHANGELOG.rst

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,108 @@
1+
===========
2+
Changelog
3+
===========
4+
5+
All notable changes to this project will be documented in this file.
6+
7+
The format is based on `Keep a Changelog <https://keepachangelog.com/en/1.0.0/>`_,
8+
and this project adheres to `Semantic Versioning <https://semver.org/spec/v2.0.0.html>`_.
9+
10+
--------------------
11+
7.1.0 - 2020-11-26
12+
--------------------
13+
14+
Added
15+
=====
16+
17+
- Add CHANGELOG.rst (this file).
18+
19+
Changed
20+
=======
21+
22+
- Update demo widget.
23+
- Update and rename README.rst.
24+
25+
--------------------
26+
7.0.2 - 2020-11-12
27+
--------------------
28+
29+
Changed
30+
=======
31+
32+
- Update demo widget.
33+
34+
--------------------
35+
7.0.1 - 2020-11-03
36+
--------------------
37+
38+
Changed
39+
=======
40+
41+
- Update demo widget.
42+
43+
--------------------
44+
7.0.0 - 2020-09-21
45+
--------------------
46+
47+
Changed
48+
=======
49+
50+
- Update demo widget.
51+
52+
--------------------
53+
6.2.0 - 2019-10-29
54+
--------------------
55+
56+
Changed
57+
=======
58+
59+
- Update demo widget.
60+
61+
--------------------
62+
6.1.1 - 2018-10-22
63+
--------------------
64+
65+
Changed
66+
=======
67+
68+
- Update demo widget.
69+
70+
--------------------
71+
6.1.0 - 2017-12-27
72+
--------------------
73+
74+
Changed
75+
=======
76+
77+
- Update demo widget.
78+
79+
--------------------
80+
6.0.0 - 2017-01-30
81+
--------------------
82+
83+
Changed
84+
=======
85+
86+
- Update demo widget.
87+
88+
--------------------
89+
5.0.1 - 2016-07-01
90+
--------------------
91+
92+
Changed
93+
=======
94+
95+
- Update demo widget.
96+
97+
--------------------
98+
5.0.0 - 2016-06-28
99+
--------------------
100+
101+
Added
102+
=====
103+
104+
- Add demo widget - please refer to its `CHANGELOG.md <com.microej.demo.widget/CHANGELOG.md>`_ for more information.
105+
106+
.. ReStructuredText
107+
.. Copyright 2020 MicroEJ Corp. All rights reserved.
108+
.. Use of this source code is governed by a BSD-style license that can be found with this software.

README.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

README.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
==========
2+
Overview
3+
==========
4+
5+
This repository contains a demo illustrating the widgets and containers available in the widget library.
6+
Please refer to its `README.md <com.microej.demo.widget/README.md>`_ for more information.
7+
8+
.. image:: demo.gif
9+
:align: center
10+
11+
.. ReStructuredText
12+
.. Copyright 2020 MicroEJ Corp. All rights reserved.
13+
.. Use of this source code is governed by a BSD-style license that can be found with this software.

com.microej.demo.widget/CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## 7.0.3 - 2020-11-26
9+
10+
### Changed
11+
12+
- Update README.md.
13+
814
## 7.0.2 - 2020-11-12
915

1016
### Added
@@ -96,4 +102,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
96102
_Markdown_
97103
_Copyright 2016-2020 MicroEJ Corp. All rights reserved._
98104
_Use of this source code is governed by a BSD-style license that can be found with this software._
99-
_MicroEJ Corp. PROPRIETARY. Use is subject to license terms._

com.microej.demo.widget/README.md

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,49 @@
11
# Overview
22

3-
This demo illustrates the widgets and containers available in the widget
4-
library: `ej.library.ui#widget-3.0.0`.
3+
This demo illustrates the widgets and containers available in the widget library: `ej.library.ui#widget-3.1.0 <https://repository.microej.com/artifacts/ej/library/ui/widget/3.1.0/>`_.
4+
5+
At startup, it shows a list of items.
6+
Clicking on an item opens a new page showing a widget or a set of widgets.
7+
In each of these pages, a button allows to go back to the main list.
8+
9+
For each page, a package exists in the source with the same name.
10+
(Example for the `Label` page: `com.microej.demo.widget.label`.)
11+
The package contains the page and some widgets if necessary.
12+
13+
Each page class contains 2 methods:
14+
15+
- `getContentWidget()` that creates the page content (the hierarchy of widgets and containers),
16+
- `populateStylesheet(CascadingStylesheet)` that creates the styles for the widgets in the page.
17+
18+
Here are the pages:
19+
20+
- `Label`: demonstrates the simple `Label` widget from the widget library.
21+
- `Button`: demonstrates different styles of the simple `Button` widget from the widget library.
22+
- `Checkbox`: demonstrates a `Checkbox` widget.
23+
- `Radio Button`: demonstrates a `RadioButton` widget.
24+
- `Toggle`: demonstrates a `Toggle` widget animated when its state changes.
25+
- `Progress Bar`: demonstrates a `ProgressBar` widget.
26+
- `Indeterminate Progress Bar`: demonstrates an `IndeterminateProgressBar` widget.
27+
- `List`: demonstrates the `List` container from the widget library.
28+
- `Grid`: demonstrates the `Grid` container from the widget library.
29+
- `Dock`: demonstrates the `Dock` container from the widget library.
30+
- `Split`: demonstrates a `Split` container.
31+
- `Scrollable List`: demonstrates a `Scrollable List` container.
532

633
# Usage
734

8-
The main class is [Navigation.java](/src/main/java/com/microej/demo/widget/common/Navigation.java).
35+
The main class is [Navigation.java](src/main/java/com/microej/demo/widget/common/Navigation.java).
36+
37+
Two launchers are available:
38+
39+
- `DemoWidget (SIM)`: launches the demo on the simulator of the STM32F7508 board,
40+
- `DemoWidget (EMB)`: builds a binary of the demo for the STM32F7508 board.
941

1042
# Requirements
1143

1244
This library requires the following Foundation Libraries:
1345

14-
@FOUNDATION_LIBRARIES_LIST@
46+
EDC-1.3, BON-1.4, MICROUI-3.0, DRAWING-1.0
1547

1648
# Dependencies
1749

com.microej.demo.widget/module.ivy

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Use of this source code is governed by a BSD-style license that can be found with this software.
44
-->
55
<ivy-module version="2.0" xmlns:ea="http://www.easyant.org" xmlns:ej="https://developer.microej.com" ej:version="2.0.0">
6-
<info organisation="com.microej.demo" module="widget" status="integration" revision="7.0.2">
6+
<info organisation="com.microej.demo" module="widget" status="integration" revision="7.0.3">
77
<ea:build organisation="com.is2t.easyant.buildtypes" module="build-firmware-singleapp" revision="1.+">
88
<ea:property name="application.main.class" value="com.microej.demo.widget.common.Navigation"/>
99
<ea:property name="virtual.device.sim.only" value="set"/>
@@ -31,7 +31,5 @@
3131

3232
<dependency org="ej.library.ui" name="mwt" rev="3.1.1"/>
3333
<dependency org="ej.library.ui" name="widget" rev="3.1.0"/>
34-
35-
<dependency org="com.is2t.CM4.referencePlatforms.st.testui" name="STM32F429IEVAL-TestUI_rgb565" rev="3.0.0" conf="platform->platformDev" transitive="false"/>
3634
</dependencies>
3735
</ivy-module>

demo.gif

1.1 MB
Loading

0 commit comments

Comments
 (0)