org.stellarium.ui
Class STUI.BooleanItem

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.Bistate
                  extended by org.stellarium.ui.STUI.BooleanItem
All Implemented Interfaces:
java.awt.event.KeyListener, java.util.EventListener
Enclosing class:
STUI

static class STUI.BooleanItem
extends STUI.Bistate


Field Summary
protected  java.lang.String label
           
 
Fields inherited from class org.stellarium.ui.STUI.Bistate
state, string_activated, string_disabled
 
Fields inherited from class org.stellarium.ui.STUI.CallbackComponent
onChangeCallback
 
Fields inherited from class org.stellarium.ui.STUI.Component
active
 
Constructor Summary
STUI.BooleanItem(boolean initState, java.lang.String _label, java.lang.String someStringActivated, java.lang.String someStringDisabled)
           
 
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.Bistate
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
 

Field Detail

label

protected java.lang.String label
Constructor Detail

STUI.BooleanItem

STUI.BooleanItem(boolean initState,
                 java.lang.String _label,
                 java.lang.String someStringActivated,
                 java.lang.String someStringDisabled)
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.Bistate

isEditable

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