本文整理了Java中com.jwebmp.core.base.html.Div.init()
方法的一些代码示例,展示了Div.init()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Div.init()
方法的具体详情如下:
包路径:com.jwebmp.core.base.html.Div
类名称:Div
方法名:init
暂无
代码示例来源:origin: com.jwebmp.jre10/jwebmp-jquery-ui
@Override
public void init()
{
if (!isInitialized())
{
add(getUnorderedList());
getTabs().forEach(next ->
{
getUnorderedList().add(next.getTabHeader());
add(next.getTabDisplayComponent());
});
}
super.init();
}
代码示例来源:origin: com.jwebmp.jre11/jwebmp-jquery-ui
@Override
public void init()
{
if (!isInitialized())
{
add(getUnorderedList());
getTabs().forEach(next ->
{
getUnorderedList().add(next.getTabHeader());
add(next.getTabDisplayComponent());
});
}
super.init();
}
代码示例来源:origin: com.jwebmp/jwebmp-jquery-ui
@Override
public void init()
{
if (!isInitialized())
{
add(getUnorderedList());
getTabs().forEach(next ->
{
getUnorderedList().add(next.getTabHeader());
add(next.getTabDisplayComponent());
});
}
super.init();
}
代码示例来源:origin: com.jwebmp.jre11/jwebmp-bootstrap
@Override
public void init()
{
if (!isInitialized())
{
BSCarouselIndicators indications = new BSCarouselIndicators(this);
indications.init();
add(indications);
add(getCarouselSlides());
BSCarouselItem activeItem;
if (!getSlides().isEmpty())
{
activeItem = getSlides().get(getActiveSlide());
activeItem.addClass(BSDefaultOptions.Active);
}
for (Iterator<BSCarouselItem> it = getSlides().iterator(); it.hasNext(); )
{
BSCarouselItem slide = it.next();
getCarouselSlides().add(slide);
}
add(getPreviousLink());
add(getNextLink());
}
super.init();
}
代码示例来源:origin: com.jwebmp.jre10/jwebmp-bootstrap
@Override
public void init()
{
if (!isInitialized())
{
BSCarouselIndicators indications = new BSCarouselIndicators(this);
indications.init();
add(indications);
add(getCarouselSlides());
BSCarouselItem activeItem;
if (!getSlides().isEmpty())
{
activeItem = getSlides().get(getActiveSlide());
activeItem.addClass(BSDefaultOptions.Active);
}
for (Iterator<BSCarouselItem> it = getSlides().iterator(); it.hasNext(); )
{
BSCarouselItem slide = it.next();
getCarouselSlides().add(slide);
}
add(getPreviousLink());
add(getNextLink());
}
super.init();
}
代码示例来源:origin: com.jwebmp.jre10/jwebmp-bootstrap
@Override
public void init()
{
if (!isInitialized())
{
for (int i = 0; i < getAccordionItems().size(); i++)
{
BSAccordionItem next = getAccordionItems().get(i);
next.getAccordionHeader()
.getAccordionHeaderLink()
.addAttribute(LinkAttributes.Data_Parent, getID(true));
next.getAccordionHeader()
.getAccordionHeaderLink()
.addAttribute(LinkAttributes.HRef, next.getAccordionCollapsingContent()
.getID(true));
if (i == getActiveItem())
{
next.setActive(true);
}
else
{
next.setActive(false);
}
}
}
super.init();
}
代码示例来源:origin: com.jwebmp.jre11/jwebmp-bootstrap
@Override
public void init()
{
if (!isInitialized())
{
for (int i = 0; i < getAccordionItems().size(); i++)
{
BSAccordionItem next = getAccordionItems().get(i);
next.getAccordionHeader()
.getAccordionHeaderLink()
.addAttribute(LinkAttributes.Data_Parent, getID(true));
next.getAccordionHeader()
.getAccordionHeaderLink()
.addAttribute(LinkAttributes.HRef, next.getAccordionCollapsingContent()
.getID(true));
if (i == getActiveItem())
{
next.setActive(true);
}
else
{
next.setActive(false);
}
}
}
super.init();
}
代码示例来源:origin: com.jwebmp.jre10/jwebmp-bootstrap4
@Override
public void init()
{
if (!isInitialized())
{
BSCarouselIndicators indications = new BSCarouselIndicators(this);
indications.init();
add(indications);
add(getCarouselSlides());
BSCarouselItem activeItem;
if (!getSlides().isEmpty())
{
activeItem = getSlides().get(getActiveSlide());
activeItem.addClass(BSDefaultOptions.Active);
}
for (BSCarouselItem slide : getSlides())
{
getCarouselSlides().add(slide);
}
add(getPreviousLink());
add(getNextLink());
}
super.init();
}
代码示例来源:origin: com.jwebmp/jwebmp-bootstrap4
@Override
public void init()
{
if (!isInitialized())
{
BSCarouselIndicators indications = new BSCarouselIndicators(this);
indications.init();
add(indications);
add(getCarouselSlides());
BSCarouselItem activeItem;
if (!getSlides().isEmpty())
{
activeItem = getSlides().get(getActiveSlide());
activeItem.addClass(BSDefaultOptions.Active);
}
for (BSCarouselItem slide : getSlides())
{
getCarouselSlides().add(slide);
}
add(getPreviousLink());
add(getNextLink());
}
super.init();
}
代码示例来源:origin: com.jwebmp.jre11/jwebmp-bootstrap4
@Override
public void init()
{
if (!isInitialized())
{
BSCarouselIndicators indications = new BSCarouselIndicators(this);
indications.init();
add(indications);
add(getCarouselSlides());
BSCarouselItem activeItem;
if (!getSlides().isEmpty())
{
activeItem = getSlides().get(getActiveSlide());
activeItem.addClass(BSDefaultOptions.Active);
}
for (BSCarouselItem slide : getSlides())
{
getCarouselSlides().add(slide);
}
add(getPreviousLink());
add(getNextLink());
}
super.init();
}
内容来源于网络,如有侵权,请联系作者删除!