|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gswing.components.common.SelectionHandler
public class SelectionHandler
Generic handler for constituency tree navigation.
| Field Summary | |
|---|---|
static int |
BACK_HANDLER
|
static int |
CONSTITUENCY_HANDLER
|
static int |
TYPE_HANDLER
|
| Constructor Summary | |
|---|---|
SelectionHandler(ISelectionSource source,
int type,
JComboBox combo)
Constructor. |
|
SelectionHandler(ISelectionSource source,
int type,
JComboBox combo,
JButton backButton)
Constructor. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent ev)
|
static String |
getLastCouncilSelection()
Get the last region selection. |
void |
handleBack()
Handle the back navigation selection. |
void |
popupMenuCanceled(PopupMenuEvent arg0)
|
void |
popupMenuWillBecomeInvisible(PopupMenuEvent ev)
|
void |
popupMenuWillBecomeVisible(PopupMenuEvent arg0)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int TYPE_HANDLER
public static final int CONSTITUENCY_HANDLER
public static final int BACK_HANDLER
| Constructor Detail |
|---|
public SelectionHandler(ISelectionSource source,
int type,
JComboBox combo,
JButton backButton)
source - The parent object.type - The type of the action.combo - The constituency list combo box.backButton - Go back to previous constituency type button.
public SelectionHandler(ISelectionSource source,
int type,
JComboBox combo)
source - The parent object.type - The type of the action.combo - The constituency list combo box.| Method Detail |
|---|
public void handleBack()
public static String getLastCouncilSelection()
public void actionPerformed(ActionEvent ev)
actionPerformed in interface ActionListenerpublic void popupMenuWillBecomeInvisible(PopupMenuEvent ev)
popupMenuWillBecomeInvisible in interface PopupMenuListenerpublic void popupMenuCanceled(PopupMenuEvent arg0)
popupMenuCanceled in interface PopupMenuListenerpublic void popupMenuWillBecomeVisible(PopupMenuEvent arg0)
popupMenuWillBecomeVisible in interface PopupMenuListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||