Example usage for java.awt.event ItemListener interface-usage

List of usage examples for java.awt.event ItemListener interface-usage

Introduction

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

Usage

From source file com.bitranger.parknshop.common.recommend.basic.AbstractItemScorer.java

/**
 * Base class to make item scorers easier to implement. Delegates all score methods to
 * {@link #score(long, MutableSparseVector)}.
 *
 * @author <a href="http://www.grouplens.org">GroupLens Research</a>
 */

From source file mesquite.zephyr.RAxMLRunnerCIPRes.RAxMLRunnerCIPRes.java

public class RAxMLRunnerCIPRes extends RAxMLRunner
        implements ActionListener, ItemListener, ExternalProcessRequester {

    boolean RAxML814orLater = false;

    boolean showIntermediateTrees = true;

From source file Main.java

class SystemColorChooserPanel extends AbstractColorChooserPanel implements ItemListener {

    JComboBox comboBox;

    String labels[] = { "BLACK", "BLUE", "CYAN" };

From source file MainClass.java

class SystemColorChooserPanel extends AbstractColorChooserPanel implements ItemListener {

    JComboBox comboBox;

    String labels[] = { "BLACK", "BLUE", "CYAN" };

From source file ItemEventComponent.java

public class MainClass extends Frame implements ItemListener {
    MainClass() {
        super("Listening In");
        ItemEventComponent c = new ItemEventComponent();
        add(c, "Center");
        c.addItemListener(this);

From source file Main.java

class ChangeSize implements ItemListener {
    private Component component;

    public ChangeSize(Component c) {
        component = c;
    }

From source file org.xulux.swing.listeners.PrePostFieldListener.java

/**
 * Maybe use some kind of cache to see what next event comes through??
 * Functionality like hasWaitingRequests() or something like that.
 * Also if a user closes the window, widget.destroy should be called
 * 
 * @todo Find a better way to handle the concel button.

From source file FileLister.java

/**
 * This class creates and displays a window containing a list of files and
 * sub-directories in a specified directory. Clicking on an entry in the list
 * displays more information about it. Double-clicking on an entry displays it,
 * if a file, or lists it if a directory. An optionally-specified FilenameFilter
 * filters the displayed list.

From source file layout.CardLayoutDemo.java

public class CardLayoutDemo implements ItemListener {
    JPanel cards; //a panel that uses CardLayout
    final static String BUTTONPANEL = "Card with JButtons";
    final static String TEXTPANEL = "Card with JTextField";

    public void addComponentToPane(Container pane) {

From source file layout.BoxLayoutDemo2.java

public class BoxLayoutDemo2 implements ItemListener {
    protected static int NUM_COMPONENTS = 3;
    protected static float[] xAlignment = { Component.LEFT_ALIGNMENT, Component.CENTER_ALIGNMENT,
            Component.RIGHT_ALIGNMENT };
    protected static float[] hue = { 0.0f, 0.33f, 0.67f };
    protected static boolean restrictSize = true;