org.stellarium.ui
Class STUI.VectorItem
java.lang.Object
java.awt.event.KeyAdapter
org.stellarium.ui.STUI.Component
org.stellarium.ui.STUI.CallbackComponent
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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
STUI.VectorItem
public STUI.VectorItem(java.lang.String _label,
javax.vecmath.Vector3d _init_vector)
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)
-