use of com.twosigma.beakerx.widget.CyclingDisplayBox in project beakerx by twosigma.
the class CyclingDisplayBoxTest method createWithParam_shouldSendCommOpenMessage.
@Test
public void createWithParam_shouldSendCommOpenMessage() throws Exception {
// given
List<Widget> children = Arrays.asList(new IntSlider(), new Text());
kernel.clearPublishedMessages();
// when
new CyclingDisplayBox(children);
// then
verifyInternalOpenCommMsgWitLayout(kernel.getPublishedMessages(), CyclingDisplayBox.MODEL_NAME_VALUE, CyclingDisplayBox.VIEW_NAME_VALUE);
}
use of com.twosigma.beakerx.widget.CyclingDisplayBox in project beakerx by twosigma.
the class CyclingOutputContainerLayoutManager method display.
@Override
public void display(OutputContainer container) {
CyclingDisplayBox gridView = new CyclingDisplayBox(getWidgets(container));
gridView.sendUpdate(PERIOD, period);
gridView.display();
}
Aggregations