Skip to content

2.0 API Changes

kevzlou7979 edited this page Nov 12, 2016 · 16 revisions

Enhancement and Code Improvement / Cleanup

  • JSInterop support
  • Java 8 Support
  • GWT 2.8 support
  • Support with Errai
  • Fix license and Java Doc headers
  • Moved Active and Title mixins to gwt-material base mixins.
  • Update all Runnable parameters -> Function (JSInterop)
  • Implement CssName Constants to clean up each css classnames of individual widgets.
  • Refactor Color params(String) -> Color Enum
  • Added default Constructors
  • Implement AddinsCssName Constants to clean up each predefined css for all individual widgets.
  • Security update on setText() -> Convert to SafeHtml to disable XSS attacks

GWTTestCase

  • Implemented GWTTest to all Material Widgets and Addins.

Method Changes

  • Bubble
    • Clean and fixed intialization problem (Support with Errai).
  • ComboBox
    • Fixed the selection / value change event.
    • Changed addValue() -> addItem()
  • Cutout
    • Added missing Open Event.
    • Changed openCutout(), closeCutout() -> open(), close().
  • DocViewer
    • Use https instead of http on Doc Viewer URL
  • FileUploader
    • supports CurrentUploadProgressEvent
    • Added Total Progress Bar on Upload Collection items.
    • Fixed issue on not displaying the upload collection (2.0)
    • Default options
  • Overlay
    • added prebuilt PathAnimator effect
    • added open() and close() controlls
    • added OpenEvent and CloseEvent
    • Fixed issue on overflow scroll when overlay is opened.
  • PathAnimator
    • Changed Runnable param to Functions.Func (JSInterop + Lambda).
  • PopupMenu
    • Added open / close event handler.
    • Allow access to getX and getY
  • Scrollfire
    • Changed Runnable param to Functions.Func (JSInterop + Lambda).
  • Stepper
    • Added transition animation during step navigation
    • Added Start, Complete, Next and Previous events.
  • SwipeablePanel
    • Cleanup addSwipeLeft -> addSwipeLeftHandler
    • Cleanup addSwipeRight -> addSwipeRightHandler
  • Time Picker
    • Added open() / close() programmatic controls
    • Fixed onLoad() twice (Support with Errai)
    • Fixed clear() method to reset active styles on label and timeInput
    • Fixed issues on Placeholder preventing from opening.
    • Implement time picker orientation detection
  • Waterfall
    • Changed Runnable param to Functions.Func (JSInterop + Lambda).
  • Window
    • Changed openWindow(), closeWindow() -> open(), close().
    • Fixed MaterialWindow close and maximize icons preventing from click events
Clone this wiki locally
You can’t perform that action at this time.