org.stellarium.ui
Class STUI.DecimalItem

java.lang.Object
  extended by java.awt.event.KeyAdapter
      extended by org.stellarium.ui.STUI.Component
          extended by org.stellarium.ui.STUI.CallbackComponent
              extended by org.stellarium.ui.STUI.Decimal
                  extended by org.stellarium.ui.STUI.DecimalItem
All Implemented Interfaces:
java.awt.event.KeyListener, java.util.EventListener
Enclosing class:
STUI

static class STUI.DecimalItem
extends STUI.Decimal
implements java.awt.event.KeyListener


Field Summary
(package private)  double delta
           
(package private)  java.lang.String label
           
(package private)  double mmax
           
(package private)  double mmin
           
protected  boolean numInput
           
(package private)  java.lang.String strInput
           
 
Fields inherited from class org.stellarium.ui.STUI.Decimal
value
 
Fields inherited from class org.stellarium.ui.STUI.CallbackComponent
onChangeCallback
 
Fields inherited from class org.stellarium.ui.STUI.Component
active
 
Constructor Summary
STUI.DecimalItem(double min, double max, double initValue, java.lang.String someLabel)
           
STUI.DecimalItem(double min, double max, double initValue, java.lang.String someLabel, double someDelta)
           
 
Method Summary
 java.lang.String getString()
          white is hilight
(package private)  boolean isEditable()
           
 void keyPressed(java.awt.event.KeyEvent e)
           
 
Methods inherited from class org.stellarium.ui.STUI.Decimal
getValue, setValue
 
Methods inherited from class org.stellarium.ui.STUI.CallbackComponent
keyReleased, keyTyped, setOnChangeCallback
 
Methods inherited from class org.stellarium.ui.STUI.Component
getActive, getCleanString, setActive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.awt.event.KeyListener
keyReleased, keyTyped
 

Field Detail

numInput

protected boolean numInput

strInput

java.lang.String strInput

mmin

double mmin

mmax

double mmax

label

java.lang.String label

delta

double delta
Constructor Detail

STUI.DecimalItem

public STUI.DecimalItem(double min,
                        double max,
                        double initValue,
                        java.lang.String someLabel,
                        double someDelta)

STUI.DecimalItem

public STUI.DecimalItem(double min,
                        double max,
                        double initValue,
                        java.lang.String someLabel)
Method Detail

keyPressed

public void keyPressed(java.awt.event.KeyEvent e)
Specified by:
keyPressed in interface java.awt.event.KeyListener
Overrides:
keyPressed in class STUI.Component

getString

public java.lang.String getString()
Description copied from class: STUI.Component
white is hilight

Overrides:
getString in class STUI.Decimal

isEditable

boolean isEditable()
Overrides:
isEditable in class STUI.Component