Search in sources :

Example 1 with Timeline

use of org.zkforge.timeline.Timeline in project adempiere by adempiere.

the class WSchedule method init.

/**
	 * 	Static init
	 *  <pre>
	 * 	timePanel (West)
	 *  schedlePanel (in schedulePane - Center)
	 *  </pre>
	 * 	@throws Exception
	 */
private void init() throws Exception {
    this.getChildren().clear();
    timeLine = new Timeline();
    timeLine.setHeight("400px");
    timeLine.setWidth("100%");
    timeLine.setId("resoureSchedule");
    this.appendChild(timeLine);
    initBandInfo();
    button = new ToolBarButton();
    button.setLabel("Edit");
    button.setStyle("visibility: hidden; height: 0px; width: 0px");
    button.addEventListener(Events.ON_CLICK, this);
    this.appendChild(button);
}
Also used : Timeline(org.zkforge.timeline.Timeline) ToolBarButton(org.adempiere.webui.component.ToolBarButton)

Aggregations

ToolBarButton (org.adempiere.webui.component.ToolBarButton)1 Timeline (org.zkforge.timeline.Timeline)1