jsinterop.annotations.JsPackage Java Examples

The following examples show how to use jsinterop.annotations.JsPackage. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: PackageInfoCache.java    From j2cl with Apache License 2.0 5 votes vote down vote up
private static String getPackageJsNamespace(Annotation[] packageAnnotations) {
  if (packageAnnotations == null) {
    return null;
  }

  return Arrays.stream(packageAnnotations)
      .filter(JsPackage.class::isInstance)
      .findFirst()
      .map(JsPackage.class::cast)
      .map(JsPackage::namespace)
      .orElse(null);
}
 
Example #2
Source File: JsTimePicker.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsTimePicker $(Element element);
 
Example #3
Source File: JsComboBox.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsComboBox $(String selector);
 
Example #4
Source File: JsInputMask.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsInputMask $(String selector);
 
Example #5
Source File: JsWaterfall.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(namespace = JsPackage.GLOBAL)
public static native void initWaterfall(double height, Functions.Func openCallback, Functions.Func closeCallback, double offset);
 
Example #6
Source File: JsInputMask.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsInputMask $(Element element);
 
Example #7
Source File: JsLiveStamp.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsLiveStamp $(String selector);
 
Example #8
Source File: JsCarousel.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsCarousel $(JQueryElement element);
 
Example #9
Source File: JsVelocity.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsVelocity $(String selector);
 
Example #10
Source File: JsVelocity.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsVelocity $(Element element);
 
Example #11
Source File: JsCarousel.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsCarousel $(String selector);
 
Example #12
Source File: JsContinuousRange.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsContinuousRange $(JQueryElement element);
 
Example #13
Source File: JsCamera.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsCamera $(String selector);
 
Example #14
Source File: JsCamera.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsCamera $(Element element);
 
Example #15
Source File: JsCamera.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsCamera $(JQueryElement element);
 
Example #16
Source File: JsTimePicker.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsTimePicker $(String selector);
 
Example #17
Source File: JsAvatar.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(namespace = JsPackage.GLOBAL)
public static native String md5(String value);
 
Example #18
Source File: JsTimePicker.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsTimePicker $(JQueryElement element);
 
Example #19
Source File: JsCircularProgress.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsCircularProgress $(String selector);
 
Example #20
Source File: JsCircularProgress.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsCircularProgress $(Element element);
 
Example #21
Source File: JsCircularProgress.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsCircularProgress $(JQueryElement element);
 
Example #22
Source File: JsRichEditor.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsRichEditor $(String selector);
 
Example #23
Source File: JsRichEditor.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsRichEditor $(Element element);
 
Example #24
Source File: JsRichEditor.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsRichEditor $(JQueryElement element);
 
Example #25
Source File: JsSwipeable.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(namespace = JsPackage.GLOBAL)
public static native void initSwipeablePanel(Element element, Functions.Func swipeLeftCallback, Functions.Func swipeRightCallback,
                                             Functions.Func onStartSwipLeftCallback, Functions.Func onStartSwipeRightCallback,
                                             Functions.Func onEndSwipeLeftCallback, Functions.Func onEndSwipeRightCallback);
 
Example #26
Source File: JsPathAnimator.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(namespace = JsPackage.GLOBAL)
public static native void cta(Element source, Element target, JsPathAnimatorOptions options);
 
Example #27
Source File: JsPathAnimator.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(namespace = JsPackage.GLOBAL)
public static native void cta(Element source, Element target);
 
Example #28
Source File: JsPathAnimator.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(namespace = JsPackage.GLOBAL)
public static native void cta(Element source, Element target, JsPathAnimatorOptions options, Functions.Func callback);
 
Example #29
Source File: JsPathAnimator.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(namespace = JsPackage.GLOBAL)
public static native void cta(Element source, Element target, Functions.Func callback);
 
Example #30
Source File: JsMasonry.java    From gwt-material-addins with Apache License 2.0 4 votes vote down vote up
@JsMethod(name = "$", namespace = JsPackage.GLOBAL)
public static native JsMasonry $(String selector);