April 2018
Intermediate to advanced
202 pages
4h 48m
English
The previous interface won't compile. There are two classes that need to be implemented: WorkingAreaComponent and MenuOption. The addWorkingAreaComponent(WorkingAreaComponent) method expects a WorkingAreaComponent that encapsulates a caption and the corresponding Vaadin component to be shown. This interface is defined as follows:
public interface ApplicationLayout extends Component { public static class WorkingAreaComponent implements Serializable { private final String caption; private final Component component; public WorkingAreaComponent(String caption, Component component) { this.caption = caption; this.component = component; } ... hashCode(), equals(), and getters } ...}
Read now
Unlock full access