JGraphpad Pro
v6.0.5.0


com.jgraph.editor.factory
Class JGraphEditorComboBox.ComboBoxListener

java.lang.Object
  extended bycom.jgraph.editor.factory.JGraphEditorComboBox.ComboBoxListener
All Implemented Interfaces:
ActionListener, EventListener
Enclosing class:
JGraphEditorComboBox

public static class JGraphEditorComboBox.ComboBoxListener
extends Object
implements ActionListener

This class edits the selection of the focused graph according to the selected combo box item.


Constructor Summary
JGraphEditorComboBox.ComboBoxListener()
           
 
Method Summary
 void actionPerformed(ActionEvent e)
          Redirects selection of a combo box item to changing the respective attrbiutes on the focused graph.
protected  Object getSelection(JComboBox box)
          Hook for subclassers to process the selection and return and map for the default implementation to process.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JGraphEditorComboBox.ComboBoxListener

public JGraphEditorComboBox.ComboBoxListener()
Method Detail

actionPerformed

public void actionPerformed(ActionEvent e)
Redirects selection of a combo box item to changing the respective attrbiutes on the focused graph.

Specified by:
actionPerformed in interface ActionListener
Parameters:
e - The object that describes the event.

getSelection

protected Object getSelection(JComboBox box)
Hook for subclassers to process the selection and return and map for the default implementation to process.

Parameters:
box - The combo box to return the selected item for.
Returns:
Returns the selected item in box.

JGraphpad Pro
v6.0.5.0


Copyright (C) 2005 JGraph.com. All rights reserved.