├── .gitignore ├── .travis.yml ├── .utility └── deploy.sh ├── CONTRIBUTING.md ├── LICENSE ├── LICENSE.txt ├── README.md ├── gwt-material ├── LICENSE.txt ├── pom.xml └── src │ ├── main │ ├── java │ │ └── gwt │ │ │ └── material │ │ │ └── design │ │ │ ├── client │ │ │ ├── JQueryMigrate.java │ │ │ ├── JQueryProvider.java │ │ │ ├── MaterialDesign.java │ │ │ ├── MaterialDesignBase.java │ │ │ ├── MaterialDesignDebug.java │ │ │ ├── MaterialDesignDebugBase.java │ │ │ ├── MaterialWithJQuery.java │ │ │ ├── MaterialWithJQueryDebug.java │ │ │ ├── MaterialWithoutResources.java │ │ │ ├── accessibility │ │ │ │ ├── AccessibilityControl.java │ │ │ │ └── TriggerCallback.java │ │ │ ├── adaptive │ │ │ │ ├── AdaptiveWidget.java │ │ │ │ └── AdaptiveWidgetMap.java │ │ │ ├── api │ │ │ │ ├── ApiFeature.java │ │ │ │ ├── ApiRegistry.java │ │ │ │ └── google │ │ │ │ │ └── maps │ │ │ │ │ ├── GoogleApi.java │ │ │ │ │ ├── GoogleMapsApi.java │ │ │ │ │ └── MapLibrary.java │ │ │ ├── async │ │ │ │ ├── AsyncWidgetCallback.java │ │ │ │ ├── HasAsyncCallback.java │ │ │ │ ├── HasAsyncDisplayLoader.java │ │ │ │ ├── HasAsyncRenderer.java │ │ │ │ ├── IsAsyncWidget.java │ │ │ │ ├── loader │ │ │ │ │ ├── AsyncDisplayLoader.java │ │ │ │ │ ├── AsyncIconDisplayLoader.java │ │ │ │ │ ├── DefaultButtonLoader.java │ │ │ │ │ ├── DefaultCheckBoxLoader.java │ │ │ │ │ ├── DefaultCollapsibleItemLoader.java │ │ │ │ │ ├── DefaultDisplayLoader.java │ │ │ │ │ ├── DefaultListValueBoxLoader.java │ │ │ │ │ └── DefaultSwitchLoader.java │ │ │ │ ├── mixin │ │ │ │ │ └── AsyncWidgetMixin.java │ │ │ │ └── renderer │ │ │ │ │ └── AsyncRenderer.java │ │ │ ├── base │ │ │ │ ├── AbstractButton.java │ │ │ │ ├── AbstractIconButton.java │ │ │ │ ├── AbstractSideNav.java │ │ │ │ ├── AbstractTextWidget.java │ │ │ │ ├── AbstractValueWidget.java │ │ │ │ ├── AllowBlankKeyFactory.java │ │ │ │ ├── BaseCheckBox.java │ │ │ │ ├── ClipboardDataTransfer.java │ │ │ │ ├── CopyCommand.java │ │ │ │ ├── CopyCommandCallback.java │ │ │ │ ├── CopyCommandLocale.java │ │ │ │ ├── DefaultHtmlSanitizer.java │ │ │ │ ├── DefaultMoreChipHandler.java │ │ │ │ ├── DefaultSearchMatcher.java │ │ │ │ ├── DeferredPrompt.java │ │ │ │ ├── DropdownItemRenderer.java │ │ │ │ ├── HasActivates.java │ │ │ │ ├── HasActive.java │ │ │ │ ├── HasActiveParent.java │ │ │ │ ├── HasAllDragAndDropHandlers.java │ │ │ │ ├── HasAutocomplete.java │ │ │ │ ├── HasAvatar.java │ │ │ │ ├── HasAxis.java │ │ │ │ ├── HasBorder.java │ │ │ │ ├── HasCaption.java │ │ │ │ ├── HasCenterOn.java │ │ │ │ ├── HasCircle.java │ │ │ │ ├── HasClearActiveHandler.java │ │ │ │ ├── HasClearOnKeyUp.java │ │ │ │ ├── HasCollapsibleHandlers.java │ │ │ │ ├── HasColors.java │ │ │ │ ├── HasConfiguration.java │ │ │ │ ├── HasContainer.java │ │ │ │ ├── HasContentEditable.java │ │ │ │ ├── HasCopyCommand.java │ │ │ │ ├── HasCounter.java │ │ │ │ ├── HasDataAttributes.java │ │ │ │ ├── HasDelayTransition.java │ │ │ │ ├── HasDensity.java │ │ │ │ ├── HasDepth.java │ │ │ │ ├── HasDimension.java │ │ │ │ ├── HasDismissible.java │ │ │ │ ├── HasDraggableHandlers.java │ │ │ │ ├── HasDroppableHandlers.java │ │ │ │ ├── HasDurationTransition.java │ │ │ │ ├── HasErrorText.java │ │ │ │ ├── HasFieldSensitivity.java │ │ │ │ ├── HasFieldTypes.java │ │ │ │ ├── HasFilterStyle.java │ │ │ │ ├── HasFlexbox.java │ │ │ │ ├── HasFloat.java │ │ │ │ ├── HasFontSize.java │ │ │ │ ├── HasFontWeight.java │ │ │ │ ├── HasFullscreen.java │ │ │ │ ├── HasGrid.java │ │ │ │ ├── HasGridLayout.java │ │ │ │ ├── HasHelperText.java │ │ │ │ ├── HasHideOn.java │ │ │ │ ├── HasHoverable.java │ │ │ │ ├── HasHref.java │ │ │ │ ├── HasIcon.java │ │ │ │ ├── HasId.java │ │ │ │ ├── HasImage.java │ │ │ │ ├── HasInOutDurationTransition.java │ │ │ │ ├── HasInitialClasses.java │ │ │ │ ├── HasInlineStyle.java │ │ │ │ ├── HasInputChangeHandler.java │ │ │ │ ├── HasInputType.java │ │ │ │ ├── HasInteractionHandlers.java │ │ │ │ ├── HasLabel.java │ │ │ │ ├── HasLetter.java │ │ │ │ ├── HasNativeBrowserStyle.java │ │ │ │ ├── HasNoSideNavSelection.java │ │ │ │ ├── HasOpacity.java │ │ │ │ ├── HasOpenClose.java │ │ │ │ ├── HasOrientation.java │ │ │ │ ├── HasOrientationChangeHandler.java │ │ │ │ ├── HasOverlayStyle.java │ │ │ │ ├── HasPasteHandlers.java │ │ │ │ ├── HasPlaceholder.java │ │ │ │ ├── HasPosition.java │ │ │ │ ├── HasProgress.java │ │ │ │ ├── HasRawValue.java │ │ │ │ ├── HasReadOnly.java │ │ │ │ ├── HasRegex.java │ │ │ │ ├── HasRegexHandlers.java │ │ │ │ ├── HasReload.java │ │ │ │ ├── HasRequiredField.java │ │ │ │ ├── HasResetField.java │ │ │ │ ├── HasResize.java │ │ │ │ ├── HasSafeText.java │ │ │ │ ├── HasScrollspy.java │ │ │ │ ├── HasSearchHandlers.java │ │ │ │ ├── HasSelectables.java │ │ │ │ ├── HasSeparator.java │ │ │ │ ├── HasShadow.java │ │ │ │ ├── HasShowOn.java │ │ │ │ ├── HasShrinkableNavBarHandlers.java │ │ │ │ ├── HasSideNavHandlers.java │ │ │ │ ├── HasSingleValue.java │ │ │ │ ├── HasSize.java │ │ │ │ ├── HasSourceSet.java │ │ │ │ ├── HasStatusDisplayType.java │ │ │ │ ├── HasStatusText.java │ │ │ │ ├── HasSuccessText.java │ │ │ │ ├── HasSymbols.java │ │ │ │ ├── HasTargetHistoryToken.java │ │ │ │ ├── HasTextAlign.java │ │ │ │ ├── HasTitle.java │ │ │ │ ├── HasToggleReadOnlyHandler.java │ │ │ │ ├── HasTooltip.java │ │ │ │ ├── HasTransform.java │ │ │ │ ├── HasTruncate.java │ │ │ │ ├── HasType.java │ │ │ │ ├── HasVerticalAlign.java │ │ │ │ ├── HasWaves.java │ │ │ │ ├── HasWithHeader.java │ │ │ │ ├── HasWordBreak.java │ │ │ │ ├── HasZoom.java │ │ │ │ ├── IsPropagateToChildren.java │ │ │ │ ├── JsLoader.java │ │ │ │ ├── KeyFactory.java │ │ │ │ ├── MaterialWidget.java │ │ │ │ ├── MoreChipHandler.java │ │ │ │ ├── NumberBox.java │ │ │ │ ├── SearchMatcher.java │ │ │ │ ├── SearchObject.java │ │ │ │ ├── SelectionToggleHandler.java │ │ │ │ ├── Suggestion.java │ │ │ │ ├── TextWidget.java │ │ │ │ ├── ToastPosition.java │ │ │ │ ├── TransitionConfig.java │ │ │ │ ├── TypeWidget.java │ │ │ │ ├── Waves.java │ │ │ │ ├── density │ │ │ │ │ ├── Density.java │ │ │ │ │ ├── DensityValue.java │ │ │ │ │ ├── DisplayDensity.java │ │ │ │ │ └── DisplayDensityStorage.java │ │ │ │ ├── error │ │ │ │ │ ├── BasicEditorError.java │ │ │ │ │ ├── DefaultErrorHandler.java │ │ │ │ │ ├── ErrorHandler.java │ │ │ │ │ ├── ErrorHandlerType.java │ │ │ │ │ └── HasErrorHandler.java │ │ │ │ ├── helper │ │ │ │ │ ├── BrowserPrefixHelper.java │ │ │ │ │ ├── CodeHelper.java │ │ │ │ │ ├── ColorHelper.java │ │ │ │ │ ├── DOMHelper.java │ │ │ │ │ ├── DateFormatHelper.java │ │ │ │ │ ├── EnumHelper.java │ │ │ │ │ ├── EventHelper.java │ │ │ │ │ ├── ScrollHelper.java │ │ │ │ │ ├── StyleHelper.java │ │ │ │ │ ├── UiHelper.java │ │ │ │ │ └── UiSortHelper.java │ │ │ │ ├── mixin │ │ │ │ │ ├── AbstractMixin.java │ │ │ │ │ ├── ActivatesMixin.java │ │ │ │ │ ├── ActiveMixin.java │ │ │ │ │ ├── AttributeMixin.java │ │ │ │ │ ├── BorderMixin.java │ │ │ │ │ ├── ClearOnKeyUpMixin.java │ │ │ │ │ ├── ColorsMixin.java │ │ │ │ │ ├── ContainerMixin.java │ │ │ │ │ ├── CopyCommandMixin.java │ │ │ │ │ ├── CounterMixin.java │ │ │ │ │ ├── CssNameMixin.java │ │ │ │ │ ├── CssTypeMixin.java │ │ │ │ │ ├── DensityMixin.java │ │ │ │ │ ├── DimensionMixin.java │ │ │ │ │ ├── EnabledMixin.java │ │ │ │ │ ├── ErrorHandlerMixin.java │ │ │ │ │ ├── FieldClearMixin.java │ │ │ │ │ ├── FieldSensitivityMixin.java │ │ │ │ │ ├── FieldTypeMixin.java │ │ │ │ │ ├── FilterStyleMixin.java │ │ │ │ │ ├── FlexboxMixin.java │ │ │ │ │ ├── FocusableMixin.java │ │ │ │ │ ├── FontSizeMixin.java │ │ │ │ │ ├── FullscreenMixin.java │ │ │ │ │ ├── GridLayoutMixin.java │ │ │ │ │ ├── GridMixin.java │ │ │ │ │ ├── HTMLMixin.java │ │ │ │ │ ├── HrefMixin.java │ │ │ │ │ ├── IdMixin.java │ │ │ │ │ ├── ImageMixin.java │ │ │ │ │ ├── LetterMixin.java │ │ │ │ │ ├── NativeBrowserStyleMixin.java │ │ │ │ │ ├── OrientationMixin.java │ │ │ │ │ ├── OverlayStyleMixin.java │ │ │ │ │ ├── ProgressMixin.java │ │ │ │ │ ├── ReadOnlyMixin.java │ │ │ │ │ ├── RegexMixin.java │ │ │ │ │ ├── RequiredFieldMixin.java │ │ │ │ │ ├── ResetFieldMixin.java │ │ │ │ │ ├── ScrollspyMixin.java │ │ │ │ │ ├── SeparatorMixin.java │ │ │ │ │ ├── ShadowMixin.java │ │ │ │ │ ├── StatusDisplayMixin.java │ │ │ │ │ ├── StatusTextMixin.java │ │ │ │ │ ├── StyleMixin.java │ │ │ │ │ ├── StylePropertyMixin.java │ │ │ │ │ ├── TextMixin.java │ │ │ │ │ ├── TitleMixin.java │ │ │ │ │ ├── ToggleStyleMixin.java │ │ │ │ │ ├── TooltipMixin.java │ │ │ │ │ ├── TransformMixin.java │ │ │ │ │ ├── TruncateMixin.java │ │ │ │ │ ├── ValidatorMixin.java │ │ │ │ │ ├── VerticalAlignMixin.java │ │ │ │ │ └── WavesMixin.java │ │ │ │ ├── validator │ │ │ │ │ ├── AbstractValidator.java │ │ │ │ │ ├── BlankValidator.java │ │ │ │ │ ├── BooleanParser.java │ │ │ │ │ ├── DecimalMaxValidator.java │ │ │ │ │ ├── DecimalMinValidator.java │ │ │ │ │ ├── DefaultDirtyValidator.java │ │ │ │ │ ├── DefaultValidatorMessageMixin.java │ │ │ │ │ ├── DirtyCheck.java │ │ │ │ │ ├── DirtyValidator.java │ │ │ │ │ ├── FieldMatchValidator.java │ │ │ │ │ ├── FutureValidator.java │ │ │ │ │ ├── GroupValidator.java │ │ │ │ │ ├── HasValidators.java │ │ │ │ │ ├── MessageFormat.java │ │ │ │ │ ├── PastValidator.java │ │ │ │ │ ├── RegExValidator.java │ │ │ │ │ ├── SizeValidator.java │ │ │ │ │ ├── ValidationChangedEvent.java │ │ │ │ │ ├── ValidationMessages.java │ │ │ │ │ ├── Validator.java │ │ │ │ │ ├── ValidatorMessageMixin.java │ │ │ │ │ └── ValidatorWrapper.java │ │ │ │ └── viewport │ │ │ │ │ ├── Boundary.java │ │ │ │ │ ├── DefaultViewPortResizeHandler.java │ │ │ │ │ ├── Resolution.java │ │ │ │ │ ├── ViewPort.java │ │ │ │ │ ├── ViewPortChange.java │ │ │ │ │ ├── ViewPortFallback.java │ │ │ │ │ ├── ViewPortHandler.java │ │ │ │ │ ├── ViewPortRect.java │ │ │ │ │ ├── ViewPortResizeHandler.java │ │ │ │ │ ├── ViewPortZoomHandler.java │ │ │ │ │ └── WidthBoundary.java │ │ │ ├── constants │ │ │ │ ├── Alignment.java │ │ │ │ ├── Autocomplete.java │ │ │ │ ├── Axis.java │ │ │ │ ├── Blur.java │ │ │ │ ├── BrowserPrefixCssType.java │ │ │ │ ├── ButtonSize.java │ │ │ │ ├── ButtonType.java │ │ │ │ ├── CenterOn.java │ │ │ │ ├── CheckBoxType.java │ │ │ │ ├── ChipType.java │ │ │ │ ├── CollapsibleType.java │ │ │ │ ├── CollectionType.java │ │ │ │ ├── Color.java │ │ │ │ ├── CssName.java │ │ │ │ ├── CssType.java │ │ │ │ ├── DatePickerContainer.java │ │ │ │ ├── DatePickerLanguage.java │ │ │ │ ├── DatePickerType.java │ │ │ │ ├── DialogType.java │ │ │ │ ├── Display.java │ │ │ │ ├── Edge.java │ │ │ │ ├── FABType.java │ │ │ │ ├── FieldType.java │ │ │ │ ├── Flex.java │ │ │ │ ├── FlexAlignContent.java │ │ │ │ ├── FlexAlignItems.java │ │ │ │ ├── FlexAlignSelf.java │ │ │ │ ├── FlexDirection.java │ │ │ │ ├── FlexJustifyContent.java │ │ │ │ ├── FlexWrap.java │ │ │ │ ├── FooterType.java │ │ │ │ ├── HeadingSize.java │ │ │ │ ├── HideOn.java │ │ │ │ ├── IconDisplay.java │ │ │ │ ├── IconPosition.java │ │ │ │ ├── IconSize.java │ │ │ │ ├── IconType.java │ │ │ │ ├── ImageType.java │ │ │ │ ├── InputType.java │ │ │ │ ├── LoaderSize.java │ │ │ │ ├── LoaderType.java │ │ │ │ ├── NavBarType.java │ │ │ │ ├── OffsetPosition.java │ │ │ │ ├── Orientation.java │ │ │ │ ├── OverlayOption.java │ │ │ │ ├── Position.java │ │ │ │ ├── ProgressType.java │ │ │ │ ├── RadioButtonType.java │ │ │ │ ├── Shade.java │ │ │ │ ├── ShowOn.java │ │ │ │ ├── SideNavEvents.java │ │ │ │ ├── SideNavType.java │ │ │ │ ├── Size.java │ │ │ │ ├── SpinnerColor.java │ │ │ │ ├── StatusDisplayType.java │ │ │ │ ├── SwitchType.java │ │ │ │ ├── SymbolType.java │ │ │ │ ├── TabType.java │ │ │ │ ├── TextAlign.java │ │ │ │ ├── Type.java │ │ │ │ ├── WavesType.java │ │ │ │ └── WordBreak.java │ │ │ ├── events │ │ │ │ ├── ClearActiveEvent.java │ │ │ │ ├── ClearEvent.java │ │ │ │ ├── ClearingEvent.java │ │ │ │ ├── ClipBoardEvent.java │ │ │ │ ├── ClosingEvent.java │ │ │ │ ├── CollapseEvent.java │ │ │ │ ├── DefaultHandlerRegistry.java │ │ │ │ ├── DragEndEvent.java │ │ │ │ ├── DragEnterEvent.java │ │ │ │ ├── DragLeaveEvent.java │ │ │ │ ├── DragMoveEvent.java │ │ │ │ ├── DragOverEvent.java │ │ │ │ ├── DragStartEvent.java │ │ │ │ ├── DropActivateEvent.java │ │ │ │ ├── DropDeactivateEvent.java │ │ │ │ ├── DropEvent.java │ │ │ │ ├── ExpandEvent.java │ │ │ │ ├── HandlerRegistry.java │ │ │ │ ├── HasHandlerRegistry.java │ │ │ │ ├── InputChangeEvent.java │ │ │ │ ├── NavBarExpandEvent.java │ │ │ │ ├── NavBarShrinkEvent.java │ │ │ │ ├── ObservedEvent.java │ │ │ │ ├── OpeningEvent.java │ │ │ │ ├── OrientationChangeEvent.java │ │ │ │ ├── PageSelectionEvent.java │ │ │ │ ├── PasteEvent.java │ │ │ │ ├── PasteNativeEvent.java │ │ │ │ ├── RegexValidationEvent.java │ │ │ │ ├── SearchFinishEvent.java │ │ │ │ ├── SearchNoResultEvent.java │ │ │ │ ├── SensitivityChangedEvent.java │ │ │ │ ├── SideNavClosedEvent.java │ │ │ │ ├── SideNavClosingEvent.java │ │ │ │ ├── SideNavOpenedEvent.java │ │ │ │ ├── SideNavOpeningEvent.java │ │ │ │ ├── SideNavPushEvent.java │ │ │ │ └── ToggleReadOnlyEvent.java │ │ │ ├── font │ │ │ │ ├── Font.java │ │ │ │ ├── FontResourceInjector.java │ │ │ │ └── OpenSansFont.java │ │ │ ├── js │ │ │ │ ├── ClipboardJS.java │ │ │ │ ├── CopyCommandData.java │ │ │ │ ├── JsDatePickerOptions.java │ │ │ │ ├── JsDropdownOptions.java │ │ │ │ ├── JsMaterialElement.java │ │ │ │ ├── JsModalOptions.java │ │ │ │ ├── JsPushpinOptions.java │ │ │ │ ├── JsSideNavOptions.java │ │ │ │ ├── JsSliderOptions.java │ │ │ │ ├── JsTooltipOptions.java │ │ │ │ ├── MediaQueryEvent.java │ │ │ │ ├── MediaQueryList.java │ │ │ │ ├── ModernClipboard.java │ │ │ │ ├── Navigator.java │ │ │ │ ├── ScrollOption.java │ │ │ │ ├── ScrollspyOption.java │ │ │ │ ├── Thing.java │ │ │ │ └── Window.java │ │ │ ├── pwa │ │ │ │ ├── PwaManager.java │ │ │ │ ├── base │ │ │ │ │ ├── AbstractPwaFeature.java │ │ │ │ │ └── PwaFeature.java │ │ │ │ ├── manifest │ │ │ │ │ ├── WebManifestManager.java │ │ │ │ │ ├── constants │ │ │ │ │ │ └── DisplayMode.java │ │ │ │ │ └── js │ │ │ │ │ │ └── AppInstaller.java │ │ │ │ ├── push │ │ │ │ │ ├── HasPushNotificationFeatures.java │ │ │ │ │ ├── PushNotificationManager.java │ │ │ │ │ ├── helper │ │ │ │ │ │ └── PushCryptoHelper.java │ │ │ │ │ └── js │ │ │ │ │ │ ├── Notification.java │ │ │ │ │ │ ├── NotificationOptions.java │ │ │ │ │ │ ├── PushManager.java │ │ │ │ │ │ ├── PushSubscription.java │ │ │ │ │ │ └── PushSubscriptionOptions.java │ │ │ │ ├── serviceworker │ │ │ │ │ ├── DefaultServiceWorkerPlugin.java │ │ │ │ │ ├── ServiceEvent.java │ │ │ │ │ ├── ServiceWorkerLifecycle.java │ │ │ │ │ ├── ServiceWorkerManager.java │ │ │ │ │ ├── ServiceWorkerPlugin.java │ │ │ │ │ ├── constants │ │ │ │ │ │ ├── ServiceWorkerMessage.java │ │ │ │ │ │ └── State.java │ │ │ │ │ ├── js │ │ │ │ │ │ ├── ServiceWorker.java │ │ │ │ │ │ ├── ServiceWorkerContainer.java │ │ │ │ │ │ ├── ServiceWorkerOption.java │ │ │ │ │ │ ├── ServiceWorkerRegistration.java │ │ │ │ │ │ └── SyncManager.java │ │ │ │ │ └── network │ │ │ │ │ │ ├── NetworkStatusManager.java │ │ │ │ │ │ └── events │ │ │ │ │ │ └── NetworkStatusChangeEvent.java │ │ │ │ └── theme │ │ │ │ │ └── BrowserThemeManager.java │ │ │ ├── resources │ │ │ │ ├── DarkThemeResources.java │ │ │ │ ├── JQueryMigrateDebugResources.java │ │ │ │ ├── JQueryMigrateResources.java │ │ │ │ ├── MaterialDatePickerClientBundle.java │ │ │ │ ├── MaterialDebugResources.java │ │ │ │ ├── MaterialResources.java │ │ │ │ ├── WithJQueryDebugResources.java │ │ │ │ └── WithJQueryResources.java │ │ │ ├── sanitizer │ │ │ │ ├── AbstractValueSanitizer.java │ │ │ │ ├── DefaultValueSanitizer.java │ │ │ │ ├── HasValueSanitizer.java │ │ │ │ ├── Keywords.java │ │ │ │ ├── Patterns.java │ │ │ │ ├── StandardValueSanitizer.java │ │ │ │ ├── ValueSanitizer.java │ │ │ │ ├── ValueSanitizerException.java │ │ │ │ ├── ValueSanitizerRegistry.java │ │ │ │ ├── ValueSanitizerTester.java │ │ │ │ ├── handler │ │ │ │ │ ├── AbstractSanitizeHandler.java │ │ │ │ │ ├── ChineseSanitizeHandler.java │ │ │ │ │ ├── EmojiSanitizeHandler.java │ │ │ │ │ ├── JapaneseSanitizeHandler.java │ │ │ │ │ ├── MathOperatorsSanitizeHandler.java │ │ │ │ │ ├── NonWhiteSpaceC0SanitizeHandler.java │ │ │ │ │ ├── NonWhiteSpaceC1SanitizeHandler.java │ │ │ │ │ ├── NumberFormsSanitizeHandler.java │ │ │ │ │ ├── NumericSanitizeHandler.java │ │ │ │ │ ├── OghamSanitizeHandler.java │ │ │ │ │ ├── QuotationSanitizeHandler.java │ │ │ │ │ ├── ReservedWordSanitizeHandler.java │ │ │ │ │ ├── RtlCharacterSanitizeHandler.java │ │ │ │ │ ├── SpecialCharacterSanitizeHandler.java │ │ │ │ │ ├── StandardSanitizeHandler.java │ │ │ │ │ ├── SuperscriptSubscriptSanitizeHandler.java │ │ │ │ │ ├── SymbolsSanitizeHandler.java │ │ │ │ │ ├── UnicodeSanitizeHandler.java │ │ │ │ │ ├── ValueSanitizeHandler.java │ │ │ │ │ ├── ValueSanitizerErrorEvent.java │ │ │ │ │ └── ZalgoTextSanitizeHandler.java │ │ │ │ └── utils │ │ │ │ │ └── EmojiUtil.java │ │ │ ├── theme │ │ │ │ ├── GlobalThemeConfig.java │ │ │ │ ├── Theme.java │ │ │ │ ├── ThemeManager.java │ │ │ │ ├── WidgetTheme.java │ │ │ │ └── dark │ │ │ │ │ ├── ColorScheme.java │ │ │ │ │ ├── ColorSchemeChangeEvent.java │ │ │ │ │ ├── CoreDarkThemeLoader.java │ │ │ │ │ ├── DarkThemeLoader.java │ │ │ │ │ ├── DarkThemeManager.java │ │ │ │ │ ├── HasColorSchemeChangeHandler.java │ │ │ │ │ └── HasDarkMode.java │ │ │ └── ui │ │ │ │ ├── MaterialAnchorButton.java │ │ │ │ ├── MaterialBadge.java │ │ │ │ ├── MaterialBigDecimalBox.java │ │ │ │ ├── MaterialBreadcrumb.java │ │ │ │ ├── MaterialButton.java │ │ │ │ ├── MaterialButtonGroup.java │ │ │ │ ├── MaterialCard.java │ │ │ │ ├── MaterialCardAction.java │ │ │ │ ├── MaterialCardContent.java │ │ │ │ ├── MaterialCardImage.java │ │ │ │ ├── MaterialCardReveal.java │ │ │ │ ├── MaterialCardTitle.java │ │ │ │ ├── MaterialCheckBox.java │ │ │ │ ├── MaterialChip.java │ │ │ │ ├── MaterialChipContainer.java │ │ │ │ ├── MaterialCollapsible.java │ │ │ │ ├── MaterialCollapsibleBody.java │ │ │ │ ├── MaterialCollapsibleHeader.java │ │ │ │ ├── MaterialCollapsibleItem.java │ │ │ │ ├── MaterialCollection.java │ │ │ │ ├── MaterialCollectionItem.java │ │ │ │ ├── MaterialCollectionSecondary.java │ │ │ │ ├── MaterialColumn.java │ │ │ │ ├── MaterialContainer.java │ │ │ │ ├── MaterialDarkModeToggle.java │ │ │ │ ├── MaterialDatePicker.java │ │ │ │ ├── MaterialDialog.java │ │ │ │ ├── MaterialDialogContent.java │ │ │ │ ├── MaterialDialogFooter.java │ │ │ │ ├── MaterialDialogHeader.java │ │ │ │ ├── MaterialDivider.java │ │ │ │ ├── MaterialDoubleBox.java │ │ │ │ ├── MaterialDropDown.java │ │ │ │ ├── MaterialFAB.java │ │ │ │ ├── MaterialFABList.java │ │ │ │ ├── MaterialFloatBox.java │ │ │ │ ├── MaterialFooter.java │ │ │ │ ├── MaterialFooterCopyright.java │ │ │ │ ├── MaterialHeader.java │ │ │ │ ├── MaterialHelpBlock.java │ │ │ │ ├── MaterialIcon.java │ │ │ │ ├── MaterialImage.java │ │ │ │ ├── MaterialInfo.java │ │ │ │ ├── MaterialInput.java │ │ │ │ ├── MaterialIntegerBox.java │ │ │ │ ├── MaterialLabel.java │ │ │ │ ├── MaterialLink.java │ │ │ │ ├── MaterialListBox.java │ │ │ │ ├── MaterialListValueBox.java │ │ │ │ ├── MaterialLoader.java │ │ │ │ ├── MaterialLongBox.java │ │ │ │ ├── MaterialNavBar.java │ │ │ │ ├── MaterialNavBarShrink.java │ │ │ │ ├── MaterialNavBrand.java │ │ │ │ ├── MaterialNavContent.java │ │ │ │ ├── MaterialNavMenu.java │ │ │ │ ├── MaterialNavSection.java │ │ │ │ ├── MaterialNumberBox.java │ │ │ │ ├── MaterialPager.java │ │ │ │ ├── MaterialPanel.java │ │ │ │ ├── MaterialParallax.java │ │ │ │ ├── MaterialPreLoader.java │ │ │ │ ├── MaterialProgress.java │ │ │ │ ├── MaterialPushpin.java │ │ │ │ ├── MaterialRadioButton.java │ │ │ │ ├── MaterialRange.java │ │ │ │ ├── MaterialRow.java │ │ │ │ ├── MaterialScrollspy.java │ │ │ │ ├── MaterialSearch.java │ │ │ │ ├── MaterialSearchResult.java │ │ │ │ ├── MaterialSection.java │ │ │ │ ├── MaterialSideNav.java │ │ │ │ ├── MaterialSideNavCard.java │ │ │ │ ├── MaterialSideNavContent.java │ │ │ │ ├── MaterialSideNavDrawer.java │ │ │ │ ├── MaterialSideNavMini.java │ │ │ │ ├── MaterialSideNavPush.java │ │ │ │ ├── MaterialSlideCaption.java │ │ │ │ ├── MaterialSlideItem.java │ │ │ │ ├── MaterialSlider.java │ │ │ │ ├── MaterialSpinner.java │ │ │ │ ├── MaterialSplashScreen.java │ │ │ │ ├── MaterialSwitch.java │ │ │ │ ├── MaterialSymbol.java │ │ │ │ ├── MaterialTab.java │ │ │ │ ├── MaterialTabItem.java │ │ │ │ ├── MaterialTextArea.java │ │ │ │ ├── MaterialTextBox.java │ │ │ │ ├── MaterialTitle.java │ │ │ │ ├── MaterialToast.java │ │ │ │ ├── MaterialTooltip.java │ │ │ │ ├── MaterialValueBox.java │ │ │ │ ├── MaterialVideo.java │ │ │ │ ├── MaterialWeather.java │ │ │ │ ├── animate │ │ │ │ ├── Animation.java │ │ │ │ ├── MaterialAnimation.java │ │ │ │ ├── Transition.java │ │ │ │ └── debugger │ │ │ │ │ ├── AnimationGlobalConfig.java │ │ │ │ │ └── AnimationSpeed.java │ │ │ │ └── html │ │ │ │ ├── Anchor.java │ │ │ │ ├── Br.java │ │ │ │ ├── ClearFix.java │ │ │ │ ├── Code.java │ │ │ │ ├── DateInput.java │ │ │ │ ├── Div.java │ │ │ │ ├── Footer.java │ │ │ │ ├── Header.java │ │ │ │ ├── Heading.java │ │ │ │ ├── Hr.java │ │ │ │ ├── IFrame.java │ │ │ │ ├── Icon.java │ │ │ │ ├── Italic.java │ │ │ │ ├── Label.java │ │ │ │ ├── ListItem.java │ │ │ │ ├── Main.java │ │ │ │ ├── Nav.java │ │ │ │ ├── OptGroup.java │ │ │ │ ├── Option.java │ │ │ │ ├── Paragraph.java │ │ │ │ ├── Pre.java │ │ │ │ ├── Small.java │ │ │ │ ├── SourceVideo.java │ │ │ │ ├── Span.java │ │ │ │ ├── Strong.java │ │ │ │ ├── Text.java │ │ │ │ ├── UnorderedList.java │ │ │ │ └── Video.java │ │ │ └── gen │ │ │ ├── IconTypeGenerator.java │ │ │ └── IconTypeTemplate.txt │ └── resources │ │ └── gwt │ │ └── material │ │ └── design │ │ ├── GwtMaterialBasicWithJQuery.gwt.xml │ │ ├── GwtMaterialBasicWithJQueryDebug.gwt.xml │ │ ├── GwtMaterialDesign.gwt.xml │ │ ├── GwtMaterialDesignBase.gwt.xml │ │ ├── GwtMaterialDesignBasic.gwt.xml │ │ ├── GwtMaterialDesignBasicDebug.gwt.xml │ │ ├── GwtMaterialDesignDebug.gwt.xml │ │ ├── GwtMaterialWithJQuery.gwt.xml │ │ ├── GwtMaterialWithJQueryDebug.gwt.xml │ │ ├── GwtMaterialWithoutResources.gwt.xml │ │ ├── Resources.gwt.xml │ │ ├── ResourcesBasic.gwt.xml │ │ ├── ResourcesBasicDebug.gwt.xml │ │ ├── ResourcesDebug.gwt.xml │ │ ├── client │ │ └── resources │ │ │ ├── css │ │ │ ├── materialize.dark.css │ │ │ └── materialize.dark.min.css │ │ │ ├── gwt-visualization.jar │ │ │ ├── js │ │ │ ├── animation.js │ │ │ ├── animation.min.js │ │ │ ├── app-installer.js │ │ │ ├── app-installer.min.js │ │ │ ├── clipboard.js │ │ │ ├── clipboard.min.js │ │ │ ├── datepicker │ │ │ │ ├── ar.js │ │ │ │ ├── bg_BG.js │ │ │ │ ├── bs_BA.js │ │ │ │ ├── ca_ES.js │ │ │ │ ├── cs_CZ.js │ │ │ │ ├── da_DK.js │ │ │ │ ├── de_DE.js │ │ │ │ ├── el_GR.js │ │ │ │ ├── en.js │ │ │ │ ├── es_ES.js │ │ │ │ ├── et_EE.js │ │ │ │ ├── eu_ES.js │ │ │ │ ├── fa_ir.js │ │ │ │ ├── fi_FI.js │ │ │ │ ├── fr_FR.js │ │ │ │ ├── gl_ES.js │ │ │ │ ├── he_IL.js │ │ │ │ ├── hi_IN.js │ │ │ │ ├── hr_HR.js │ │ │ │ ├── hu_HU.js │ │ │ │ ├── id_ID.js │ │ │ │ ├── is_IS.js │ │ │ │ ├── it_IT.js │ │ │ │ ├── ja_JP.js │ │ │ │ ├── ko_KR.js │ │ │ │ ├── lt_LT.js │ │ │ │ ├── lv_LV.js │ │ │ │ ├── nb_NO.js │ │ │ │ ├── ne_NP.js │ │ │ │ ├── nl_NL.js │ │ │ │ ├── pl_PL.js │ │ │ │ ├── pt_BR.js │ │ │ │ ├── pt_PT.js │ │ │ │ ├── ro_RO.js │ │ │ │ ├── ru_RU.js │ │ │ │ ├── sk_SK.js │ │ │ │ ├── sl_SI.js │ │ │ │ ├── sv_SE.js │ │ │ │ ├── th_TH.js │ │ │ │ ├── tr_TR.js │ │ │ │ ├── uk_UA.js │ │ │ │ ├── vi_VN.js │ │ │ │ ├── zh_CN.js │ │ │ │ └── zh_TW.js │ │ │ ├── focus-visible.js │ │ │ ├── focus-visible.min.js │ │ │ ├── jquery-3.5.1.js │ │ │ ├── jquery-3.5.1.min.js │ │ │ ├── jquery-migrate-3.3.1.js │ │ │ ├── jquery-migrate-3.3.1.min.js │ │ │ ├── materialize-0.97.5.js │ │ │ ├── materialize-0.97.5.min.js │ │ │ └── push.min.js │ │ │ └── prepros.cfg │ │ └── public │ │ ├── css │ │ ├── animation.css │ │ ├── animation.min.css │ │ ├── material-icons.css │ │ ├── material-icons.min.css │ │ ├── materialize.css │ │ └── materialize.min.css │ │ └── font │ │ └── material-icons │ │ ├── LICENSE.txt │ │ ├── MaterialIcons-Regular.ijmap │ │ ├── MaterialIcons-Regular.ttf │ │ ├── MaterialIconsOutlined-Regular.otf │ │ ├── MaterialIconsRound-Regular.otf │ │ ├── MaterialIconsSharp-Regular.otf │ │ └── MaterialIconsTwoTone-Regular.otf │ └── test │ ├── java │ ├── com │ │ └── google │ │ │ └── gwt │ │ │ └── junit │ │ │ ├── RunStyle.java │ │ │ └── RunStyleHtmlUnit.java │ └── gwt │ │ └── material │ │ └── design │ │ └── client │ │ ├── MaterialWidgetTestSuite.java │ │ ├── mixin │ │ ├── BaseMixinTest.java │ │ ├── CopyCommandMixinTest.java │ │ ├── StatusTextMixinTest.java │ │ └── TextMixinTest.java │ │ └── ui │ │ ├── MaterialBadgeTest.java │ │ ├── MaterialBigDecimalBoxTest.java │ │ ├── MaterialBreadcrumbTest.java │ │ ├── MaterialButtonTest.java │ │ ├── MaterialCardTest.java │ │ ├── MaterialCheckBoxTest.java │ │ ├── MaterialChipTest.java │ │ ├── MaterialCollapsibleTest.java │ │ ├── MaterialCollectionTest.java │ │ ├── MaterialDatePickerTest.java │ │ ├── MaterialDialogTest.java │ │ ├── MaterialDoubleBoxTest.java │ │ ├── MaterialDropdownTest.java │ │ ├── MaterialFABTest.java │ │ ├── MaterialFloatBoxTest.java │ │ ├── MaterialImageTest.java │ │ ├── MaterialIntegerBoxTest.java │ │ ├── MaterialLinkTest.java │ │ ├── MaterialListBoxTest.java │ │ ├── MaterialListValueBoxTest.java │ │ ├── MaterialLoaderTest.java │ │ ├── MaterialLongBoxTest.java │ │ ├── MaterialNavBarTest.java │ │ ├── MaterialNavBrandTest.java │ │ ├── MaterialNavSectionTest.java │ │ ├── MaterialPanelTest.java │ │ ├── MaterialParallaxTest.java │ │ ├── MaterialProgressTest.java │ │ ├── MaterialRadioButtonTest.java │ │ ├── MaterialRangeTest.java │ │ ├── MaterialSearchTest.java │ │ ├── MaterialSideNavCardTest.java │ │ ├── MaterialSideNavDrawerTest.java │ │ ├── MaterialSideNavMiniTest.java │ │ ├── MaterialSideNavPushTest.java │ │ ├── MaterialSideNavTest.java │ │ ├── MaterialSliderTest.java │ │ ├── MaterialSwitchTest.java │ │ ├── MaterialTabTest.java │ │ ├── MaterialTextAreaTest.java │ │ ├── MaterialTextBoxTest.java │ │ ├── MaterialToastTest.java │ │ ├── MaterialTooltipTest.java │ │ ├── MaterialValueBoxTest.java │ │ ├── animation │ │ └── AnimationTest.java │ │ ├── base │ │ ├── AbstractButtonTest.java │ │ ├── AbstractIconButtonTest.java │ │ ├── AbstractSideNavTest.java │ │ ├── AbstractValueWidgetTest.java │ │ ├── BaseTestCase.java │ │ ├── MaterialWidgetTestCase.java │ │ └── WidgetTestCase.java │ │ ├── dto │ │ └── User.java │ │ ├── helper │ │ ├── ColorHelperTest.java │ │ ├── EnumHelperTest.java │ │ └── ScrollHelperTest.java │ │ ├── layout │ │ └── GridLayoutTest.java │ │ ├── pwa │ │ ├── CustomServiceWorker.java │ │ └── PwaManagerTest.java │ │ └── sanitizer │ │ └── CustomSanitizer.java │ └── resources │ └── log4j.properties ├── install.bat └── pom.xml /.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | dist: trusty 3 | language: java 4 | jdk: 5 | - oraclejdk8 6 | cache: 7 | directories: 8 | - $HOME/.m2 9 | before_install: 10 | # install the gwt-material-jquery because it will depends on built in jquery 11 | - git clone -b release_2.8.0 https://github.com/GwtMaterialDesign/gwt-material-jquery.git 12 | - cd gwt-material-jquery 13 | - mvn install -DskipTests=true -DdryRun=true 14 | - cd .. 15 | install: true 16 | before_script: 17 | - chmod +x .utility/* 18 | script: 19 | - mvn clean install -DdryRun=true -DskipTests=true 20 | after_success: 21 | - .utility/deploy.sh -------------------------------------------------------------------------------- /.utility/deploy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -ev 3 | if [ "$TRAVIS_JDK_VERSION" == "oraclejdk8" ] && [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "release_2.8.0" ]; then 4 | echo "ossrh\${env.OSSRH_USER}\${env.OSSRH_PASS}" > ~/settings.xml 5 | mvn deploy -DskipTests --settings ~/settings.xml 6 | fi -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/MaterialDesign.java: -------------------------------------------------------------------------------- 1 | package gwt.material.design.client; 2 | 3 | /* 4 | * #%L 5 | * GwtMaterialDesign 6 | * %% 7 | * Copyright (C) 2015 - 2017 GwtMaterial 8 | * %% 9 | * Licensed under the Apache License, Version 2.0 (the "License"); 10 | * you may not use this file except in compliance with the License. 11 | * You may obtain a copy of the License at 12 | * 13 | * http://www.apache.org/licenses/LICENSE-2.0 14 | * 15 | * Unless required by applicable law or agreed to in writing, software 16 | * distributed under the License is distributed on an "AS IS" BASIS, 17 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | * See the License for the specific language governing permissions and 19 | * limitations under the License. 20 | * #L% 21 | */ 22 | 23 | import com.google.gwt.core.client.EntryPoint; 24 | 25 | public class MaterialDesign extends MaterialDesignBase implements EntryPoint { 26 | 27 | @Override 28 | public void onModuleLoad() { 29 | load(); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/MaterialDesignDebug.java: -------------------------------------------------------------------------------- 1 | package gwt.material.design.client; 2 | 3 | /* 4 | * #%L 5 | * GwtMaterialDesign 6 | * %% 7 | * Copyright (C) 2015 - 2017 GwtMaterial 8 | * %% 9 | * Licensed under the Apache License, Version 2.0 (the "License"); 10 | * you may not use this file except in compliance with the License. 11 | * You may obtain a copy of the License at 12 | * 13 | * http://www.apache.org/licenses/LICENSE-2.0 14 | * 15 | * Unless required by applicable law or agreed to in writing, software 16 | * distributed under the License is distributed on an "AS IS" BASIS, 17 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | * See the License for the specific language governing permissions and 19 | * limitations under the License. 20 | * #L% 21 | */ 22 | 23 | import com.google.gwt.core.client.EntryPoint; 24 | 25 | public class MaterialDesignDebug extends MaterialDesignDebugBase implements EntryPoint { 26 | 27 | @Override 28 | public void onModuleLoad() { 29 | load(); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/MaterialWithJQuery.java: -------------------------------------------------------------------------------- 1 | package gwt.material.design.client; 2 | 3 | /* 4 | * #%L 5 | * GwtMaterialDesign 6 | * %% 7 | * Copyright (C) 2015 - 2017 GwtMaterial 8 | * %% 9 | * Licensed under the Apache License, Version 2.0 (the "License"); 10 | * you may not use this file except in compliance with the License. 11 | * You may obtain a copy of the License at 12 | * 13 | * http://www.apache.org/licenses/LICENSE-2.0 14 | * 15 | * Unless required by applicable law or agreed to in writing, software 16 | * distributed under the License is distributed on an "AS IS" BASIS, 17 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | * See the License for the specific language governing permissions and 19 | * limitations under the License. 20 | * #L% 21 | */ 22 | 23 | import com.google.gwt.core.client.EntryPoint; 24 | 25 | public class MaterialWithJQuery extends MaterialDesignBase implements EntryPoint { 26 | 27 | @Override 28 | public void onModuleLoad() { 29 | load(); 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/MaterialWithJQueryDebug.java: -------------------------------------------------------------------------------- 1 | package gwt.material.design.client; 2 | 3 | /* 4 | * #%L 5 | * GwtMaterialDesign 6 | * %% 7 | * Copyright (C) 2015 - 2017 GwtMaterial 8 | * %% 9 | * Licensed under the Apache License, Version 2.0 (the "License"); 10 | * you may not use this file except in compliance with the License. 11 | * You may obtain a copy of the License at 12 | * 13 | * http://www.apache.org/licenses/LICENSE-2.0 14 | * 15 | * Unless required by applicable law or agreed to in writing, software 16 | * distributed under the License is distributed on an "AS IS" BASIS, 17 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | * See the License for the specific language governing permissions and 19 | * limitations under the License. 20 | * #L% 21 | */ 22 | 23 | import com.google.gwt.core.client.EntryPoint; 24 | 25 | /** 26 | * Entry point classes define onModuleLoad(). 27 | */ 28 | public class MaterialWithJQueryDebug extends MaterialDesignDebugBase implements EntryPoint { 29 | 30 | @Override 31 | public void onModuleLoad() { 32 | load(); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/MaterialWithoutResources.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2021 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client; 21 | 22 | import com.google.gwt.core.client.EntryPoint; 23 | 24 | public class MaterialWithoutResources implements EntryPoint { 25 | 26 | @Override 27 | public void onModuleLoad() { 28 | 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/accessibility/TriggerCallback.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.accessibility; 21 | 22 | import com.google.gwt.event.dom.client.KeyUpEvent; 23 | 24 | public interface TriggerCallback { 25 | 26 | void call(KeyUpEvent event); 27 | } 28 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/api/google/maps/MapLibrary.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.api.google.maps; 21 | 22 | /** 23 | * Set of Google Maps Library used in {@link GoogleMapsApi#getLibrary()} 24 | * 25 | * @author kevzlou7979 26 | */ 27 | public enum MapLibrary { 28 | DRAWING, 29 | GEOMETRY, 30 | PLACES, 31 | VISUALIZATION 32 | } 33 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/async/AsyncWidgetCallback.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.async; 21 | 22 | import com.google.gwt.user.client.rpc.AsyncCallback; 23 | import com.google.gwt.user.client.ui.Widget; 24 | 25 | public interface AsyncWidgetCallback { 26 | 27 | void load(AsyncCallback callback, W widget); 28 | } 29 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/async/HasAsyncCallback.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.async; 21 | 22 | import com.google.gwt.user.client.ui.Widget; 23 | 24 | public interface HasAsyncCallback { 25 | 26 | void setAsyncCallback(AsyncWidgetCallback asyncCallback); 27 | 28 | AsyncWidgetCallback getAsyncCallback(); 29 | } 30 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/async/HasAsyncDisplayLoader.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.async; 21 | 22 | import gwt.material.design.client.async.loader.AsyncDisplayLoader; 23 | 24 | public interface HasAsyncDisplayLoader { 25 | 26 | void setAsyncDisplayLoader(AsyncDisplayLoader displayLoader); 27 | 28 | AsyncDisplayLoader getAsyncDisplayLoader(); 29 | } 30 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/async/HasAsyncRenderer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.async; 21 | 22 | import gwt.material.design.client.async.renderer.AsyncRenderer; 23 | 24 | public interface HasAsyncRenderer { 25 | 26 | void setAsyncRenderer(AsyncRenderer renderer); 27 | 28 | AsyncRenderer getAsyncRenderer(); 29 | } 30 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/async/loader/AsyncDisplayLoader.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.async.loader; 21 | 22 | public interface AsyncDisplayLoader { 23 | 24 | void loading(); 25 | 26 | void success(V result); 27 | 28 | void failure(String error); 29 | 30 | void finalize(); 31 | } 32 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/async/loader/AsyncIconDisplayLoader.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.async.loader; 21 | 22 | import gwt.material.design.client.constants.IconType; 23 | 24 | public interface AsyncIconDisplayLoader extends AsyncDisplayLoader { 25 | 26 | IconType getLoadingIcon(); 27 | 28 | IconType getSuccessIcon(); 29 | 30 | IconType getErrorIcon(); 31 | } 32 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/async/renderer/AsyncRenderer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.async.renderer; 21 | 22 | public interface AsyncRenderer { 23 | 24 | X render(T context); 25 | } 26 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/AllowBlankKeyFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public class AllowBlankKeyFactory implements KeyFactory { 23 | public static final String BLANK_VALUE_TEXT = ""; 24 | 25 | @Override 26 | public String generateKey(T object) { 27 | if (object == null) { 28 | return BLANK_VALUE_TEXT; 29 | } else { 30 | return object.toString(); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/ClipboardDataTransfer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import jsinterop.annotations.JsMethod; 23 | import jsinterop.annotations.JsPackage; 24 | import jsinterop.annotations.JsType; 25 | 26 | @JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 27 | public class ClipboardDataTransfer { 28 | 29 | @JsMethod 30 | public native String getData(String format); 31 | } 32 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/CopyCommandCallback.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import gwt.material.design.client.js.CopyCommandData; 23 | import gwt.material.design.client.ui.MaterialIcon; 24 | 25 | public interface CopyCommandCallback { 26 | 27 | void success(T widget, MaterialIcon clipboardIcon, CopyCommandData data); 28 | 29 | void error(CopyCommandData data); 30 | } 31 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/CopyCommandLocale.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface CopyCommandLocale { 23 | 24 | default String Copied() { 25 | return "Copied"; 26 | } 27 | 28 | default String CopyToClipboard() { 29 | return "Copy to Clipboard"; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/DefaultSearchMatcher.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public class DefaultSearchMatcher implements SearchMatcher { 23 | 24 | @Override 25 | public boolean match(SearchObject obj, String keyword) { 26 | return obj.getKeyword().toLowerCase().contains(keyword.toLowerCase()); 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/DeferredPrompt.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import jsinterop.annotations.JsType; 23 | 24 | @JsType 25 | public class DeferredPrompt { 26 | 27 | } 28 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/DropdownItemRenderer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface DropdownItemRenderer { 23 | 24 | MaterialWidget render(T object); 25 | } 26 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasActivates.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasActivates { 23 | 24 | /** 25 | * Sets an attribute data-activates to any material components 26 | */ 27 | void setActivates(String activates); 28 | 29 | /** 30 | * Get the data-activates attribute. 31 | */ 32 | String getActivates(); 33 | } 34 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasActive.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasActive { 23 | 24 | /** 25 | * Set active element. 26 | */ 27 | void setActive(boolean active); 28 | 29 | /** 30 | * Get the active element. 31 | */ 32 | boolean isActive(); 33 | } 34 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasAllDragAndDropHandlers.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasAllDragAndDropHandlers extends HasDraggableHandlers, HasDroppableHandlers { 23 | } 24 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasAvatar.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasAvatar { 23 | /** 24 | * Mark the widget as avatar. 25 | */ 26 | void setAvatar(boolean avatar); 27 | 28 | /** 29 | * Gets the type of the widget. 30 | * 31 | * @return type of the widget 32 | */ 33 | boolean isAvatar(); 34 | } 35 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasAxis.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import gwt.material.design.client.constants.Axis; 23 | 24 | public interface HasAxis { 25 | 26 | void setAxis(Axis axis); 27 | 28 | Axis getAxis(); 29 | } 30 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasCaption.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasCaption { 23 | 24 | void setCaption(String caption); 25 | 26 | String getCaption(); 27 | } 28 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasCenterOn.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import gwt.material.design.client.constants.CenterOn; 23 | 24 | public interface HasCenterOn { 25 | 26 | void setCenterOn(CenterOn centerOn); 27 | 28 | CenterOn getCenterOn(); 29 | } 30 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasCircle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasCircle { 23 | 24 | void setCircle(boolean circle); 25 | 26 | boolean isCircle(); 27 | } 28 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasClearActiveHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import com.google.gwt.event.shared.HandlerRegistration; 23 | import gwt.material.design.client.events.ClearActiveEvent; 24 | 25 | public interface HasClearActiveHandler { 26 | 27 | /** 28 | * Fires when active state has been cleared to all children. 29 | */ 30 | HandlerRegistration addClearActiveHandler(ClearActiveEvent.ClearActiveHandler handler); 31 | } 32 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasConfiguration.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasConfiguration { 23 | 24 | void configure(); 25 | } 26 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasCounter.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | /** 23 | * @author kevzlou7979 24 | */ 25 | public interface HasCounter { 26 | 27 | /** 28 | * Sets the length of character. 29 | */ 30 | public void setLength(int counter); 31 | 32 | /** 33 | * Get the length of characters. 34 | */ 35 | public int getLength(); 36 | 37 | } 38 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasDelayTransition.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasDelayTransition { 23 | 24 | /** 25 | * Set the animation duration delay in milliseconds. 26 | */ 27 | void setDelay(int delay); 28 | 29 | /** 30 | * Get the animation duration delay in milliseconds. 31 | */ 32 | int getDelay(); 33 | } 34 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasDepth.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasDepth { 23 | 24 | /** 25 | * Equivalent to z-index to build a layer between material components 0 - 999. 26 | */ 27 | void setDepth(int depth); 28 | 29 | /** 30 | * Get the z-index value 0 - 999. 31 | */ 32 | int getDepth(); 33 | } 34 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasDismissible.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasDismissible { 23 | 24 | /** 25 | * Set dismissible when swiping left / right. 26 | */ 27 | void setDismissible(boolean dismissible); 28 | 29 | boolean isDismissible(); 30 | } 31 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasDurationTransition.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasDurationTransition { 23 | 24 | /** 25 | * Set the animation duration in milliseconds. 26 | */ 27 | void setDuration(int duration); 28 | 29 | /** 30 | * Get the animation duration in milliseconds. 31 | */ 32 | int getDuration(); 33 | } 34 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasFieldTypes.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import gwt.material.design.client.constants.FieldType; 23 | 24 | public interface HasFieldTypes { 25 | 26 | void setFieldType(FieldType type); 27 | 28 | FieldType getFieldType(); 29 | 30 | void setLabelWidth(double percentWidth); 31 | 32 | void setFieldWidth(double percentWidth); 33 | } 34 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasFilterStyle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasFilterStyle { 23 | 24 | void setFilterStyle(String property); 25 | 26 | String getFilterStyle(); 27 | } 28 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasFloat.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import com.google.gwt.dom.client.Style; 23 | 24 | public interface HasFloat { 25 | 26 | /** 27 | * Sets the float. 28 | * @param floatAlign float 29 | */ 30 | void setFloat(Style.Float floatAlign); 31 | 32 | /** 33 | * Get the float. 34 | */ 35 | Style.Float getFloat(); 36 | } 37 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasFontSize.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import com.google.gwt.dom.client.Style; 23 | 24 | public interface HasFontSize { 25 | 26 | void setFontSize(String fontSize); 27 | 28 | String getFontSize(); 29 | 30 | void setFontSize(double fontSize, Style.Unit unit); 31 | } 32 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasFontWeight.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import com.google.gwt.dom.client.Style; 23 | 24 | public interface HasFontWeight { 25 | 26 | /** 27 | * Sets the font weight. 28 | */ 29 | void setFontWeight(Style.FontWeight fontWeight); 30 | 31 | /** 32 | * Get the font weight 33 | */ 34 | String getFontWeight(); 35 | } 36 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasFullscreen.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasFullscreen { 23 | 24 | void setFullscreen(boolean value); 25 | 26 | boolean isFullscreen(); 27 | } 28 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasGrid.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasGrid { 23 | 24 | /** 25 | * Setting the grid for responsiveness don't forget to build 26 | * rows first before setting the grid on each material widgets. 27 | */ 28 | void setGrid(String grid); 29 | 30 | /** 31 | * Setting the offset. 32 | */ 33 | void setOffset(String offset); 34 | } 35 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasHelperText.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasHelperText { 23 | 24 | /** 25 | * Apply a widgets help text. 26 | */ 27 | void setHelperText(String helperText); 28 | 29 | /** 30 | * Is the helper text applied and visible. 31 | */ 32 | boolean isHelperTextVisible(); 33 | 34 | /** 35 | * Clear the helper states. 36 | */ 37 | void clearHelperText(); 38 | } 39 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasHideOn.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import gwt.material.design.client.constants.HideOn; 23 | 24 | public interface HasHideOn { 25 | 26 | void setHideOn(HideOn hideOn); 27 | 28 | HideOn getHideOn(); 29 | } 30 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasHoverable.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasHoverable { 23 | 24 | void setHoverable(boolean hoverable); 25 | 26 | boolean isHoverable(); 27 | } 28 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasHref.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasHref { 23 | 24 | /** 25 | * Set the href parameter on material components. 26 | */ 27 | void setHref(String href); 28 | 29 | String getHref(); 30 | 31 | /** 32 | * Set the target of the href. 33 | */ 34 | void setTarget(String target); 35 | 36 | String getTarget(); 37 | } 38 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasId.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasId { 23 | 24 | void setId(String id); 25 | 26 | String getId(); 27 | } 28 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasInitialClasses.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasInitialClasses { 23 | 24 | /** 25 | * Set the initial class into Material Components. 26 | */ 27 | void setInitialClasses(String... initialClass); 28 | 29 | /** 30 | * Get the initial class of Material Components. 31 | */ 32 | String[] getInitialClasses(); 33 | 34 | } 35 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasInputChangeHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import com.google.gwt.event.shared.HandlerRegistration; 23 | import gwt.material.design.client.events.InputChangeEvent; 24 | 25 | public interface HasInputChangeHandler { 26 | 27 | HandlerRegistration addInputChangeHandler(InputChangeEvent.InputChangeHandler handler); 28 | } 29 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasInputType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import gwt.material.design.client.constants.InputType; 23 | 24 | /** 25 | * @author Ben Dol 26 | */ 27 | public interface HasInputType { 28 | String TYPE = "type"; 29 | 30 | void setType(InputType inputType); 31 | 32 | InputType getType(); 33 | } 34 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasInteractionHandlers.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import com.google.gwt.event.dom.client.*; 23 | 24 | public interface HasInteractionHandlers extends HasClickHandlers, HasDoubleClickHandlers, HasAllMouseHandlers, 25 | HasAllDragAndDropHandlers, HasAllTouchHandlers, HasAllGestureHandlers, HasAllKeyHandlers { 26 | } 27 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasLabel.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasLabel { 23 | 24 | /** 25 | * Set the label of the field widget. 26 | */ 27 | void setLabel(String label); 28 | 29 | /** 30 | * Get the label of the field widget. 31 | */ 32 | String getLabel(); 33 | } 34 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasNativeBrowserStyle.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasNativeBrowserStyle { 23 | 24 | void setNativeBrowserStyle(boolean value); 25 | 26 | boolean isNativeBrowserStyle(); 27 | } 28 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasNoSideNavSelection.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | /** 23 | * An interface to determine whether this sidenav 24 | * component will not be selectable on {@link gwt.material.design.client.ui.MaterialSideNav} component. 25 | */ 26 | public interface HasNoSideNavSelection { 27 | } 28 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasOpacity.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | /** 23 | * @author Ben Dol 24 | */ 25 | public interface HasOpacity { 26 | 27 | void setOpacity(double opacity); 28 | 29 | /** 30 | * Return's a valid double or null if not set. 31 | */ 32 | Double getOpacity(); 33 | } -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasOpenClose.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasOpenClose { 23 | 24 | void open(); 25 | 26 | void close(); 27 | 28 | boolean isOpen(); 29 | } 30 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasOrientation.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import gwt.material.design.client.constants.Orientation; 23 | 24 | public interface HasOrientation extends HasOrientationChangeHandler { 25 | 26 | void setOrientation(Orientation orientation); 27 | 28 | Orientation getOrientation(); 29 | 30 | void setDetectOrientation(boolean detectOrientation); 31 | 32 | boolean isDetectOrientation(); 33 | } 34 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasOrientationChangeHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import com.google.gwt.event.shared.HandlerRegistration; 23 | import gwt.material.design.client.events.OrientationChangeEvent; 24 | 25 | public interface HasOrientationChangeHandler { 26 | 27 | HandlerRegistration addOrientationChangeHandler(OrientationChangeEvent.OrientationChangeHandler handler); 28 | } 29 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasPasteHandlers.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import com.google.gwt.event.shared.HandlerRegistration; 23 | import gwt.material.design.client.events.PasteEvent; 24 | 25 | public interface HasPasteHandlers { 26 | 27 | public HandlerRegistration addPasteHandler(PasteEvent.PasteEventHandler handler); 28 | } 29 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasPlaceholder.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | /** 23 | * @author Ben Dol 24 | */ 25 | public interface HasPlaceholder { 26 | String getPlaceholder(); 27 | 28 | void setPlaceholder(String placeholder); 29 | } 30 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasPosition.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import gwt.material.design.client.constants.Position; 23 | 24 | /** 25 | * @author Ben Dol 26 | */ 27 | public interface HasPosition { 28 | Position getPosition(); 29 | 30 | void setPosition(Position position); 31 | } 32 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasRawValue.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasRawValue { 23 | 24 | void setRawValue(String rawValue); 25 | 26 | String getRawValue(); 27 | } 28 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasReadOnly.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasReadOnly { 23 | 24 | void setReadOnly(boolean value); 25 | 26 | boolean isReadOnly(); 27 | 28 | void setToggleReadOnly(boolean toggle); 29 | 30 | boolean isToggleReadOnly(); 31 | } 32 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasRegexHandlers.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import com.google.gwt.event.shared.HandlerRegistration; 23 | import gwt.material.design.client.events.RegexValidationEvent; 24 | 25 | public interface HasRegexHandlers { 26 | 27 | HandlerRegistration addRegexValidationHandler(RegexValidationEvent.RegexValidationHandler handler); 28 | } 29 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasReload.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasReload { 23 | 24 | void reload(); 25 | } 26 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasResetField.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasResetField { 23 | 24 | void resetFields(); 25 | 26 | void setAllowResettingFields(boolean allowResettingFields); 27 | 28 | boolean isAllowResettingFields(); 29 | } 30 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasSafeText.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import com.google.gwt.safehtml.shared.HtmlSanitizer; 23 | import com.google.gwt.safehtml.shared.SafeHtml; 24 | 25 | public interface HasSafeText { 26 | 27 | void setHtml(SafeHtml html); 28 | 29 | void setSanitizer(HtmlSanitizer sanitizer); 30 | 31 | HtmlSanitizer getSanitizer(); 32 | } 33 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasScrollspy.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasScrollspy extends HasId { 23 | 24 | /** 25 | * Set the name of the scrollspy. 26 | */ 27 | void setScrollspy(String scrollspy); 28 | 29 | /** 30 | * Get the scrollspy id, null if not scrollspy'd. 31 | */ 32 | String getScrollspy(); 33 | } 34 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasSelectables.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasSelectables { 23 | 24 | void clearActive(); 25 | } 26 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasSeparator.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasSeparator { 23 | 24 | /** 25 | * Border line separator of any material components. 26 | */ 27 | void setSeparator(boolean separator); 28 | 29 | /** 30 | * Is separated using border. 31 | */ 32 | boolean isSeparator(); 33 | } 34 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasShadow.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasShadow { 23 | 24 | /** 25 | * Sets the shadow depth of a material panel. 26 | * - depth range are from 1 - 4 27 | */ 28 | void setShadow(int shadow); 29 | 30 | /** 31 | * Get the shadow depth. 32 | */ 33 | int getShadow(); 34 | } 35 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasShowOn.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import gwt.material.design.client.constants.ShowOn; 23 | 24 | public interface HasShowOn { 25 | 26 | void setShowOn(ShowOn showOn); 27 | 28 | ShowOn getShowOn(); 29 | } 30 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasSingleValue.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasSingleValue { 23 | 24 | void setSingleValue(T value); 25 | 26 | void setSingleValue(T value, boolean fireEvents); 27 | 28 | T getSingleValue(); 29 | } 30 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasSize.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import gwt.material.design.client.constants.Size; 23 | 24 | public interface HasSize { 25 | 26 | void setSize(Size size); 27 | 28 | Size getSize(); 29 | } 30 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasSourceSet.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasSourceSet { 23 | 24 | void setSourceSet(String value); 25 | 26 | String getSourceSet(); 27 | } 28 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasStatusText.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasStatusText extends HasHelperText, HasErrorText, HasSuccessText, HasStatusDisplayType { 23 | 24 | void clearStatusText(); 25 | } 26 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasTextAlign.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import gwt.material.design.client.constants.TextAlign; 23 | 24 | public interface HasTextAlign { 25 | 26 | /** 27 | * Set the text alignment. 28 | */ 29 | void setTextAlign(TextAlign align); 30 | 31 | /** 32 | * Get the text alignment. 33 | */ 34 | TextAlign getTextAlign(); 35 | } 36 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasToggleReadOnlyHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import com.google.gwt.event.shared.HandlerRegistration; 23 | import gwt.material.design.client.events.ToggleReadOnlyEvent; 24 | 25 | public interface HasToggleReadOnlyHandler { 26 | 27 | HandlerRegistration addToggleReadOnlyHandler(ToggleReadOnlyEvent.ToggleReadOnlyHandler handler); 28 | } 29 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import gwt.material.design.client.constants.Type; 23 | 24 | public interface HasType { 25 | /** 26 | * Sets the type on the widget 27 | * 28 | * @param type T type 29 | */ 30 | void setType(T type); 31 | 32 | /** 33 | * Gets the type of the widget. 34 | * 35 | * @return type of the widget 36 | */ 37 | T getType(); 38 | } 39 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasVerticalAlign.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import com.google.gwt.dom.client.Style; 23 | 24 | /** 25 | * @author kevzlou7979 26 | */ 27 | public interface HasVerticalAlign { 28 | 29 | /** 30 | * Set the Vertical alignment of the widget 31 | */ 32 | void setVerticalAlign(Style.VerticalAlign align); 33 | 34 | String getVerticalAlign(); 35 | } 36 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasWaves.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import gwt.material.design.client.constants.WavesType; 23 | 24 | public interface HasWaves { 25 | 26 | /** 27 | * Sets the ripple effect of any material elements 28 | */ 29 | void setWaves(WavesType waves); 30 | 31 | /** 32 | * Get the waves type. 33 | */ 34 | WavesType getWaves(); 35 | } 36 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasWithHeader.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface HasWithHeader { 23 | 24 | void setWithHeader(boolean value); 25 | 26 | boolean isWithHeader(); 27 | } 28 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/HasWordBreak.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import gwt.material.design.client.constants.WordBreak; 23 | 24 | public interface HasWordBreak { 25 | 26 | void setWordBreak(WordBreak wordBreak); 27 | 28 | WordBreak getWordBreak(); 29 | } 30 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/IsPropagateToChildren.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface IsPropagateToChildren { 23 | 24 | boolean isPropagateToChildren(); 25 | 26 | void setPropagateToChildren(boolean propagateToChildren); 27 | } 28 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/JsLoader.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface JsLoader extends HasReload { 23 | 24 | void load(); 25 | void unload(); 26 | } 27 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/KeyFactory.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface KeyFactory { 23 | 24 | /** 25 | * Generate a unique key based on an object and given return type. 26 | * 27 | * @param object the object the key is representing. 28 | * @return a unique key Object signifying the given object. 29 | */ 30 | R generateKey(T object); 31 | } 32 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/MoreChipHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2022 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | import gwt.material.design.client.ui.MaterialChip; 23 | 24 | public interface MoreChipHandler { 25 | 26 | void setVisibleChipsSize(int visibleChipsSize); 27 | 28 | void load(); 29 | 30 | void collapse(); 31 | 32 | void expand(); 33 | 34 | void setCollapsible(boolean enableCollapsible); 35 | 36 | void reload(); 37 | 38 | void update(MaterialChip chip); 39 | } 40 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/SearchMatcher.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public interface SearchMatcher { 23 | 24 | boolean match(SearchObject obj, String keyword); 25 | } 26 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/ToastPosition.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2021 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base; 21 | 22 | public enum ToastPosition { 23 | DEFAULT(""), 24 | TOP_LEFT("top-left"), 25 | TOP_RIGHT("top-right"), 26 | BOTTOM_LEFT("bottom-left"), 27 | BOTTOM_RIGHT("bottom-right"); 28 | 29 | private String name; 30 | 31 | ToastPosition(String name) { 32 | this.name = name; 33 | } 34 | 35 | public String getName() { 36 | return name; 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/density/Density.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base.density; 21 | 22 | import com.google.gwt.dom.client.Style; 23 | 24 | import java.io.Serializable; 25 | 26 | public interface Density extends Serializable, Style.HasCssName { 27 | 28 | int getValue(); 29 | String getCssName(); 30 | } 31 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/error/ErrorHandlerType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtBootstrap3 4 | * %% 5 | * Copyright (C) 2015 GwtBootstrap3 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base.error; 21 | 22 | /** 23 | * The type of error handler to use. 24 | */ 25 | public enum ErrorHandlerType { 26 | NONE, 27 | DEFAULT, 28 | } 29 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/validator/DirtyCheck.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2021 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base.validator; 21 | 22 | public interface DirtyCheck { 23 | 24 | /** 25 | * Will check whether there are dirty fields found 26 | */ 27 | boolean isDirty(); 28 | 29 | /** 30 | * Sets the widget dirty value 31 | */ 32 | void setDirty(boolean dirty); 33 | } 34 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/viewport/Boundary.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base.viewport; 21 | 22 | import java.io.Serializable; 23 | 24 | public interface Boundary extends Serializable { 25 | int getMin(); 26 | int getMax(); 27 | String asMediaQuery(); 28 | } 29 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/viewport/ViewPortChange.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base.viewport; 21 | 22 | /** 23 | * @author Ben 24 | */ 25 | public class ViewPortChange extends ViewPortRect { 26 | 27 | private Boundary boundary; 28 | 29 | public ViewPortChange(int width, int height, Boundary boundary) { 30 | super(width, height); 31 | this.boundary = boundary; 32 | } 33 | 34 | public Boundary getBoundary() { 35 | return boundary; 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/viewport/ViewPortResizeHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base.viewport; 21 | 22 | import com.google.gwt.event.logical.shared.ResizeEvent; 23 | import com.google.gwt.event.shared.HandlerRegistration; 24 | import gwt.material.design.jquery.client.api.Functions; 25 | 26 | public interface ViewPortResizeHandler { 27 | 28 | void load(Functions.Func1 callback); 29 | 30 | void unload(); 31 | 32 | HandlerRegistration getResizeHandler(); 33 | } 34 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/base/viewport/ViewPortZoomHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2023 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.base.viewport; 21 | 22 | public interface ViewPortZoomHandler { 23 | 24 | void load(); 25 | 26 | void unload(); 27 | 28 | double getCurrentViewportRatio(); 29 | 30 | double getMaxViewPortRatio(); 31 | 32 | void scale(); 33 | 34 | boolean isOutOfZoomLevel(); 35 | 36 | void resetZoom(); 37 | } 38 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/constants/BrowserPrefixCssType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.constants; 21 | 22 | /** 23 | * @author chriswjones 24 | */ 25 | public interface BrowserPrefixCssType { 26 | String getValue(); 27 | 28 | String getIeValue(); 29 | } 30 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/constants/CssType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.constants; 21 | 22 | import com.google.gwt.dom.client.Style; 23 | 24 | /** 25 | * Marker interface for enums that represent types. 26 | */ 27 | public interface CssType extends Type, Style.HasCssName { 28 | 29 | CssType EMPTY_CSS_TYPE = new CssType() { 30 | @Override 31 | public String getCssName() { 32 | return ""; 33 | } 34 | }; 35 | } 36 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/constants/HeadingSize.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.constants; 21 | 22 | /** 23 | * @author Ben Dol 24 | */ 25 | public enum HeadingSize { 26 | H1("h1"), 27 | H2("h2"), 28 | H3("h3"), 29 | H4("h4"), 30 | H5("h5"), 31 | H6("h6"); 32 | 33 | private final String size; 34 | 35 | HeadingSize(final String size) { 36 | this.size = size; 37 | } 38 | 39 | public String getSize() { 40 | return size; 41 | } 42 | } -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/constants/IconDisplay.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2022 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.constants; 21 | 22 | public enum IconDisplay { 23 | 24 | FILLED(""), 25 | OUTLINED("-outlined"), 26 | ROUNDED("-round"), 27 | SHARP("-sharp"), 28 | TWO_TONE("-two-tone"); 29 | 30 | private String suffix; 31 | 32 | IconDisplay(String suffix) { 33 | this.suffix = suffix; 34 | } 35 | 36 | public String getSuffix() { 37 | return suffix; 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/constants/LoaderType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.constants; 21 | 22 | /** 23 | * Types of Loader.
24 | * 25 | * @author kevzlou7979 26 | */ 27 | public enum LoaderType { 28 | 29 | CIRCULAR, PROGRESS 30 | } 31 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/constants/OffsetPosition.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.constants; 21 | 22 | /** 23 | * Used by {@link gwt.material.design.client.base.helper.ScrollHelper#setOffsetPosition(OffsetPosition)} which 24 | * defines the position of scrolling viewport of the target element's offset. 25 | * 26 | * @author kevzlou7979@gmail.com 27 | */ 28 | public enum OffsetPosition { 29 | 30 | TOP, MIDDLE, BOTTOM 31 | } 32 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/constants/SideNavEvents.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2018 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.constants; 21 | 22 | public interface SideNavEvents { 23 | 24 | String SIDE_NAV_OPENING = "side-nav-opening"; 25 | String SIDE_NAV_OPENED = "side-nav-opened"; 26 | String SIDE_NAV_CLOSING = "side-nav-closing"; 27 | String SIDE_NAV_CLOSED = "side-nav-closed"; 28 | String SIDE_NAV_OVERLAY_ATTACHED = "side-nav-overlay-attached"; 29 | } 30 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/constants/SwitchType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2020 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.constants; 21 | 22 | public enum SwitchType { 23 | 24 | DEFAULT, 25 | MANUAL 26 | } 27 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/constants/Type.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.constants; 21 | 22 | /** 23 | * Marker interface for enums that represent types. 24 | */ 25 | public interface Type { 26 | } 27 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/events/ClipBoardEvent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.events; 21 | 22 | 23 | import gwt.material.design.client.base.ClipboardDataTransfer; 24 | import jsinterop.annotations.JsPackage; 25 | import jsinterop.annotations.JsProperty; 26 | import jsinterop.annotations.JsType; 27 | 28 | @JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 29 | public class ClipBoardEvent { 30 | 31 | @JsProperty 32 | public ClipboardDataTransfer clipboardData; 33 | } 34 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/events/HandlerRegistry.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.events; 21 | 22 | import com.google.gwt.event.shared.HandlerRegistration; 23 | import com.google.gwt.user.client.ui.IsWidget; 24 | 25 | public interface HandlerRegistry extends IsWidget { 26 | HandlerRegistration registerHandler(HandlerRegistration registration); 27 | 28 | void removeHandler(HandlerRegistration registration); 29 | 30 | void clearHandlers(); 31 | } 32 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/events/HasHandlerRegistry.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.events; 21 | 22 | public interface HasHandlerRegistry { 23 | 24 | HandlerRegistry getHandlerRegistry(); 25 | } 26 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/font/OpenSansFont.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2021 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.font; 21 | 22 | public class OpenSansFont extends Font { 23 | 24 | public static String RESOURCE = "https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap"; 25 | public static String NAME = "Open Sans, sans-serif"; 26 | 27 | public OpenSansFont() { 28 | super(RESOURCE, NAME); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/js/MediaQueryEvent.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.js; 21 | 22 | import jsinterop.annotations.JsPackage; 23 | import jsinterop.annotations.JsProperty; 24 | import jsinterop.annotations.JsType; 25 | 26 | @JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 27 | public class MediaQueryEvent { 28 | 29 | @JsProperty 30 | public boolean matches; 31 | } 32 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/js/ModernClipboard.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2024 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.js; 21 | 22 | import elemental2.promise.Promise; 23 | import jsinterop.annotations.JsMethod; 24 | import jsinterop.annotations.JsType; 25 | 26 | @JsType(isNative = true) 27 | public class ModernClipboard { 28 | 29 | @JsMethod 30 | public native Promise writeText(String text); 31 | } 32 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/js/Thing.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.js; 21 | 22 | import jsinterop.annotations.JsMethod; 23 | import jsinterop.annotations.JsPackage; 24 | import jsinterop.annotations.JsType; 25 | 26 | @JsType(isNative = true, name = "Object", namespace = JsPackage.GLOBAL) 27 | public class Thing { 28 | 29 | @JsMethod 30 | public native boolean hasOwnProperty(String property); 31 | } -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/pwa/base/PwaFeature.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.pwa.base; 21 | 22 | import gwt.material.design.client.base.JsLoader; 23 | import gwt.material.design.client.pwa.PwaManager; 24 | 25 | public interface PwaFeature extends JsLoader { 26 | 27 | PwaManager getManager(); 28 | 29 | String getResource(); 30 | } 31 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/pwa/serviceworker/constants/ServiceWorkerMessage.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.pwa.serviceworker.constants; 21 | 22 | public interface ServiceWorkerMessage { 23 | 24 | String FAILING_SERVER = "failingServer"; 25 | String SKIP_WAITING = "skipWaiting"; 26 | } 27 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/resources/DarkThemeResources.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.resources; 21 | 22 | import com.google.gwt.core.client.GWT; 23 | import com.google.gwt.resources.client.ClientBundle; 24 | import com.google.gwt.resources.client.TextResource; 25 | 26 | public interface DarkThemeResources extends ClientBundle { 27 | DarkThemeResources INSTANCE = GWT.create(DarkThemeResources.class); 28 | 29 | @Source("css/materialize.dark.min.css") 30 | TextResource darkCss(); 31 | } 32 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/resources/WithJQueryDebugResources.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.resources; 21 | 22 | import com.google.gwt.resources.client.ClientBundle; 23 | import com.google.gwt.resources.client.TextResource; 24 | 25 | public interface WithJQueryDebugResources extends ClientBundle { 26 | 27 | @Source("js/jquery-3.5.1.js") 28 | TextResource jQueryDebug(); 29 | } 30 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/resources/WithJQueryResources.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.resources; 21 | 22 | import com.google.gwt.resources.client.ClientBundle; 23 | import com.google.gwt.resources.client.TextResource; 24 | 25 | public interface WithJQueryResources extends ClientBundle { 26 | 27 | @Source("js/jquery-3.5.1.min.js") 28 | TextResource jQuery(); 29 | 30 | @Source("js/jquery-3.5.1.js") 31 | TextResource jQueryDebug(); 32 | } 33 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/sanitizer/DefaultValueSanitizer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2022 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.sanitizer; 21 | 22 | public class DefaultValueSanitizer extends AbstractValueSanitizer { 23 | 24 | public DefaultValueSanitizer() { 25 | super(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/sanitizer/StandardValueSanitizer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2022 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.sanitizer; 21 | 22 | public class StandardValueSanitizer extends AbstractValueSanitizer { 23 | 24 | public StandardValueSanitizer() { 25 | super(); 26 | 27 | standard(true); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/sanitizer/ValueSanitizerException.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2022 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.sanitizer; 21 | 22 | public class ValueSanitizerException extends RuntimeException { 23 | 24 | public ValueSanitizerException(String message) { 25 | super(message); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/sanitizer/handler/NumericSanitizeHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2022 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.sanitizer.handler; 21 | 22 | public class NumericSanitizeHandler extends AbstractSanitizeHandler { 23 | 24 | public NumericSanitizeHandler() { 25 | } 26 | 27 | @Override 28 | public boolean sanitize(String value) { 29 | return true; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/sanitizer/handler/OghamSanitizeHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2022 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.sanitizer.handler; 21 | 22 | import gwt.material.design.client.sanitizer.Patterns; 23 | 24 | public class OghamSanitizeHandler extends AbstractSanitizeHandler { 25 | 26 | public OghamSanitizeHandler() { 27 | } 28 | 29 | @Override 30 | public boolean sanitize(String value) { 31 | return matches(Patterns.OGHAM, value, "Value must not contain Ogham characters"); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/sanitizer/handler/SymbolsSanitizeHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2022 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.sanitizer.handler; 21 | 22 | import gwt.material.design.client.sanitizer.Patterns; 23 | 24 | public class SymbolsSanitizeHandler extends AbstractSanitizeHandler { 25 | 26 | public SymbolsSanitizeHandler() { 27 | } 28 | 29 | @Override 30 | public boolean sanitize(String value) { 31 | return matches(Patterns.SYMBOLS, value, "Value must not contain symbols"); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/sanitizer/handler/UnicodeSanitizeHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2022 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.sanitizer.handler; 21 | 22 | public class UnicodeSanitizeHandler extends AbstractSanitizeHandler { 23 | 24 | public UnicodeSanitizeHandler() { 25 | } 26 | 27 | @Override 28 | public boolean sanitize(String value) { 29 | return true; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/sanitizer/handler/ValueSanitizeHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2022 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.sanitizer.handler; 21 | 22 | import gwt.material.design.client.sanitizer.ValueSanitizerException; 23 | 24 | public interface ValueSanitizeHandler { 25 | 26 | boolean sanitize(String value) throws ValueSanitizerException; 27 | 28 | void setEnabled(boolean enabled); 29 | 30 | boolean isEnabled(); 31 | } 32 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/theme/GlobalThemeConfig.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2023 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.theme; 21 | 22 | import gwt.material.design.client.constants.IconDisplay; 23 | 24 | public class GlobalThemeConfig { 25 | 26 | protected IconDisplay iconDisplay = IconDisplay.FILLED; 27 | 28 | public IconDisplay getIconDisplay() { 29 | return iconDisplay; 30 | } 31 | 32 | public void setIconDisplay(IconDisplay iconDisplay) { 33 | this.iconDisplay = iconDisplay; 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/theme/dark/ColorScheme.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.theme.dark; 21 | 22 | public enum ColorScheme { 23 | 24 | LIGHT, DARK 25 | } 26 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/theme/dark/CoreDarkThemeLoader.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.theme.dark; 21 | 22 | import gwt.material.design.client.resources.DarkThemeResources; 23 | 24 | public class CoreDarkThemeLoader extends DarkThemeLoader { 25 | 26 | public CoreDarkThemeLoader() { 27 | super(DarkThemeResources.INSTANCE.darkCss()); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/theme/dark/HasColorSchemeChangeHandler.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.theme.dark; 21 | 22 | import com.google.gwt.event.shared.HandlerRegistration; 23 | 24 | public interface HasColorSchemeChangeHandler { 25 | 26 | HandlerRegistration addColorSchemeChangeHandler(ColorSchemeChangeEvent.ColorSchemeChangeHandler handler); 27 | } 28 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/theme/dark/HasDarkMode.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2019 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.theme.dark; 21 | 22 | public interface HasDarkMode { 23 | 24 | void setDarkMode(boolean darkMode); 25 | 26 | boolean isDarkMode(); 27 | } 28 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/ui/html/Anchor.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.ui.html; 21 | 22 | import com.google.gwt.dom.client.Document; 23 | import gwt.material.design.client.base.MaterialWidget; 24 | 25 | public class Anchor extends MaterialWidget { 26 | 27 | public Anchor() { 28 | super(Document.get().createAnchorElement()); 29 | } 30 | } -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/ui/html/Br.java: -------------------------------------------------------------------------------- 1 | package gwt.material.design.client.ui.html; 2 | 3 | /* 4 | * #%L 5 | * GwtBootstrap3 6 | * %% 7 | * Copyright (C) 2013 GwtBootstrap3 8 | * %% 9 | * Licensed under the Apache License, Version 2.0 (the "License"); 10 | * you may not use this file except in compliance with the License. 11 | * You may obtain a copy of the License at 12 | * 13 | * http://www.apache.org/licenses/LICENSE-2.0 14 | * 15 | * Unless required by applicable law or agreed to in writing, software 16 | * distributed under the License is distributed on an "AS IS" BASIS, 17 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | * See the License for the specific language governing permissions and 19 | * limitations under the License. 20 | * #L% 21 | */ 22 | 23 | import com.google.gwt.dom.client.Document; 24 | import gwt.material.design.client.base.MaterialWidget; 25 | 26 | /** 27 | * @author Ben Dol 28 | */ 29 | public class Br extends MaterialWidget { 30 | 31 | public Br() { 32 | setElement(Document.get().createBRElement()); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/ui/html/ClearFix.java: -------------------------------------------------------------------------------- 1 | package gwt.material.design.client.ui.html; 2 | 3 | /* 4 | * #%L 5 | * GwtBootstrap3 6 | * %% 7 | * Copyright (C) 2013 GwtBootstrap3 8 | * %% 9 | * Licensed under the Apache License, Version 2.0 (the "License"); 10 | * you may not use this file except in compliance with the License. 11 | * You may obtain a copy of the License at 12 | * 13 | * http://www.apache.org/licenses/LICENSE-2.0 14 | * 15 | * Unless required by applicable law or agreed to in writing, software 16 | * distributed under the License is distributed on an "AS IS" BASIS, 17 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | * See the License for the specific language governing permissions and 19 | * limitations under the License. 20 | * #L% 21 | */ 22 | 23 | import gwt.material.design.client.constants.CssName; 24 | 25 | /** 26 | * @author Ben Dol 27 | */ 28 | public class ClearFix extends Div { 29 | 30 | public ClearFix() { 31 | addStyleName(CssName.CLEARFIX); 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/ui/html/Div.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.ui.html; 21 | 22 | import com.google.gwt.dom.client.Document; 23 | import gwt.material.design.client.base.MaterialWidget; 24 | 25 | public class Div extends MaterialWidget { 26 | 27 | public Div() { 28 | super(Document.get().createDivElement()); 29 | } 30 | 31 | public Div(String... initialClass) { 32 | super(Document.get().createDivElement(), initialClass); 33 | } 34 | } -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/ui/html/Footer.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.ui.html; 21 | 22 | import com.google.gwt.dom.client.Document; 23 | import gwt.material.design.client.base.MaterialWidget; 24 | 25 | public class Footer extends MaterialWidget { 26 | 27 | public Footer() { 28 | super(Document.get().createElement("footer")); 29 | } 30 | } -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/ui/html/Header.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.ui.html; 21 | 22 | import com.google.gwt.dom.client.Document; 23 | import gwt.material.design.client.base.MaterialWidget; 24 | 25 | public class Header extends MaterialWidget { 26 | 27 | public Header() { 28 | super(Document.get().createElement("header")); 29 | } 30 | } -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/ui/html/Hr.java: -------------------------------------------------------------------------------- 1 | package gwt.material.design.client.ui.html; 2 | 3 | /* 4 | * #%L 5 | * GwtBootstrap3 6 | * %% 7 | * Copyright (C) 2013 GwtBootstrap3 8 | * %% 9 | * Licensed under the Apache License, Version 2.0 (the "License"); 10 | * you may not use this file except in compliance with the License. 11 | * You may obtain a copy of the License at 12 | * 13 | * http://www.apache.org/licenses/LICENSE-2.0 14 | * 15 | * Unless required by applicable law or agreed to in writing, software 16 | * distributed under the License is distributed on an "AS IS" BASIS, 17 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | * See the License for the specific language governing permissions and 19 | * limitations under the License. 20 | * #L% 21 | */ 22 | 23 | import com.google.gwt.dom.client.Document; 24 | import gwt.material.design.client.base.MaterialWidget; 25 | 26 | /** 27 | * @author Ben Dol 28 | */ 29 | public class Hr extends MaterialWidget { 30 | 31 | public Hr() { 32 | setElement(Document.get().createHRElement()); 33 | } 34 | } 35 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/ui/html/Icon.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.ui.html; 21 | 22 | import com.google.gwt.dom.client.Document; 23 | import gwt.material.design.client.base.MaterialWidget; 24 | 25 | public class Icon extends MaterialWidget { 26 | 27 | public Icon() { 28 | super(Document.get().createElement("i")); 29 | } 30 | } -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/ui/html/Italic.java: -------------------------------------------------------------------------------- 1 | package gwt.material.design.client.ui.html; 2 | 3 | /* 4 | * #%L 5 | * GwtBootstrap3 6 | * %% 7 | * Copyright (C) 2013 GwtBootstrap3 8 | * %% 9 | * Licensed under the Apache License, Version 2.0 (the "License"); 10 | * you may not use this file except in compliance with the License. 11 | * You may obtain a copy of the License at 12 | * 13 | * http://www.apache.org/licenses/LICENSE-2.0 14 | * 15 | * Unless required by applicable law or agreed to in writing, software 16 | * distributed under the License is distributed on an "AS IS" BASIS, 17 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | * See the License for the specific language governing permissions and 19 | * limitations under the License. 20 | * #L% 21 | */ 22 | 23 | import com.google.gwt.dom.client.Document; 24 | import gwt.material.design.client.base.AbstractTextWidget; 25 | 26 | public class Italic extends AbstractTextWidget { 27 | 28 | public Italic() { 29 | super(Document.get().createElement("em")); 30 | } 31 | 32 | public Italic(final String text) { 33 | this(); 34 | setHTML(text); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/ui/html/Main.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.ui.html; 21 | 22 | import com.google.gwt.dom.client.Document; 23 | import gwt.material.design.client.base.MaterialWidget; 24 | 25 | public class Main extends MaterialWidget { 26 | 27 | public Main() { 28 | super(Document.get().createElement("main")); 29 | } 30 | } -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/ui/html/Nav.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.ui.html; 21 | 22 | import com.google.gwt.dom.client.Document; 23 | import gwt.material.design.client.base.MaterialWidget; 24 | 25 | public class Nav extends MaterialWidget { 26 | 27 | public Nav() { 28 | super(Document.get().createElement("nav")); 29 | } 30 | } -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/ui/html/Small.java: -------------------------------------------------------------------------------- 1 | package gwt.material.design.client.ui.html; 2 | 3 | /* 4 | * #%L 5 | * GwtBootstrap3 6 | * %% 7 | * Copyright (C) 2013 GwtBootstrap3 8 | * %% 9 | * Licensed under the Apache License, Version 2.0 (the "License"); 10 | * you may not use this file except in compliance with the License. 11 | * You may obtain a copy of the License at 12 | * 13 | * http://www.apache.org/licenses/LICENSE-2.0 14 | * 15 | * Unless required by applicable law or agreed to in writing, software 16 | * distributed under the License is distributed on an "AS IS" BASIS, 17 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | * See the License for the specific language governing permissions and 19 | * limitations under the License. 20 | * #L% 21 | */ 22 | 23 | import com.google.gwt.dom.client.Document; 24 | import gwt.material.design.client.base.AbstractTextWidget; 25 | 26 | public class Small extends AbstractTextWidget { 27 | 28 | public Small() { 29 | super(Document.get().createElement("small")); 30 | } 31 | 32 | public Small(final String text) { 33 | this(); 34 | setHTML(text); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/client/ui/html/Strong.java: -------------------------------------------------------------------------------- 1 | package gwt.material.design.client.ui.html; 2 | 3 | /* 4 | * #%L 5 | * GwtBootstrap3 6 | * %% 7 | * Copyright (C) 2013 GwtBootstrap3 8 | * %% 9 | * Licensed under the Apache License, Version 2.0 (the "License"); 10 | * you may not use this file except in compliance with the License. 11 | * You may obtain a copy of the License at 12 | * 13 | * http://www.apache.org/licenses/LICENSE-2.0 14 | * 15 | * Unless required by applicable law or agreed to in writing, software 16 | * distributed under the License is distributed on an "AS IS" BASIS, 17 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 18 | * See the License for the specific language governing permissions and 19 | * limitations under the License. 20 | * #L% 21 | */ 22 | 23 | import com.google.gwt.dom.client.Document; 24 | import gwt.material.design.client.base.AbstractTextWidget; 25 | 26 | public class Strong extends AbstractTextWidget { 27 | 28 | public Strong() { 29 | super(Document.get().createElement("strong")); 30 | } 31 | 32 | public Strong(final String text) { 33 | this(); 34 | setHTML(text); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /gwt-material/src/main/java/gwt/material/design/gen/IconTypeTemplate.txt: -------------------------------------------------------------------------------- 1 | package gwt.material.design.client.constants; 2 | 3 | import javax.annotation.Generated; 4 | 5 | import gwt.material.design.client.base.helper.EnumHelper; 6 | 7 | @Generated(value = "gwt.material.design.gen.IconTypeGenerator", date = "${generationDate}") 8 | public enum IconType implements CssType { 9 | 10 | ${enumValues} 11 | 12 | private final String cssClass; 13 | 14 | IconType(final String cssClass) { 15 | this.cssClass = cssClass; 16 | } 17 | 18 | @Override 19 | public String getCssName() { 20 | return cssClass; 21 | } 22 | 23 | public static IconType fromStyleName(final String styleName) { 24 | return EnumHelper.fromStyleName(styleName, IconType.class, DEFAULT); 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/gwt-visualization.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GwtMaterialDesign/gwt-material/9fa99725a7c0722ab29afae7486fc7ef798c5b19/gwt-material/src/main/resources/gwt/material/design/client/resources/gwt-visualization.jar -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/app-installer.min.js: -------------------------------------------------------------------------------- 1 | function AppInstaller(n){window.install.canPrompt(n).then(function(){})["catch"](function(t){n.call(t)}),this.prompt=function(){window.install.prompt().then(function(n){})["catch"](function(t){n.call(t)})},this.isLaunched=function(n){return window.matchMedia("(display-mode: "+n+")").matches}}!function(){var n,t,e=!1,o=new Promise(function(n,e){t=n});window.addEventListener("beforeinstallprompt",function(o){return e=!0,o.preventDefault(),n=o,t(),!1});var i={};Object.defineProperty(i,"isAvailable",{get:function(){return e}}),i.canPrompt=function(){return o},i.prompt=function(){return new Promise(function(t,o){e===!1&&o("User Agent decided not to prompt"),n.prompt().then(function(){return n.userChoice}).then(function(n){t(n.outcome)})["catch"](function(n){o(n)})})},window.install=i}(); -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/ar.js: -------------------------------------------------------------------------------- 1 | // Arabic 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'يناير', 'فبراير', 'مارس', 'ابريل', 'مايو', 'يونيو', 'يوليو', 'اغسطس', 'سبتمبر', 'اكتوبر', 'نوفمبر', 'ديسمبر' ], 5 | monthsShort: [ 'يناير', 'فبراير', 'مارس', 'ابريل', 'مايو', 'يونيو', 'يوليو', 'اغسطس', 'سبتمبر', 'اكتوبر', 'نوفمبر', 'ديسمبر' ], 6 | weekdaysFull: [ 'الاحد', 'الاثنين', 'الثلاثاء', 'الاربعاء', 'الخميس', 'الجمعة', 'السبت' ], 7 | weekdaysShort: [ 'الاحد', 'الاثنين', 'الثلاثاء', 'الاربعاء', 'الخميس', 'الجمعة', 'السبت' ], 8 | weekdaysLetter: ['أح', 'إث', 'ث', 'أر', 'خ', 'ج', 'س'], 9 | today: 'اليوم', 10 | clear: 'مسح', 11 | close: 'خرج', 12 | format: 'yyyy mmmm dd', 13 | formatSubmit: 'yyyy/mm/dd' 14 | }); 15 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/bg_BG.js: -------------------------------------------------------------------------------- 1 | // Bulgarian 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'януари','февруари','март','април','май','юни','юли','август','септември','октомври','ноември','декември' ], 5 | monthsShort: [ 'янр','фев','мар','апр','май','юни','юли','авг','сеп','окт','ное','дек' ], 6 | weekdaysFull: [ 'неделя', 'понеделник', 'вторник', 'сряда', 'четвъртък', 'петък', 'събота' ], 7 | weekdaysShort: [ 'нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб' ], 8 | weekdaysLetter: ['Н', 'П', 'В', 'С', 'Ч', 'П', 'С'], 9 | today: 'днес', 10 | clear: 'изтривам', 11 | close: 'излизам', 12 | firstDay: 1, 13 | format: 'd mmmm yyyy г.', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | 17 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/bs_BA.js: -------------------------------------------------------------------------------- 1 | // Bosnian 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'januar', 'februar', 'mart', 'april', 'maj', 'juni', 'juli', 'august', 'septembar', 'oktobar', 'novembar', 'decembar' ], 5 | monthsShort: [ 'jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec' ], 6 | weekdaysFull: [ 'nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'cetvrtak', 'petak', 'subota' ], 7 | weekdaysShort: [ 'ne', 'po', 'ut', 'sr', 'če', 'pe', 'su' ], 8 | weekdaysLetter: ['n', 'p', 'u', 's', 'č', 'p', 's'], 9 | today: 'danas', 10 | clear: 'izbrisati', 11 | close: 'izaći', 12 | firstDay: 1, 13 | format: 'dd. mmmm yyyy.', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/ca_ES.js: -------------------------------------------------------------------------------- 1 | // Catalan 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'Gener', 'Febrer', 'Març', 'Abril', 'Maig', 'juny', 'Juliol', 'Agost', 'Setembre', 'Octubre', 'Novembre', 'Desembre' ], 5 | monthsShort: [ 'Gen', 'Feb', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Oct', 'Nov', 'Des' ], 6 | weekdaysFull: [ 'diumenge', 'dilluns', 'dimarts', 'dimecres', 'dijous', 'divendres', 'dissabte' ], 7 | weekdaysShort: [ 'diu', 'dil', 'dim', 'dmc', 'dij', 'div', 'dis' ], 8 | weekdaysLetter: ['dg', 'dl', 'dt', 'dc', 'dj', 'dv', 'ds'], 9 | today: 'avui', 10 | clear: 'esborrar', 11 | close: 'tancar', 12 | firstDay: 1, 13 | format: 'dddd d !de mmmm !de yyyy', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/cs_CZ.js: -------------------------------------------------------------------------------- 1 | // Czech 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'leden', 'únor', 'březen', 'duben', 'květen', 'červen', 'červenec', 'srpen', 'září', 'říjen', 'listopad', 'prosinec' ], 5 | monthsShort: [ 'led', 'úno', 'bře', 'dub', 'kvě', 'čer', 'čvc', 'srp', 'zář', 'říj', 'lis', 'pro' ], 6 | weekdaysFull: [ 'neděle', 'pondělí', 'úterý', 'středa', 'čtvrtek', 'pátek', 'sobota' ], 7 | weekdaysShort: [ 'ne', 'po', 'út', 'st', 'čt', 'pá', 'so' ], 8 | weekdaysLetter: ['Ne', 'Po', 'Út', 'St', 'Čt', 'Pá', 'So'], 9 | today: 'dnes', 10 | clear: 'vymazat', 11 | close: 'výjezd', 12 | firstDay: 1, 13 | format: 'd. mmmm yyyy', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/da_DK.js: -------------------------------------------------------------------------------- 1 | // Danish 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'januar', 'februar', 'marts', 'april', 'maj', 'juni', 'juli', 'august', 'september', 'oktober', 'november', 'december' ], 5 | monthsShort: [ 'jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec' ], 6 | weekdaysFull: [ 'søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag' ], 7 | weekdaysShort: [ 'søn', 'man', 'tir', 'ons', 'tor', 'fre', 'lør' ], 8 | weekdaysLetter: ['Sø', 'Ma', 'Ti', 'On', 'To', 'Fr', 'Lø'], 9 | today: 'i dag', 10 | clear: 'slet', 11 | close: 'luk', 12 | firstDay: 1, 13 | format: 'd. mmmm yyyy', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/de_DE.js: -------------------------------------------------------------------------------- 1 | // German 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'Januar', 'Februar', 'März', 'April', 'Mai', 'Juni', 'Juli', 'August', 'September', 'Oktober', 'November', 'Dezember' ], 5 | monthsShort: [ 'Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez' ], 6 | weekdaysFull: [ 'Sonntag', 'Montag', 'Dienstag', 'Mittwoch', 'Donnerstag', 'Freitag', 'Samstag' ], 7 | weekdaysShort: [ 'So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa' ], 8 | weekdaysLetter: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], 9 | today: 'Heute', 10 | clear: 'Löschen', 11 | close: 'Schließen', 12 | firstDay: 1, 13 | format: 'dddd, dd. mmmm yyyy', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/el_GR.js: -------------------------------------------------------------------------------- 1 | // Greek 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'Ιανουάριος', 'Φεβρουάριος', 'Μάρτιος', 'Απρίλιος', 'Μάιος', 'Ιούνιος', 'Ιούλιος', 'Αύγουστος', 'Σεπτέμβριος', 'Οκτώβριος', 'Νοέμβριος', 'Δεκέμβριος' ], 5 | monthsShort: [ 'Ιαν', 'Φεβ', 'Μαρ', 'Απρ', 'Μαι', 'Ιουν', 'Ιουλ', 'Αυγ', 'Σεπ', 'Οκτ', 'Νοε', 'Δεκ' ], 6 | weekdaysFull: [ 'Κυριακή', 'Δευτέρα', 'Τρίτη', 'Τετάρτη', 'Πέμπτη', 'Παρασκευή', 'Σάββατο' ], 7 | weekdaysShort: [ 'Κυρ', 'Δευ', 'Τρι', 'Τετ', 'Πεμ', 'Παρ', 'Σαβ' ], 8 | weekdaysLetter: ['Κυ', 'Δε', 'Τρ', 'Τε', 'Πε', 'Πα', 'Σα'], 9 | today: 'σήμερα', 10 | clear: 'Διαγραφή', 11 | close: 'κλείνω', 12 | firstDay: 1, 13 | format: 'd mmmm yyyy', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/en.js: -------------------------------------------------------------------------------- 1 | // English 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' ], 5 | monthsShort: [ 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec' ], 6 | weekdaysFull: [ 'Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday' ], 7 | weekdaysShort: [ 'Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat' ], 8 | weekdaysLetter: ['S', 'M', 'T', 'W', 'T', 'F', 'S'], 9 | today: 'Today', 10 | clear: 'Clear', 11 | close: 'Close', 12 | firstDay: 1, 13 | format: 'd mmmm yyyy', 14 | formatSubmit: 'dd/mm/yyyy' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/es_ES.js: -------------------------------------------------------------------------------- 1 | // Spanish 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', 'octubre', 'noviembre', 'diciembre' ], 5 | monthsShort: [ 'ene', 'feb', 'mar', 'abr', 'may', 'jun', 'jul', 'ago', 'sep', 'oct', 'nov', 'dic' ], 6 | weekdaysFull: [ 'domingo', 'lunes', 'martes', 'miércoles', 'jueves', 'viernes', 'sábado' ], 7 | weekdaysShort: [ 'dom', 'lun', 'mar', 'mié', 'jue', 'vie', 'sáb' ], 8 | weekdaysLetter: ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa'], 9 | today: 'hoy', 10 | clear: 'borrar', 11 | close: 'cerrar', 12 | firstDay: 1, 13 | format: 'dddd d !de mmmm !de yyyy', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/et_EE.js: -------------------------------------------------------------------------------- 1 | // Estonian 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'jaanuar', 'veebruar', 'märts', 'aprill', 'mai', 'juuni', 'juuli', 'august', 'september', 'oktoober', 'november', 'detsember' ], 5 | monthsShort: [ 'jaan', 'veebr', 'märts', 'apr', 'mai', 'juuni', 'juuli', 'aug', 'sept', 'okt', 'nov', 'dets' ], 6 | weekdaysFull: [ 'pühapäev', 'esmaspäev', 'teisipäev', 'kolmapäev', 'neljapäev', 'reede', 'laupäev' ], 7 | weekdaysShort: [ 'püh', 'esm', 'tei', 'kol', 'nel', 'ree', 'lau' ], 8 | weekdaysLetter: ['P', 'E', 'T', 'K', 'N', 'R', 'L'], 9 | today: 'täna', 10 | clear: 'kustutama', 11 | close: 'lõpetama', 12 | firstDay: 1, 13 | format: 'd. mmmm yyyy. a', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/eu_ES.js: -------------------------------------------------------------------------------- 1 | // Basque 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'urtarrila', 'otsaila', 'martxoa', 'apirila', 'maiatza', 'ekaina', 'uztaila', 'abuztua', 'iraila', 'urria', 'azaroa', 'abendua' ], 5 | monthsShort: [ 'urt', 'ots', 'mar', 'api', 'mai', 'eka', 'uzt', 'abu', 'ira', 'urr', 'aza', 'abe' ], 6 | weekdaysFull: [ 'igandea', 'astelehena', 'asteartea', 'asteazkena', 'osteguna', 'ostirala', 'larunbata' ], 7 | weekdaysShort: [ 'ig.', 'al.', 'ar.', 'az.', 'og.', 'or.', 'lr.' ], 8 | weekdaysLetter: [ 'ig.', 'al.', 'ar.', 'az.', 'og.', 'or.', 'lr.' ], 9 | today: 'gaur', 10 | clear: 'garbitu', 11 | close: 'itxi', 12 | firstDay: 1, 13 | format: 'dddd, yyyy(e)ko mmmmren da', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/fa_ir.js: -------------------------------------------------------------------------------- 1 | // Farsi 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'ژانویه', 'فوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر'], 5 | monthsShort: [ 'ژانویه', 'فوریه', 'مارس', 'آوریل', 'مه', 'ژوئن', 'ژوئیه', 'اوت', 'سپتامبر', 'اکتبر', 'نوامبر', 'دسامبر' ], 6 | weekdaysFull: [ 'یکشنبه', 'دوشنبه', 'سه شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه' ], 7 | weekdaysShort: [ 'یکشنبه', 'دوشنبه', 'سه شنبه', 'چهارشنبه', 'پنجشنبه', 'جمعه', 'شنبه' ], 8 | today: 'امروز', 9 | clear: 'پاک کردن', 10 | close: 'بستن', 11 | format: 'yyyy mmmm dd', 12 | formatSubmit: 'yyyy/mm/dd', 13 | labelMonthNext: 'ماه بعدی', 14 | labelMonthPrev: 'ماه قبلی' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/fi_FI.js: -------------------------------------------------------------------------------- 1 | // Finnish 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'tammikuu', 'helmikuu', 'maaliskuu', 'huhtikuu', 'toukokuu', 'kesäkuu', 'heinäkuu', 'elokuu', 'syyskuu', 'lokakuu', 'marraskuu', 'joulukuu' ], 5 | monthsShort: [ 'tammi', 'helmi', 'maalis', 'huhti', 'touko', 'kesä', 'heinä', 'elo', 'syys', 'loka', 'marras', 'joulu' ], 6 | weekdaysFull: [ 'sunnuntai', 'maanantai', 'tiistai', 'keskiviikko', 'torstai', 'perjantai', 'lauantai' ], 7 | weekdaysShort: [ 'su', 'ma', 'ti', 'ke', 'to', 'pe', 'la' ], 8 | weekdaysLetter: [ 'su', 'ma', 'ti', 'ke', 'to', 'pe', 'la' ], 9 | today: 'tänään', 10 | clear: 'tyhjennä', 11 | close: 'lopettaa', 12 | firstDay: 1, 13 | format: 'd.m.yyyy', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/fr_FR.js: -------------------------------------------------------------------------------- 1 | // French 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'Janvier', 'Février', 'Mars', 'Avril', 'Mai', 'Juin', 'Juillet', 'Août', 'Septembre', 'Octobre', 'Novembre', 'Décembre' ], 5 | monthsShort: [ 'Jan', 'Fev', 'Mar', 'Avr', 'Mai', 'Juin', 'Juil', 'Aou', 'Sep', 'Oct', 'Nov', 'Dec' ], 6 | weekdaysFull: [ 'Dimanche', 'Lundi', 'Mardi', 'Mercredi', 'Jeudi', 'Vendredi', 'Samedi' ], 7 | weekdaysShort: [ 'Dim', 'Lun', 'Mar', 'Mer', 'Jeu', 'Ven', 'Sam' ], 8 | weekdaysLetter: [ 'D', 'L', 'Ma', 'Me', 'J', 'V', 'S' ], 9 | today: 'Aujourd\'hui', 10 | clear: 'Effacer', 11 | close: 'Fermer', 12 | firstDay: 1, 13 | format: 'dd mmmm yyyy', 14 | formatSubmit: 'yyyy/mm/dd', 15 | labelMonthNext:'Mois suivant', 16 | labelMonthPrev:'Mois précédent', 17 | labelMonthSelect:'Sélectionner un mois', 18 | labelYearSelect:'Sélectionner une année' 19 | }); 20 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/gl_ES.js: -------------------------------------------------------------------------------- 1 | // Galician 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'Xaneiro', 'Febreiro', 'Marzo', 'Abril', 'Maio', 'Xuño', 'Xullo', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Decembro' ], 5 | monthsShort: [ 'xan', 'feb', 'mar', 'abr', 'mai', 'xun', 'xul', 'ago', 'sep', 'out', 'nov', 'dec' ], 6 | weekdaysFull: [ 'domingo', 'luns', 'martes', 'mércores', 'xoves', 'venres', 'sábado' ], 7 | weekdaysShort: [ 'dom', 'lun', 'mar', 'mér', 'xov', 'ven', 'sab' ], 8 | weekdaysLetter: [ 'Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa' ], 9 | today: 'hoxe', 10 | clear: 'borrar', 11 | close: 'pechar', 12 | firstDay: 1, 13 | format: 'dddd d !de mmmm !de yyyy', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/he_IL.js: -------------------------------------------------------------------------------- 1 | // Hebrew 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'ינואר', 'פברואר', 'מרץ', 'אפריל', 'מאי', 'יוני', 'יולי', 'אוגוסט', 'ספטמבר', 'אוקטובר', 'נובמבר', 'דצמבר' ], 5 | monthsShort: [ 'ינו', 'פבר', 'מרץ', 'אפר', 'מאי', 'יונ', 'יול', 'אוג', 'ספט', 'אוק', 'נוב', 'דצמ' ], 6 | weekdaysFull: [ 'יום ראשון', 'יום שני', 'יום שלישי', 'יום רביעי', 'יום חמישי', 'יום ששי', 'יום שבת' ], 7 | weekdaysShort: [ 'א', 'ב', 'ג', 'ד', 'ה', 'ו', 'ש' ], 8 | weekdaysLetter: ['א', 'ב', 'ג', 'ד', 'ה', 'ו', 'ש'], 9 | today: 'היום', 10 | clear: 'למחוק', 11 | close: 'לִסְגוֹר', 12 | format: 'yyyy mmmmב d dddd', 13 | formatSubmit: 'yyyy/mm/dd' 14 | }); 15 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/hi_IN.js: -------------------------------------------------------------------------------- 1 | jQuery.extend( jQuery.fn.pickadate.defaults, { 2 | monthsFull: [ 'जनवरी', 'फरवरी', 'मार्च', 'अप्रैल', 'मई', 'जून', 'जुलाई', 'अगस्त', 'सितम्बर', 'अक्टूबर', 'नवम्बर', 'दिसम्बर' ], 3 | monthsShort: [ 'जन', 'फर', 'मार्च', 'अप्रैल', 'मई', 'जून', 'जु', 'अग', 'सित', 'अक्टू', 'नव', 'दिस' ], 4 | weekdaysFull: [ 'रविवार', 'सोमवार', 'मंगलवार', 'बुधवार', 'गुरुवार', 'शुक्रवार', 'शनिवार' ], 5 | weekdaysShort: [ 'रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र','शनि' ], 6 | weekdaysLetter: [ 'रवि', 'सोम', 'मंगल', 'बुध', 'गुरु', 'शुक्र','शनि' ], 7 | today: 'आज की तारीख चयन करें', 8 | clear: 'चुनी हुई तारीख को मिटाएँ', 9 | close: 'विंडो बंद करे', 10 | firstDay: 1, 11 | format: 'dd/mm/yyyy', 12 | formatSubmit: 'yyyy/mm/dd', 13 | labelMonthNext: 'अगले माह का चयन करें', 14 | labelMonthPrev: 'पिछले माह का चयन करें', 15 | labelMonthSelect: 'किसि एक महीने का चयन करें', 16 | labelYearSelect: 'किसि एक वर्ष का चयन करें' 17 | }); 18 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/hr_HR.js: -------------------------------------------------------------------------------- 1 | // Croatian 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'sijećanj', 'veljača', 'ožujak', 'travanj', 'svibanj', 'lipanj', 'srpanj', 'kolovoz', 'rujan', 'listopad', 'studeni', 'prosinac' ], 5 | monthsShort: [ 'sij', 'velj', 'ožu', 'tra', 'svi', 'lip', 'srp', 'kol', 'ruj', 'lis', 'stu', 'pro' ], 6 | weekdaysFull: [ 'nedjelja', 'ponedjeljak', 'utorak', 'srijeda', 'četvrtak', 'petak', 'subota' ], 7 | weekdaysShort: [ 'ned', 'pon', 'uto', 'sri', 'čet', 'pet', 'sub' ], 8 | weekdaysLetter: [ 'Ne', 'Po', 'Ut', 'Sr', 'Če', 'Pe', 'Su' ], 9 | today: 'danas', 10 | clear: 'izbrisati', 11 | close: 'zatvoriti', 12 | firstDay: 1, 13 | format: 'd. mmmm yyyy.', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/hu_HU.js: -------------------------------------------------------------------------------- 1 | // Hungarian 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'január', 'február', 'március', 'április', 'május', 'június', 'július', 'augusztus', 'szeptember', 'október', 'november', 'december' ], 5 | monthsShort: [ 'jan', 'febr', 'márc', 'ápr', 'máj', 'jún', 'júl', 'aug', 'szept', 'okt', 'nov', 'dec' ], 6 | weekdaysFull: [ 'vasárnap', 'hétfő', 'kedd', 'szerda', 'csütörtök', 'péntek', 'szombat' ], 7 | weekdaysShort: [ 'V', 'H', 'K', 'SZe', 'CS', 'P', 'SZo' ], 8 | weekdaysLetter: [ 'V', 'H', 'K', 'Sze', 'Cs', 'P', 'Szo' ], 9 | today: 'Ma', 10 | clear: 'Törlés', 11 | close: 'Zár', 12 | firstDay: 1, 13 | format: 'yyyy. mmmm dd.', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/id_ID.js: -------------------------------------------------------------------------------- 1 | // Indonesian 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'Januari', 'Februari', 'Maret', 'April', 'Mei', 'Juni', 'Juli', 'Agustus', 'September', 'Oktober', 'November', 'Desember' ], 5 | monthsShort: [ 'Jan', 'Feb', 'Mar', 'Apr', 'Mei', 'Jun', 'Jul', 'Agu', 'Sep', 'Okt', 'Nov', 'Des' ], 6 | weekdaysFull: [ 'Minggu', 'Senin', 'Selasa', 'Rabu', 'Kamis', 'Jumat', 'Sabtu' ], 7 | weekdaysShort: [ 'Min', 'Sen', 'Sel', 'Rab', 'Kam', 'Jum', 'Sab' ], 8 | weekdaysLetter: [ 'Mg', 'Sn', 'Sl', 'Ra', 'Ka', 'Ju', 'Sa' ], 9 | today: 'hari ini', 10 | clear: 'menghapus', 11 | close: 'ditutup', 12 | firstDay: 1, 13 | format: 'd mmmm yyyy', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/is_IS.js: -------------------------------------------------------------------------------- 1 | // Icelandic 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'janúar', 'febrúar', 'mars', 'apríl', 'maí', 'júní', 'júlí', 'ágúst', 'september', 'október', 'nóvember', 'desember' ], 5 | monthsShort: [ 'jan', 'feb', 'mar', 'apr', 'maí', 'jún', 'júl', 'ágú', 'sep', 'okt', 'nóv', 'des' ], 6 | weekdaysFull: [ 'sunnudagur', 'mánudagur', 'þriðjudagur', 'miðvikudagur', 'fimmtudagur', 'föstudagur', 'laugardagur' ], 7 | weekdaysShort: [ 'sun', 'mán', 'þri', 'mið', 'fim', 'fös', 'lau' ], 8 | weekdaysLetter: [ 'Su', 'Má', 'Þr', 'Mi', 'Fi', 'Fö', 'La' ], 9 | today: 'Í dag', 10 | clear: 'Hreinsa', 11 | close: 'lokast', 12 | firstDay: 1, 13 | format: 'dd. mmmm yyyy', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/it_IT.js: -------------------------------------------------------------------------------- 1 | // Italian 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'gennaio', 'febbraio', 'marzo', 'aprile', 'maggio', 'giugno', 'luglio', 'agosto', 'settembre', 'ottobre', 'novembre', 'dicembre' ], 5 | monthsShort: [ 'gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic' ], 6 | weekdaysFull: [ 'domenica', 'lunedì', 'martedì', 'mercoledì', 'giovedì', 'venerdì', 'sabato' ], 7 | weekdaysShort: [ 'dom', 'lun', 'mar', 'mer', 'gio', 'ven', 'sab' ], 8 | weekdaysLetter: [ 'Do', 'Lu', 'Ma', 'Me', 'Gi', 'Ve', 'Sa' ], 9 | today: 'Oggi', 10 | clear: 'Cancella', 11 | close: 'Chiudi', 12 | firstDay: 1, 13 | format: 'dddd d mmmm yyyy', 14 | formatSubmit: 'yyyy/mm/dd', 15 | labelMonthNext: 'Mese successivo', 16 | labelMonthPrev: 'Mese precedente', 17 | labelMonthSelect: 'Seleziona un mese', 18 | labelYearSelect: 'Seleziona un anno' 19 | }); -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/ja_JP.js: -------------------------------------------------------------------------------- 1 | // Japanese 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月' ], 5 | monthsShort: [ '1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月' ], 6 | weekdaysFull: [ '日曜日', '月曜日', '火曜日', '水曜日', '木曜日', '金曜日', '土曜日' ], 7 | weekdaysShort: [ '日', '月', '火', '水', '木', '金', '土' ], 8 | weekdaysLetter: [ '日', '月', '火', '水', '木', '金', '土' ], 9 | today: '今日', 10 | clear: '消去', 11 | close: '閉じる', 12 | firstDay: 1, 13 | format: 'yyyy mm dd', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/ko_KR.js: -------------------------------------------------------------------------------- 1 | // Korean 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ '1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월' ], 5 | monthsShort: [ '1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월' ], 6 | weekdaysFull: [ '일요일', '월요일', '화요일', '수요일', '목요일', '금요일', '토요일' ], 7 | weekdaysShort: [ '일', '월', '화', '수', '목', '금', '토' ], 8 | weekdaysLetter: [ '일', '월', '화', '수', '목', '금', '토' ], 9 | today: '오늘', 10 | clear: '취소', 11 | close: '닫다', 12 | firstDay: 1, 13 | format: 'yyyy 년 mm 월 dd 일', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/lt_LT.js: -------------------------------------------------------------------------------- 1 | // Lietuviškai 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | labelMonthNext: 'Sekantis mėnuo', 5 | labelMonthPrev: 'Ankstesnis mėnuo', 6 | labelMonthSelect: 'Pasirinkite mėnesį', 7 | labelYearSelect: 'Pasirinkite metus', 8 | monthsFull: ['Sausis', 'Vasaris', 'Kovas', 'Balandis', 'Gegužė', 'Birželis', 'Liepa', 'Rugpjūtis', 'Rugsėjis', 'Spalis', 'Lapkritis', 'Gruodis'], 9 | monthsShort: ['Sau', 'Vas', 'Kov', 'Bal', 'Geg', 'Bir', 'Lie', 'Rgp', 'Rgs', 'Spa', 'Lap', 'Grd'], 10 | weekdaysFull: ['Sekmadienis', 'Pirmadienis', 'Antradienis', 'Trečiadienis', 'Ketvirtadienis', 'Penktadienis', 'Šeštadienis'], 11 | weekdaysShort: ['Sk', 'Pr', 'An', 'Tr', 'Kt', 'Pn', 'Št'], 12 | weekdaysLetter: [ 'Sk', 'Pr', 'An', 'Tr', 'Kt', 'Pn', 'Št' ], 13 | today: 'Šiandien', 14 | clear: 'Išvalyti', 15 | close: 'Uždaryti', 16 | firstDay: 1, 17 | //format: 'yyyy !m. mmmm d !d.', // need to have diffrent case of full months name 18 | format: 'yyyy-mm-dd', 19 | formatSubmit: 'yyyy/mm/dd' 20 | }); 21 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/lv_LV.js: -------------------------------------------------------------------------------- 1 | // Latvian 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'Janvāris', 'Februāris', 'Marts', 'Aprīlis', 'Maijs', 'Jūnijs', 'Jūlijs', 'Augusts', 'Septembris', 'Oktobris', 'Novembris', 'Decembris' ], 5 | monthsShort: [ 'Jan', 'Feb', 'Mar', 'Apr', 'Mai', 'Jūn', 'Jūl', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec' ], 6 | weekdaysFull: [ 'Svētdiena', 'Pirmdiena', 'Otrdiena', 'Trešdiena', 'Ceturtdiena', 'Piektdiena', 'Sestdiena' ], 7 | weekdaysShort: [ 'Sv', 'P', 'O', 'T', 'C', 'Pk', 'S' ], 8 | weekdaysLetter: [ 'Sv', 'P', 'O', 'T', 'C', 'Pk', 'S' ], 9 | today: 'Šodiena', 10 | clear: 'Atcelt', 11 | close: 'aizvērt', 12 | firstDay: 1, 13 | format: 'yyyy.mm.dd. dddd', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/nb_NO.js: -------------------------------------------------------------------------------- 1 | // Norwegian 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'januar', 'februar', 'mars', 'april', 'mai', 'juni', 'juli', 'august', 'september', 'oktober', 'november', 'desember' ], 5 | monthsShort: [ 'jan', 'feb', 'mar', 'apr', 'mai', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'des' ], 6 | weekdaysFull: [ 'søndag', 'mandag', 'tirsdag', 'onsdag', 'torsdag', 'fredag', 'lørdag' ], 7 | weekdaysShort: [ 'søn','man','tir', 'ons', 'tor', 'fre', 'lør' ], 8 | weekdaysLetter: [ 'Sø', 'Ma', 'Ti', 'On', 'To', 'Fr', 'Lø' ], 9 | today: 'i dag', 10 | clear: 'nullstill', 11 | close: 'lukk', 12 | firstDay: 1, 13 | format: 'dd. mmm. yyyy', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/ne_NP.js: -------------------------------------------------------------------------------- 1 | // Nepali 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'जनवरी', 'फेब्रुअरी', 'मार्च', 'अप्रिल', 'मे', 'जुन', 'जुलाई', 'अगस्त', 'सेप्टेम्बर', 'अक्टोबर', 'नोवेम्बर', 'डिसेम्बर' ], 5 | monthsShort: [ 'जन', 'फेब्रु', 'मार्च', 'अप्रिल', 'मे', 'जुन', 'जुल', 'अग', 'सेप्टे', 'अक्टो', 'नोभे', 'डिसे' ], 6 | weekdaysFull: [ 'सोमबार', 'मङ्लबार', 'बुधबार', 'बिहीबार', 'शुक्रबार', 'शनिबार', 'आईतबार' ], 7 | weekdaysShort: [ 'सोम', 'मंगल्', 'बुध', 'बिही', 'शुक्र', 'शनि', 'आईत' ], 8 | numbers: [ '०', '१', '२', '३', '४', '५', '६', '७', '८', '९' ], 9 | today: 'आज', 10 | clear: 'मेटाउनुहोस्', 11 | close: 'बन्द गर्नु', 12 | format: 'dddd, dd mmmm, yyyy', 13 | formatSubmit: 'yyyy/mm/dd' 14 | }); 15 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/nl_NL.js: -------------------------------------------------------------------------------- 1 | // Dutch 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'januari', 'februari', 'maart', 'april', 'mei', 'juni', 'juli', 'augustus', 'september', 'oktober', 'november', 'december' ], 5 | monthsShort: [ 'jan', 'feb', 'maa', 'apr', 'mei', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec' ], 6 | weekdaysFull: [ 'zondag', 'maandag', 'dinsdag', 'woensdag', 'donderdag', 'vrijdag', 'zaterdag' ], 7 | weekdaysShort: [ 'zo', 'ma', 'di', 'wo', 'do', 'vr', 'za' ], 8 | weekdaysLetter: [ 'zo', 'ma', 'di', 'wo', 'do', 'vr', 'za' ], 9 | today: 'vandaag', 10 | clear: 'verwijderen', 11 | close: 'sluiten', 12 | firstDay: 1, 13 | format: 'dddd d mmmm yyyy', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/pl_PL.js: -------------------------------------------------------------------------------- 1 | // Polish 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'styczeń', 'luty', 'marzec', 'kwiecień', 'maj', 'czerwiec', 'lipiec', 'sierpień', 'wrzesień', 'październik', 'listopad', 'grudzień' ], 5 | monthsShort: [ 'sty', 'lut', 'mar', 'kwi', 'maj', 'cze', 'lip', 'sie', 'wrz', 'paź', 'lis', 'gru' ], 6 | weekdaysFull: [ 'niedziela', 'poniedziałek', 'wtorek', 'środa', 'czwartek', 'piątek', 'sobota' ], 7 | weekdaysShort: [ 'niedz.', 'pn.', 'wt.', 'śr.', 'cz.', 'pt.', 'sob.' ], 8 | weekdaysLetter: [ 'N', 'Pn', 'Wt', 'Śr', 'Cz', 'Pt', 'So' ], 9 | today: 'Dzisiaj', 10 | clear: 'Usuń', 11 | close: 'Zamknij', 12 | firstDay: 1, 13 | format: 'd mmmm yyyy', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/pt_BR.js: -------------------------------------------------------------------------------- 1 | // Brazilian Portuguese 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'janeiro', 'fevereiro', 'março', 'abril', 'maio', 'junho', 'julho', 'agosto', 'setembro', 'outubro', 'novembro', 'dezembro' ], 5 | monthsShort: [ 'jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez' ], 6 | weekdaysFull: [ 'domingo', 'segunda-feira', 'terça-feira', 'quarta-feira', 'quinta-feira', 'sexta-feira', 'sábado' ], 7 | weekdaysShort: [ 'dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sab' ], 8 | weekdaysLetter: [ 'Do', 'Se', 'Te', 'Qu', 'Qu', 'Se', 'Sa' ], 9 | today: 'hoje', 10 | clear: 'limpar', 11 | close: 'fechar', 12 | format: 'dddd, d !de mmmm !de yyyy', 13 | formatSubmit: 'yyyy/mm/dd' 14 | }); 15 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/pt_PT.js: -------------------------------------------------------------------------------- 1 | // Portuguese 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro' ], 5 | monthsShort: [ 'jan', 'fev', 'mar', 'abr', 'mai', 'jun', 'jul', 'ago', 'set', 'out', 'nov', 'dez' ], 6 | weekdaysFull: [ 'Domingo', 'Segunda', 'Terça', 'Quarta', 'Quinta', 'Sexta', 'Sábado' ], 7 | weekdaysShort: [ 'dom', 'seg', 'ter', 'qua', 'qui', 'sex', 'sab' ], 8 | weekdaysLetter: [ 'Do', 'Se', 'Te', 'Qu', 'Qu', 'Se', 'Sa' ], 9 | today: 'Hoje', 10 | clear: 'Limpar', 11 | close: 'Fechar', 12 | format: 'd !de mmmm !de yyyy', 13 | formatSubmit: 'yyyy/mm/dd' 14 | }); 15 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/ro_RO.js: -------------------------------------------------------------------------------- 1 | // Romanian 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'ianuarie', 'februarie', 'martie', 'aprilie', 'mai', 'iunie', 'iulie', 'august', 'septembrie', 'octombrie', 'noiembrie', 'decembrie' ], 5 | monthsShort: [ 'ian', 'feb', 'mar', 'apr', 'mai', 'iun', 'iul', 'aug', 'sep', 'oct', 'noi', 'dec' ], 6 | weekdaysFull: [ 'duminică', 'luni', 'marţi', 'miercuri', 'joi', 'vineri', 'sâmbătă' ], 7 | weekdaysShort: [ 'D', 'L', 'Ma', 'Mi', 'J', 'V', 'S' ], 8 | weekdaysLetter: [ 'D', 'L', 'Ma', 'Mi', 'J', 'V', 'S' ], 9 | today: 'azi', 10 | clear: 'șterge', 11 | close: 'termina', 12 | firstDay: 1, 13 | format: 'dd mmmm yyyy', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/ru_RU.js: -------------------------------------------------------------------------------- 1 | // Russian 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'января', 'февраля', 'марта', 'апреля', 'мая', 'июня', 'июля', 'августа', 'сентября', 'октября', 'ноября', 'декабря' ], 5 | monthsShort: [ 'янв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'сен', 'окт', 'ноя', 'дек' ], 6 | weekdaysFull: [ 'воскресенье', 'понедельник', 'вторник', 'среда', 'четверг', 'пятница', 'суббота' ], 7 | weekdaysShort: [ 'вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб' ], 8 | weekdaysLetter: [ 'вс', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб' ], 9 | today: 'сегодня', 10 | clear: 'удалить', 11 | close: 'закрыть', 12 | firstDay: 1, 13 | format: 'd mmmm yyyy г.', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/sk_SK.js: -------------------------------------------------------------------------------- 1 | // Slovak 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'január', 'február', 'marec', 'apríl', 'máj', 'jún', 'júl', 'august', 'september', 'október', 'november', 'december' ], 5 | monthsShort: [ 'jan', 'feb', 'mar', 'apr', 'máj', 'jún', 'júl', 'aug', 'sep', 'okt', 'nov', 'dec' ], 6 | weekdaysFull: [ 'nedeľa', 'pondelok', 'utorok', 'streda', 'štvrtok', 'piatok', 'sobota' ], 7 | weekdaysShort: [ 'Ne', 'Po', 'Ut', 'St', 'Št', 'Pi', 'So' ], 8 | weekdaysLetter: [ 'Ne', 'Po', 'Ut', 'St', 'Št', 'Pi', 'So' ], 9 | today: 'dnes', 10 | clear: 'vymazať', 11 | close: 'zavrieť', 12 | firstDay: 1, 13 | format: 'd. mmmm yyyy', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/sl_SI.js: -------------------------------------------------------------------------------- 1 | // Slovenian 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'januar', 'februar', 'marec', 'april', 'maj', 'junij', 'julij', 'avgust', 'september', 'oktober', 'november', 'december' ], 5 | monthsShort: [ 'jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'avg', 'sep', 'okt', 'nov', 'dec' ], 6 | weekdaysFull: [ 'nedelja', 'ponedeljek', 'torek', 'sreda', 'četrtek', 'petek', 'sobota' ], 7 | weekdaysShort: [ 'ned', 'pon', 'tor', 'sre', 'čet', 'pet', 'sob' ], 8 | weekdaysLetter: [ 'Ne', 'Po', 'To', 'Sr', 'Če', 'Pe', 'So' ], 9 | today: 'danes', 10 | clear: 'izbriši', 11 | close: 'zapri', 12 | firstDay: 1, 13 | format: 'd. mmmm yyyy', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/sv_SE.js: -------------------------------------------------------------------------------- 1 | // Swedish 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'januari', 'februari', 'mars', 'april', 'maj', 'juni', 'juli', 'augusti', 'september', 'oktober', 'november', 'december' ], 5 | monthsShort: [ 'jan', 'feb', 'mar', 'apr', 'maj', 'jun', 'jul', 'aug', 'sep', 'okt', 'nov', 'dec' ], 6 | weekdaysFull: [ 'söndag', 'måndag', 'tisdag', 'onsdag', 'torsdag', 'fredag', 'lördag' ], 7 | weekdaysShort: [ 'sön', 'mån', 'tis', 'ons', 'tor', 'fre', 'lör' ], 8 | weekdaysLetter: [ 'Sö', 'Må', 'Ti', 'On', 'To', 'Fr', 'Lö' ], 9 | today: 'Idag', 10 | clear: 'Rensa', 11 | close: 'Stäng', 12 | firstDay: 1, 13 | format: 'yyyy-mm-dd', 14 | formatSubmit: 'yyyy/mm/dd', 15 | labelMonthNext: 'Nästa månad', 16 | labelMonthPrev: 'Föregående månad', 17 | labelMonthSelect: 'Välj månad', 18 | labelYearSelect: 'Välj år' 19 | }); -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/th_TH.js: -------------------------------------------------------------------------------- 1 | // Thai 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'มกราคม', 'กุมภาพันธ์', 'มีนาคม', 'เมษายน', 'พฤษภาคม', 'มิถุนายน', 'กรกฎาคม', 'สิงหาคม', 'กันยายน', 'ตุลาคม', 'พฤศจิกายน', 'ธันวาคม' ], 5 | monthsShort: [ 'ม.ค.', 'ก.พ.', 'มี.ค.', 'เม.ย.', 'พ.ค.', 'มิ.ย.', 'ก.ค.', 'ส.ค.', 'ก.ย.', 'ต.ค.', 'พ.ย.', 'ธ.ค.' ], 6 | weekdaysFull: [ 'อาทติย', 'จันทร', 'องัคาร', 'พุธ', 'พฤหสั บดี', 'ศกุร', 'เสาร' ], 7 | weekdaysShort: [ 'อ.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.' ], 8 | weekdaysLetter: [ 'อ.', 'จ.', 'อ.', 'พ.', 'พฤ.', 'ศ.', 'ส.' ], 9 | today: 'วันนี้', 10 | clear: 'ลบ', 11 | close: 'ปิด', 12 | format: 'd mmmm yyyy', 13 | formatSubmit: 'yyyy/mm/dd' 14 | }); 15 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/tr_TR.js: -------------------------------------------------------------------------------- 1 | // Turkish 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'Ocak', 'Şubat', 'Mart', 'Nisan', 'Mayıs', 'Haziran', 'Temmuz', 'Ağustos', 'Eylül', 'Ekim', 'Kasım', 'Aralık' ], 5 | monthsShort: [ 'Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara' ], 6 | weekdaysFull: [ 'Pazar', 'Pazartesi', 'Salı', 'Çarşamba', 'Perşembe', 'Cuma', 'Cumartesi' ], 7 | weekdaysShort: [ 'Pzr', 'Pzt', 'Sal', 'Çrş', 'Prş', 'Cum', 'Cmt' ], 8 | weekdaysLetter: [ 'Pz', 'Pzt', 'Sa', 'Çr', 'Pr', 'Cu', 'Ct' ], 9 | today: 'Bugün', 10 | clear: 'Sil', 11 | close: 'Kapat', 12 | firstDay: 1, 13 | format: 'dd mmmm yyyy dddd', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/uk_UA.js: -------------------------------------------------------------------------------- 1 | // Ukrainian 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'січень', 'лютий', 'березень', 'квітень', 'травень', 'червень', 'липень', 'серпень', 'вересень', 'жовтень', 'листопад', 'грудень' ], 5 | monthsShort: [ 'січ', 'лют', 'бер', 'кві', 'тра', 'чер', 'лип', 'сер', 'вер', 'жов', 'лис', 'гру' ], 6 | weekdaysFull: [ 'неділя', 'понеділок', 'вівторок', 'середа', 'четвер', 'п‘ятниця', 'субота' ], 7 | weekdaysShort: [ 'нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб' ], 8 | weekdaysLetter: [ 'нд', 'пн', 'вт', 'ср', 'чт', 'пт', 'сб' ], 9 | today: 'сьогодні', 10 | clear: 'викреслити', 11 | close: 'кінчати', 12 | firstDay: 1, 13 | format: 'dd mmmm yyyy p.', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/vi_VN.js: -------------------------------------------------------------------------------- 1 | // Vietnamese 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ 'Tháng Một', 'Tháng Hai', 'Tháng Ba', 'Tháng Tư', 'Tháng Năm', 'Tháng Sáu', 'Tháng Bảy', 'Tháng Tám', 'Tháng Chín', 'Tháng Mười', 'Tháng Mười Một', 'Tháng Mười Hai' ], 5 | monthsShort: [ 'T.Một', 'T.Hai', 'T.Ba', 'T.Tư', 'T.Năm', 'T.Sáu', 'T.Bảy', 'T.Tám', 'T.Chín', 'T.Mười', 'T.Mười Một', 'T.Mười Hai' ], 6 | weekdaysFull: [ 'Chủ Nhật', 'Thứ Hai', 'Thứ Ba', 'Thứ Tư', 'Thứ Năm', 'Thứ Sáu', 'Thứ Bảy' ], 7 | weekdaysShort: [ 'C.Nhật', 'T.Hai', 'T.Ba', 'T.Tư', 'T.Năm', 'T.Sáu', 'T.Bảy' ], 8 | weekdaysLetter: [ 'CN', 'Hai', 'Ba', 'Tư', 'Năm', 'Sáu', 'Bảy' ], 9 | today: 'Hôm Nay', 10 | clear: 'Xoá', 11 | close: 'Đóng', 12 | firstDay: 1 13 | }); 14 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/zh_CN.js: -------------------------------------------------------------------------------- 1 | // Simplified Chinese 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月' ], 5 | monthsShort: [ '一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二' ], 6 | weekdaysFull: [ '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' ], 7 | weekdaysShort: [ '日', '一', '二', '三', '四', '五', '六' ], 8 | weekdaysLetter: [ '日', '一', '二', '三', '四', '五', '六' ], 9 | today: '今日', 10 | clear: '清除', 11 | close: '关闭', 12 | firstDay: 1, 13 | format: 'yyyy 年 mm 月 dd 日', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/client/resources/js/datepicker/zh_TW.js: -------------------------------------------------------------------------------- 1 | // Traditional Chinese 2 | 3 | jQuery.extend( jQuery.fn.pickadate.defaults, { 4 | monthsFull: [ '一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月' ], 5 | monthsShort: [ '一', '二', '三', '四', '五', '六', '七', '八', '九', '十', '十一', '十二' ], 6 | weekdaysFull: [ '星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六' ], 7 | weekdaysShort: [ '日', '一', '二', '三', '四', '五', '六' ], 8 | weekdaysLetter: [ '日', '一', '二', '三', '四', '五', '六' ], 9 | today: '今天', 10 | clear: '清除', 11 | close: '关闭', 12 | firstDay: 1, 13 | format: 'yyyy 年 mm 月 dd 日', 14 | formatSubmit: 'yyyy/mm/dd' 15 | }); 16 | -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/public/css/material-icons.min.css: -------------------------------------------------------------------------------- 1 | @font-face{font-family:'Material Icons';font-style:normal;font-weight:400;src:url(../font/material-icons/MaterialIcons-Regular.eot);src:local('Material Icons'),local('MaterialIcons-Regular'),url(../font/material-icons/MaterialIcons-Regular.woff2) format('woff2'),url(../font/material-icons/MaterialIcons-Regular.woff) format('woff'),url(../font/material-icons/MaterialIcons-Regular.ttf) format('truetype');font-display:swap}.material-icons{font-family:'Material Icons';font-weight:400;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;font-feature-settings:'liga';-moz-font-feature-settings:'liga';-webkit-font-feature-settings:'liga';-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility} -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/public/font/material-icons/MaterialIcons-Regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GwtMaterialDesign/gwt-material/9fa99725a7c0722ab29afae7486fc7ef798c5b19/gwt-material/src/main/resources/gwt/material/design/public/font/material-icons/MaterialIcons-Regular.ttf -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/public/font/material-icons/MaterialIconsOutlined-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GwtMaterialDesign/gwt-material/9fa99725a7c0722ab29afae7486fc7ef798c5b19/gwt-material/src/main/resources/gwt/material/design/public/font/material-icons/MaterialIconsOutlined-Regular.otf -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/public/font/material-icons/MaterialIconsRound-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GwtMaterialDesign/gwt-material/9fa99725a7c0722ab29afae7486fc7ef798c5b19/gwt-material/src/main/resources/gwt/material/design/public/font/material-icons/MaterialIconsRound-Regular.otf -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/public/font/material-icons/MaterialIconsSharp-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GwtMaterialDesign/gwt-material/9fa99725a7c0722ab29afae7486fc7ef798c5b19/gwt-material/src/main/resources/gwt/material/design/public/font/material-icons/MaterialIconsSharp-Regular.otf -------------------------------------------------------------------------------- /gwt-material/src/main/resources/gwt/material/design/public/font/material-icons/MaterialIconsTwoTone-Regular.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/GwtMaterialDesign/gwt-material/9fa99725a7c0722ab29afae7486fc7ef798c5b19/gwt-material/src/main/resources/gwt/material/design/public/font/material-icons/MaterialIconsTwoTone-Regular.otf -------------------------------------------------------------------------------- /gwt-material/src/test/java/gwt/material/design/client/ui/MaterialButtonTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.ui; 21 | 22 | import gwt.material.design.client.ui.base.AbstractIconButtonTest; 23 | 24 | /** 25 | * Test case for Buttons 26 | * 27 | * @author kevzlou7979 28 | * @author Ben Dol 29 | */ 30 | public class MaterialButtonTest extends AbstractIconButtonTest { 31 | 32 | @Override 33 | protected MaterialButton createWidget() { 34 | return new MaterialButton(); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /gwt-material/src/test/java/gwt/material/design/client/ui/MaterialLinkTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.ui; 21 | 22 | import gwt.material.design.client.ui.base.AbstractIconButtonTest; 23 | 24 | /** 25 | * Test case for Links. 26 | * 27 | * @author kevzlou7979 28 | * @author Ben Dol 29 | */ 30 | public class MaterialLinkTest extends AbstractIconButtonTest { 31 | 32 | @Override 33 | protected MaterialLink createWidget() { 34 | return new MaterialLink(); 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /gwt-material/src/test/java/gwt/material/design/client/ui/base/AbstractValueWidgetTest.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.ui.base; 21 | 22 | import gwt.material.design.client.base.AbstractValueWidget; 23 | import org.junit.Ignore; 24 | 25 | /** 26 | * Test case for Abstract value widget. 27 | * 28 | * @author kevzlou7979 29 | * @author Ben Dol 30 | */ 31 | @Ignore 32 | public abstract class AbstractValueWidgetTest extends MaterialWidgetTestCase { 33 | 34 | } 35 | -------------------------------------------------------------------------------- /gwt-material/src/test/java/gwt/material/design/client/ui/pwa/CustomServiceWorker.java: -------------------------------------------------------------------------------- 1 | /* 2 | * #%L 3 | * GwtMaterial 4 | * %% 5 | * Copyright (C) 2015 - 2017 GwtMaterialDesign 6 | * %% 7 | * Licensed under the Apache License, Version 2.0 (the "License"); 8 | * you may not use this file except in compliance with the License. 9 | * You may obtain a copy of the License at 10 | * 11 | * http://www.apache.org/licenses/LICENSE-2.0 12 | * 13 | * Unless required by applicable law or agreed to in writing, software 14 | * distributed under the License is distributed on an "AS IS" BASIS, 15 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16 | * See the License for the specific language governing permissions and 17 | * limitations under the License. 18 | * #L% 19 | */ 20 | package gwt.material.design.client.ui.pwa; 21 | 22 | import gwt.material.design.client.pwa.serviceworker.ServiceWorkerManager; 23 | 24 | public class CustomServiceWorker extends ServiceWorkerManager { 25 | 26 | public CustomServiceWorker(String resource) { 27 | super(resource); 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /install.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | SET DEVELOPMENT_HOME= "${DEV_DIRECTORY}" 3 | 4 | cd %DEVELOPMENT_HOME%\gwt-material-jquery\ 5 | call mvn clean install -Dmaven.test.skip=true 6 | 7 | cd %DEVELOPMENT_HOME%\gwt-material\ 8 | call mvn clean install -Dmaven.test.skip=true 9 | 10 | cd %DEVELOPMENT_HOME%\gwt-material-themes\ 11 | call mvn clean install -Dmaven.test.skip=true 12 | 13 | cd %DEVELOPMENT_HOME%\gwt-material-table\ 14 | call mvn clean install -Dmaven.test.skip=true 15 | 16 | cd %DEVELOPMENT_HOME%\gwt-material-addins\ 17 | call mvn clean install -Dmaven.test.skip=true 18 | 19 | cd %DEVELOPMENT_HOME%\gwt-material-table\ 20 | call mvn clean install -Dmaven.test.skip=true 21 | 22 | cd %DEVELOPMENT_HOME%\gwt-material-amcharts4\ 23 | call mvn clean install -Dmaven.test.skip=true --------------------------------------------------------------------------------