Search in sources :

Example 1 with ExamingMenuItem

use of com.cas.sim.tis.view.control.imp.question.ExamingMenuItem in project TeachingInSimulation by ScOrPiOzzy.

the class LibraryMenu method publish.

@Override
public void publish(int id) {
    if (!menu.getChildren().contains(item)) {
        item = new ExamingMenuItem();
        menu.getChildren().add(item);
        menu.layout();
    }
    if (item != null) {
        item.load(id);
    }
}
Also used : ExamingMenuItem(com.cas.sim.tis.view.control.imp.question.ExamingMenuItem)

Aggregations

ExamingMenuItem (com.cas.sim.tis.view.control.imp.question.ExamingMenuItem)1