View Javadoc

1   
2   package org.catacomb.druid.blocks;
3   
4   
5   import org.catacomb.druid.build.Context;
6   import org.catacomb.druid.build.GUIPath;
7   import org.catacomb.druid.gui.base.DruPanel;
8   import org.catacomb.druid.gui.edit.DruColorChoice;
9   
10  
11  
12  public class ColorChoice extends Panel {
13  
14  
15      public String label;
16      public String action;
17  
18      public String store;
19  
20  
21  
22      public DruPanel instantiatePanel() {
23          return new DruColorChoice(label, action);
24      }
25  
26      public void populatePanel(DruPanel dp, Context ctx, GUIPath gpath) {
27  
28  
29          if (title == null) {
30              title="Color Choice";
31          }
32  
33  
34      }
35  
36  
37  }