com.vaadin.ui.Accordion.setSizeFull()方法的使用及代码示例

x33g5p2x  于2022-01-17 转载在 其他  
字(2.5k)|赞(0)|评价(0)|浏览(160)

本文整理了Java中com.vaadin.ui.Accordion.setSizeFull()方法的一些代码示例,展示了Accordion.setSizeFull()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Accordion.setSizeFull()方法的具体详情如下:
包路径:com.vaadin.ui.Accordion
类名称:Accordion
方法名:setSizeFull

Accordion.setSizeFull介绍

暂无

代码示例

代码示例来源:origin: peholmst/vaadin4spring

@Override
protected Accordion createCompositionRoot() {
  Accordion accordion = new Accordion();
  accordion.setSizeFull();
  return accordion;
}

代码示例来源:origin: OpenNMS/opennms

accordion.setSizeFull();

代码示例来源:origin: org.opennms.features.vaadin-dashlets/dashlet-rrd

accordion.setSizeFull();

代码示例来源:origin: OpenNMS/opennms

@Override
public void refresh() {
  m_timeslot = 3600;
  try {
    m_timeslot = Math.max(1, Integer.parseInt(getDashletSpec().getParameters().get("timeslot")));
  } catch (NumberFormatException numberFormatException) {
    /**
     * Just ignore
     */
  }
  m_horizontalLayout.removeAllComponents();
  Accordion accordion = new Accordion();
  accordion.setSizeFull();
  injectDashboardStyles();
  Component severity = getComponentSeverity(16);
  Component uei = getComponentUei(16);
  VerticalLayout v1 = new VerticalLayout(severity);
  v1.setSizeFull();
  v1.setComponentAlignment(severity, Alignment.MIDDLE_CENTER);
  v1.setMargin(true);
  accordion.addTab(v1, "by Severity");
  VerticalLayout v2 = new VerticalLayout(uei);
  v2.setSizeFull();
  v2.setComponentAlignment(uei, Alignment.MIDDLE_CENTER);
  v2.setMargin(true);
  accordion.addTab(v2, "by Uei");
  m_horizontalLayout.addComponent(accordion);
}

代码示例来源:origin: org.opennms.features.vaadin-dashlets/dashlet-summary

@Override
public void refresh() {
  m_timeslot = 3600;
  try {
    m_timeslot = Math.max(1, Integer.parseInt(getDashletSpec().getParameters().get("timeslot")));
  } catch (NumberFormatException numberFormatException) {
    /**
     * Just ignore
     */
  }
  m_horizontalLayout.removeAllComponents();
  Accordion accordion = new Accordion();
  accordion.setSizeFull();
  injectDashboardStyles();
  Component severity = getComponentSeverity(16);
  Component uei = getComponentUei(16);
  VerticalLayout v1 = new VerticalLayout(severity);
  v1.setSizeFull();
  v1.setComponentAlignment(severity, Alignment.MIDDLE_CENTER);
  v1.setMargin(true);
  accordion.addTab(v1, "by Severity");
  VerticalLayout v2 = new VerticalLayout(uei);
  v2.setSizeFull();
  v2.setComponentAlignment(uei, Alignment.MIDDLE_CENTER);
  v2.setMargin(true);
  accordion.addTab(v2, "by Uei");
  m_horizontalLayout.addComponent(accordion);
}

代码示例来源:origin: OpenNMS/opennms

accordion.setSizeFull();
m_verticalLayout.addComponent(accordion);

代码示例来源:origin: org.opennms.features.vaadin-dashlets/dashlet-ksc

accordion.setSizeFull();
m_verticalLayout.addComponent(accordion);

相关文章