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

Update from CN1 #25

Merged
merged 26 commits into from
Feb 22, 2020
Merged

Update from CN1 #25

merged 26 commits into from
Feb 22, 2020

Conversation

ThomasH99
Copy link
Owner

No description provided.

jsfan3 and others added 26 commits February 2, 2020 06:23
I added a link to a blog article of Steve that clarify the externalizable interface in a way deeper than the Javadoc.
I added a link to a blog article that explains the ComponentSelector in a way deeper and clearer than the Javadoc.
…ing more flexible. Calling setPreferredW() will now cause the preferred height to be calculated accordingly, and vice versa. Previously setting preferred width or height would result in the orthogonal dimension being calculated based on the full-size image.
…will be called even if the text area was not currently editing.

Added support for tabbing to previous field from textfields in JavaSE port.
…hat support addActionListener/removeActionListener methods. This makes it much easier to bind event listeners to components in a more generic way.
…a ListProperty

Fix #3025, fetchAsProperties throws an exception if the PBO contains a ListProperty
Added some more nuance to layout of children inside scrollable containers with the constrainWidthWhenScrollable() and constrainHeightWhenScrollable() methods.
Moved DataChangeListener and DoneListener support into TextArea from TextField so that these are available for multi-line fields.
Changed behaviour of JavaSE multiline text areas when a done listener is assigned to the TextArea.  Enter will now fire done event.  Shift-enter will do what enter used to do - add a newline.
…orted.

Added support for explicit placement of the tracking arrow for roundrectborder.
`SpanMultiButton` was missing: I needed it, so I created it. I used your `MultiButton` implementation as base.
The javadoc contains a code example as test case and two images of the Simulator.

The gist that I used in the Javadoc and the images are here: https://gist.github.com/jsfan3/83586d7b6db9b66772d02d25898f1bad
Useful for dynamic UI
Replaced `SpanLabel` with `TextArea`
…ect border. Previously all stroke settings were converted into pixels, which is problematic for design tools and CSS compiler that need to set stroke in millimeters.
… when they change. This is useful for URLImages that may need to notify consumers when the image data is finished loading.

Also added 'pending' cache in URL image so that createToStorage() and createToFileSystem() will internally store a reference to the URLImage until it is finished loading.  This way if the same image is requested multiple times, it will return a single URL image, rather than createing separately and loading the same image multiple times.
…ts weren't being delivered properly to lead components when inside the toolbar. This fixes the event routing in such cases to match the normal event routing.

Fixed long press event support in SpanButton by adding long press listeners directly to the lead component.
@ThomasH99 ThomasH99 merged commit b994406 into ThomasH99:master Feb 22, 2020
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.

3 participants