本文整理了Java中org.gwtbootstrap3.client.ui.Heading.add()
方法的一些代码示例,展示了Heading.add()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Heading.add()
方法的具体详情如下:
包路径:org.gwtbootstrap3.client.ui.Heading
类名称:Heading
方法名:add
暂无
代码示例来源:origin: gwtbootstrap3/gwtbootstrap3
/**
* Sets the subtext for the heading (wrapped in a Small tag).
* <p/>
* When using the setter for this, the subtext will be added after the text
*
* @param subText the subtext of the heading
*/
@Override
public void setSubText(final String subText) {
// Force a space between the heading and the subText
this.subText.setText(" " + subText);
add(this.subText);
}
代码示例来源:origin: org.gwtbootstrap3/gwtbootstrap3
/**
* Sets the subtext for the heading (wrapped in a Small tag).
* <p/>
* When using the setter for this, the subtext will be added after the text
*
* @param subText the subtext of the heading
*/
@Override
public void setSubText(final String subText) {
// Force a space between the heading and the subText
this.subText.setText(" " + subText);
add(this.subText);
}
代码示例来源:origin: kiegroup/appformer
static PanelHeader createPanelHeader(final PropertyEditorCategory category,
final PanelGroup propertyMenu,
PanelCollapse panelCollapse) {
final Heading heading = new Heading(HeadingSize.H4);
final Anchor anchor = GWT.create(Anchor.class);
anchor.setText(category.getName());
anchor.setDataToggle(Toggle.COLLAPSE);
anchor.setDataParent(propertyMenu.getId());
anchor.setDataTargetWidget(panelCollapse);
anchor.addStyleName("collapsed");
heading.add(anchor);
final PanelHeader header = GWT.create(PanelHeader.class);
header.add(heading);
return header;
}
代码示例来源:origin: org.jbpm/jbpm-console-ng-generic-client
public void init() {
initCalendarIcon();
calendarPanel.add( calendarLabel );
mainPanel.add( calendarPanel );
initPrevNextTodayButtons();
rightPanel.add( previousButton );
rightPanel.add( todayButton );
rightPanel.add( nextButton );
iconLabel.add( calendarIcon );
iconPanel.add( iconLabel );
mainPanel.add( iconPanel );
rightPanel.addStyleName( Styles.BTN_GROUP );
rightPanel.addStyleName( Styles.PULL_RIGHT );
controlsLabel.add( rightPanel );
mainPanel.add( controlsPanel );
updateCalendarLabelText();
}
内容来源于网络,如有侵权,请联系作者删除!