本文整理汇总了Java中com.youth.banner.transformer.DefaultTransformer类的典型用法代码示例。如果您正苦于以下问题:Java DefaultTransformer类的具体用法?Java DefaultTransformer怎么用?Java DefaultTransformer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DefaultTransformer类属于com.youth.banner.transformer包,在下文中一共展示了DefaultTransformer类的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: initData
import com.youth.banner.transformer.DefaultTransformer; //导入依赖的package包/类
public void initData(){
transformers.add(DefaultTransformer.class);
transformers.add(AccordionTransformer.class);
transformers.add(BackgroundToForegroundTransformer.class);
transformers.add(ForegroundToBackgroundTransformer.class);
transformers.add(CubeInTransformer.class);
transformers.add(CubeOutTransformer.class);
transformers.add(DepthPageTransformer.class);
transformers.add(FlipHorizontalTransformer.class);
transformers.add(FlipVerticalTransformer.class);
transformers.add(RotateDownTransformer.class);
transformers.add(RotateUpTransformer.class);
transformers.add(ScaleInOutTransformer.class);
transformers.add(StackTransformer.class);
transformers.add(TabletTransformer.class);
transformers.add(ZoomInTransformer.class);
transformers.add(ZoomOutTranformer.class);
transformers.add(ZoomOutSlideTransformer.class);
}
示例2: initData
import com.youth.banner.transformer.DefaultTransformer; //导入依赖的package包/类
public void initData(){
transformers.add(DefaultTransformer.class);
transformers.add(AccordionTransformer.class);
transformers.add(BackgroundToForegroundTransformer.class);
transformers.add(ForegroundToBackgroundTransformer.class);
transformers.add(CubeInTransformer.class);//兼容问题,慎用
transformers.add(CubeOutTransformer.class);
transformers.add(DepthPageTransformer.class);
transformers.add(FlipHorizontalTransformer.class);
transformers.add(FlipVerticalTransformer.class);
transformers.add(RotateDownTransformer.class);
transformers.add(RotateUpTransformer.class);
transformers.add(ScaleInOutTransformer.class);
transformers.add(StackTransformer.class);
transformers.add(TabletTransformer.class);
transformers.add(ZoomInTransformer.class);
transformers.add(ZoomOutTranformer.class);
transformers.add(ZoomOutSlideTransformer.class);
}