org.stellarium.ui
Class STUI.VectorItem

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.VectorItem
All Implemented Interfaces:
java.awt.event.KeyListener, java.util.EventListener
Enclosing class:
STUI

static class STUI.VectorItem
extends STUI.CallbackComponent


Field Summary
(package private)  STUI.DecimalItem a
           
(package private)  STUI.DecimalItem b
           
(package private)  STUI.DecimalItem c
           
protected  STUI.DecimalItem currentEdit
          0 to 2
(package private)  java.lang.String label
           
 
Fields inherited from class org.stellarium.ui.STUI.CallbackComponent
onChangeCallback
 
Fields inherited from class org.stellarium.ui.STUI.Component
active
 
Constructor Summary
STUI.VectorItem(java.lang.String _label, javax.vecmath.Vector3d _init_vector)
           
 
Method Summary
(package private)  SColor getColor()
           
 java.lang.String getString()
          white is hilight
(package private)  javax.vecmath.Vector3d getVector()
           
(package private)  boolean isEditable()
           
 void keyPressed(java.awt.event.KeyEvent e)
           
(package private)  void setLabel(java.lang.String _label)
           
(package private)  void setVector(javax.vecmath.Vector3d _vector)
           
 
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
 

Field Detail

currentEdit

protected STUI.DecimalItem currentEdit
0 to 2


label

java.lang.String label

a

STUI.DecimalItem a

b

STUI.DecimalItem b

c

STUI.DecimalItem c
Constructor Detail

STUI.VectorItem

public STUI.VectorItem(java.lang.String _label,
                       javax.vecmath.Vector3d _init_vector)
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.Component

isEditable

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

getVector

javax.vecmath.Vector3d getVector()

getColor

SColor getColor()

setVector

void setVector(javax.vecmath.Vector3d _vector)

setLabel

void setLabel(java.lang.String _label)