@Test public void testIscrollJsGenerator() { final IscrollSettings iscrollSettings = IscrollSettings.builder().build(); iscrollSettings.getMouseWheel().setValue(Boolean.TRUE); iscrollSettings.getClick().setValue(Boolean.FALSE); final IscrollJsGenerator iscrollJsGenerator = new IscrollJsGenerator(iscrollSettings, "foo-component-id"); final String result = iscrollJsGenerator.generateJs(); System.out.println(result); System.out.println("================================"); }
public IscrollJsGenerator(final IscrollSettings settings, final String componentId) { super(settings); setMethodName("IScroll"); setComponentId(Args.notNull(componentId, "componentId")); setWithComponentId(true); }
IscrollJsGenerator extends JavascriptGenerator<IscrollSettings> { public IscrollJsGenerator(final IscrollSettings settings, final String componentId) { super(settings); setMethodName("IScroll"); setComponentId(Args.notNull(componentId, "componentId")); setWithComponentId(true); } }
IscrollJsGenerator extends JavascriptGenerator<IscrollSettings> { public IscrollJsGenerator(final IscrollSettings settings, final String componentId) { super(settings); setMethodName("IScroll"); setComponentId(Args.notNull(componentId, "componentId")); setWithComponentId(true); } IscrollJsGenerator(final IscrollSettings settings, final String componentId); }
IscrollJsGenerator extends JavascriptGenerator<IscrollSettings> { public IscrollJsGenerator(final IscrollSettings settings, final String componentId) { super(settings); setMethodName("IScroll"); setComponentId(Args.notNull(componentId, "componentId")); setWithComponentId(true); } IscrollJsGenerator(final IscrollSettings settings, final String componentId); @Override String generateJavascriptTemplateContent(final Map<String, Object> variables,
		final String methodName); }
IscrollJsGenerator extends JavascriptGenerator<IscrollSettings> { public IscrollJsGenerator(final IscrollSettings settings, final String componentId) { super(settings); setMethodName("IScroll"); setComponentId(Args.notNull(componentId, "componentId")); setWithComponentId(true); } IscrollJsGenerator(final IscrollSettings settings, final String componentId); @Override String generateJavascriptTemplateContent(final Map<String, Object> variables,
		final String methodName);  }