Statistics
| Revision:

svn-gvsig-desktop / trunk / libraries / libUIComponent / src / org / gvsig / gui / beans / controls / combobutton / ModeToggleButtonGroup.java @ 18989

History | View | Annotate | Download (814 Bytes)

1 13136 evercher
/*
2
GeoGebra - Dynamic Geometry and Algebra
3
Copyright Markus Hohenwarter, http://www.geogebra.at
4

5
This file is part of GeoGebra.
6

7
This program is free software; you can redistribute it and/or modify it
8
under the terms of the GNU General Public License as published by
9
the Free Software Foundation; either version 2 of the License, or
10
(at your option) any later version.
11
*/
12
package org.gvsig.gui.beans.controls.combobutton;
13
14
import javax.swing.ButtonGroup;
15
import javax.swing.JPopupMenu;
16
17
public class ModeToggleButtonGroup extends ButtonGroup {
18 13655 bsanchez
  private static final long serialVersionUID = 7060814534660638147L;
19 13136 evercher
        private JPopupMenu activePopMenu;
20
21
        public void setActivePopupMenu(JPopupMenu popMenu) {
22
                activePopMenu = popMenu;
23
        }
24
25
        public JPopupMenu getActivePopupMenu() {
26
                return activePopMenu;
27
        }
28 13655 bsanchez
}