org.grinvin.gred.guides

Class GuidesButton

Implemented Interfaces:
ItemListener, GuidesListener

public class GuidesButton
extends JToggleButton
implements ItemListener, GuidesListener

Button that displays a popup to change the guides for a panel and that has the corresponding guides as an icon.

Constructor Summary

GuidesButton(GraphPanel panel)
Creates a new instance of GuidesButton

Method Summary

void
guidesChanged()
void
itemStateChanged(ItemEvent e)

Constructor Details

GuidesButton

public GuidesButton(GraphPanel panel)
Creates a new instance of GuidesButton

Method Details

guidesChanged

public void guidesChanged()
Specified by:
guidesChanged in interface GuidesListener

itemStateChanged

public void itemStateChanged(ItemEvent e)