List of usage examples for javax.swing.event ChangeListener interface-usage
From source file Main.java
class MyChangeListener implements ChangeListener { public void stateChanged(ChangeEvent e) { System.out.println("A ChangeEvent has been fired!"); } }
From source file ScrollSlider.java
class BoundedChangeListener implements ChangeListener { public void stateChanged(ChangeEvent changeEvent) { Object source = changeEvent.getSource(); if (source instanceof BoundedRangeModel) { BoundedRangeModel aModel = (BoundedRangeModel) source; if (!aModel.getValueIsAdjusting()) {
From source file com.cburch.logisim.gui.main.SimulationToolbarModel.java
class SimulationToolbarModel extends AbstractToolbarModel implements ChangeListener { private Project project; private LogisimToolbarItem simEnable; private LogisimToolbarItem simStep; private LogisimToolbarItem tickEnable; private LogisimToolbarItem tickStep;
From source file RGBAColourChooser.java
/** * A widget to manipulate an RGBA colour. * * @author ryanm */ public class RGBAColourChooser extends Box implements ChangeListener {
From source file Main.java
class BoundedChangeListener implements ChangeListener { public void stateChanged(ChangeEvent changeEvent) { Object source = changeEvent.getSource(); if (source instanceof BoundedRangeModel) { BoundedRangeModel aModel = (BoundedRangeModel) source; if (!aModel.getValueIsAdjusting()) {
From source file MainClass.java
class BoundedChangeListener implements ChangeListener { public void stateChanged(ChangeEvent changeEvent) { Object source = changeEvent.getSource(); if (source instanceof BoundedRangeModel) { BoundedRangeModel aModel = (BoundedRangeModel) source; if (!aModel.getValueIsAdjusting()) {
From source file Main.java
class BoundedChangeListener implements ChangeListener { public void stateChanged(ChangeEvent changeEvent) { Object source = changeEvent.getSource(); if (source instanceof BoundedRangeModel) { BoundedRangeModel aModel = (BoundedRangeModel) source; if (!aModel.getValueIsAdjusting()) {
From source file Main.java
class BoundedChangeListener implements ChangeListener { public void stateChanged(ChangeEvent changeEvent) { Object source = changeEvent.getSource(); if (source instanceof BoundedRangeModel) { BoundedRangeModel aModel = (BoundedRangeModel) source; if (!aModel.getValueIsAdjusting()) {
From source file Main.java
class BoundedChangeListener implements ChangeListener { public void stateChanged(ChangeEvent changeEvent) { Object source = changeEvent.getSource(); if (source instanceof BoundedRangeModel) { BoundedRangeModel aModel = (BoundedRangeModel) source; if (!aModel.getValueIsAdjusting()) {
From source file Main.java
class BoundedChangeListener implements ChangeListener { public void stateChanged(ChangeEvent changeEvent) { Object source = changeEvent.getSource(); if (source instanceof BoundedRangeModel) { BoundedRangeModel aModel = (BoundedRangeModel) source; if (!aModel.getValueIsAdjusting()) {