Package org.aavso.tools.vstar.ui.dialog

Examples of org.aavso.tools.vstar.ui.dialog.DoubleField


  // Request the B1950.0 Dec in DD:MM:SS.n
  public DecInfo requestDec() {
    IntegerField raHours = new IntegerField("Degrees", -90, 90, null);
    IntegerField raMinutes = new IntegerField("Minutes", 0, 60, null);
    DoubleField raSeconds = new DoubleField("Seconds", 0.0, 60.0, null);
    MultiEntryComponentDialog dialog = new MultiEntryComponentDialog(
        "Dec (B1950.0)", raHours, raMinutes, raSeconds);

    DecInfo decInfo = null;
    if (!dialog.isCancelled()) {
      decInfo = new DecInfo(1950, raHours.getValue(), raMinutes
          .getValue(), raSeconds.getValue());
    }

    return decInfo;
  }
View Full Code Here

TOP

Related Classes of org.aavso.tools.vstar.ui.dialog.DoubleField

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.