1 package org.starobjects.wicket.ui.components.scalars.noapplib;
2
3 import org.apache.wicket.Component;
4 import org.starobjects.wicket.model.models.ScalarModel;
5 import org.starobjects.wicket.ui.ComponentFactory;
6 import org.starobjects.wicket.ui.components.scalars.ComponentFactoryScalarAbstract;
7
8
9
10
11 public class NoMoneyPanelFactory extends ComponentFactoryScalarAbstract {
12
13 private static final long serialVersionUID = 1L;
14
15 public NoMoneyPanelFactory() {
16 super(org.nakedobjects.applib.value.Money.class);
17 }
18
19 public Component createComponent(String id, ScalarModel scalarModel) {
20 return new NoMoneyPanel(id, scalarModel);
21 }
22
23 }