Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

280518_1116AM_addingChangeFromCn1 #16

Merged
merged 71 commits into from
May 28, 2018
Merged

Conversation

DurankGts
Copy link
Owner

No description provided.

shannah and others added 30 commits May 2, 2018 11:22
Bound picker change events correctly to the UI
Fixed a bug where picker value was extracted as String because of a missing return statement
…cker class which causes it to prefer lightweight widgets rather than native widgets. It includes a new set of Spinner3D widgets (which aren't yet publicly exposed) for the lightweight pickers. These Spinner3D classes are built on top of a new scene graph implementation (in the com.codename1.ui.scene package) which is currently marked deprecated for internal use only. The scene graph allows us to create advanced 3D widgets.

While the Spinner3D classes will ultimately support full perspective (like the native iOS picker), they are currently juse emulating perspective using 2D transforms.  The code is mostly complete for full perspective support, but debugging on iOS has been difficult, so I have left it turned off for now.

In lightweight mode, all of the picker types are supported except the duration pickers.  Those will be implemented soon as well.

There are still things that need to be done to make this a full viable replacement for native pickers.  For example, we need to add the ability to make the various competing input forms cooperate.  E.g. If the picker is opened, and the user starts editing a text field, then the picker should close automatically as the keboard opens.  And vice-versa.

Another rough edge that needs to be smoothed out is the case where the picker covers dialog covers up the field that opened the picker.  It should automaticlaly scroll the forum so that the field is visible, but it doesn't do this yet.

Tablet support is still todo also.

Most of these todo items will be committed in the next few days.
…ter the simulator has been killed in a debugging session. Previously we only relide on a shutdown hook to destroy child CSS watching processes, but this isn't run if the simulator is killed via the IDE or with a kill signal. To handle this case, we have the simulator start up a ServerSocket which the CSS compiler connects to. If the socket disconnects for any reason, the CSS compiler will exit.
…eyboards and picker widgets. Now, when a Picker is opened (in lightweight mode), it will first stop any text editing and close any existing picker that is being displayed. This is implemented in a generic way. If other classes wish to register an input device (i.e. a widget that should be the only form of user input at a given time), it can register a VirtualInputDevice object with the form which allows the form to dispose of it when a new input device requests focus.
shai-almog and others added 28 commits May 21, 2018 07:24
--------------------
1-Possibility to custom uiid in open / close icon with setter
2-Possibility to custom uiid header with setter
…dOpenCloseIconInAccordion

210518 1006 pm custom back ground open close icon in accordion
…densities system (i.e. the DENSITY_xxx constants)
…ectory to make it easier to ignore them from git.
Change the way CN1 handle device resolution to use device PPI
…se getLightweightMode() conflicted with Component.setLightweightMode().
…tor"

This reverts commit 25ef3fd, reversing
changes made to f086cca.
…diting flow between components of a form. This follows similar conventions to HTML with its tabIndex attribute. This work is only partially complete at this point. JavaSE and Android implemented so far. Still need to implement iOS, Javascript, and UWP. This commit also has some flickering when focusing the Picker. Will clean this up on Monday.
Moved the type validation code up the hierarchy so it can be reused by map, list & set
Made this code work for primitive types too as those would make sense in a set/list
@DurankGts DurankGts merged commit bfe7c3c into DurankGts:master May 28, 2018
DurankGts pushed a commit that referenced this pull request May 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants