org.stellarium.ui
Class STUI.Bistate

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

static class STUI.Bistate
extends STUI.CallbackComponent

Component which manages 2 states


Field Summary
(package private)  boolean state
           
protected  java.lang.String string_activated
           
(package private)  java.lang.String 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.Bistate(boolean initState)
           
 
Method Summary
 java.lang.String getString()
          white is hilight
(package private)  boolean getValue()
           
(package private)  void setValue(boolean s)
           
 
Methods inherited from class org.stellarium.ui.STUI.CallbackComponent
keyReleased, keyTyped, setOnChangeCallback
 
Methods inherited from class org.stellarium.ui.STUI.Component
getActive, getCleanString, isEditable, keyPressed, setActive
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

string_activated

protected java.lang.String string_activated

string_disabled

java.lang.String string_disabled

state

boolean state
Constructor Detail

STUI.Bistate

public STUI.Bistate(boolean initState)
Method Detail

getString

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

Overrides:
getString in class STUI.Component

getValue

boolean getValue()

setValue

void setValue(boolean s)