Ejemplo n.º 1
0
 private JRadioButton getShapeButton(
     JRadioButton button, int x, int y, int w, int h, String tip, Shp shp, Obj obj) {
   button.setBounds(new Rectangle(x, y, w, h));
   button.setBorder(BorderFactory.createLoweredBevelBorder());
   button.setToolTipText(Messages.getString(tip));
   button.addActionListener(alShape);
   shapeButtons.add(button);
   shapes.put(shp, button);
   objects.put(shp, obj);
   return button;
 }
Ejemplo n.º 2
0
 private void addReflItem(String str, Con con) {
   reflectivities.put(con, reflBox.getItemCount());
   reflBox.addItem(str);
 }
Ejemplo n.º 3
0
 private void addConItem(String str, Con con) {
   conspicuities.put(con, conBox.getItemCount());
   conBox.addItem(str);
 }
Ejemplo n.º 4
0
 private void addCnsItem(String str, Cns cns) {
   constructions.put(cns, constrBox.getItemCount());
   constrBox.addItem(str);
 }
Ejemplo n.º 5
0
 private void addStsItem(String str, Sts sts) {
   statuses.put(sts, statusBox.getItemCount());
   statusBox.addItem(str);
 }
Ejemplo n.º 6
0
 private void addMorItem(String str, Cat cat) {
   moorings.put(cat, mooringBox.getItemCount());
   mooringBox.addItem(str);
 }
Ejemplo n.º 7
0
 private void addCatItem(String str, Cat cat) {
   categories.put(cat, categoryBox.getItemCount());
   categoryBox.addItem(str);
 }