Example usage for java.awt ItemSelectable interface-usage

List of usage examples for java.awt ItemSelectable interface-usage

Introduction

In this page you can find the example usage for java.awt ItemSelectable interface-usage.

Usage

From source file Main.java

class MyComponent extends JTextField implements ItemSelectable {
    protected EventListenerList listenerList = new EventListenerList();

    public Object[] getSelectedObjects() {
        return new String[] { "a", "b", "c" };
    }

From source file ItemEventComponent.java

class ItemEventComponent extends Component implements ItemSelectable {
    boolean selected;

    int i = 0;

    ItemListener itemListener = null;

From source file lu.lippmann.cdb.graph.mouse.CadralGraphMouse.java

/**
 * 
 * @author
 *
 */
public class CadralGraphMouse extends DefaultModalGraphMouse<CNode, CEdge>