Package net.sourceforge.ganttproject.gui.options.model

Examples of net.sourceforge.ganttproject.gui.options.model.DefaultDateOption


  private ListSelectionModel myListSelectionModel;
 
  public DateIntervalListEditor(final DateIntervalModel intervalsModel) {
    super(new BorderLayout());
    myIntervalsModel = intervalsModel;
        myStart = new DefaultDateOption("generic.startDate") {
            public void setValue(Date value) {
                super.setValue(value);
                commit();
                if (intervalsModel.getMaxIntervalLength()==1) {
                  DateIntervalListEditor.this.myFinish.setValue(value);
                }
                DateIntervalListEditor.this.updateActions();
                lock();
            }           
        };
        myFinish = new DefaultDateOption("generic.endDate") {
            public void setValue(Date value) {
                super.setValue(value);
                commit();
                DateIntervalListEditor.this.updateActions();
                lock();
View Full Code Here

TOP

Related Classes of net.sourceforge.ganttproject.gui.options.model.DefaultDateOption

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.