org.stellarium.ui
Class STUI.MenuBranch

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

static class STUI.MenuBranch
extends STUI.Branch


Nested Class Summary
(package private)  class STUI.MenuBranch.LabelItem
          Passive widget which only display text
 
Field Summary
(package private)  boolean isEditing
           
(package private)  boolean isNavigating
           
protected  java.lang.String label
           
 
Fields inherited from class org.stellarium.ui.STUI.Branch
current
 
Fields inherited from class org.stellarium.ui.STUI.Container
childs
 
Fields inherited from class org.stellarium.ui.STUI.CallbackComponent
onChangeCallback
 
Fields inherited from class org.stellarium.ui.STUI.Component
active
 
Constructor Summary
STUI.MenuBranch(java.lang.String label)
           
 
Method Summary
(package private)  java.lang.String getLabel()
           
(package private)  boolean isEditable()
           
 void keyPressed(java.awt.event.KeyEvent e)
           
(package private)  java.lang.String MenugetString()
           
 
Methods inherited from class org.stellarium.ui.STUI.Branch
addComponent, getCurrent, getString, setValue, setValueSpecialSlash
 
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

isNavigating

boolean isNavigating

isEditing

boolean isEditing
Constructor Detail

STUI.MenuBranch

public STUI.MenuBranch(java.lang.String label)
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.Branch

MenugetString

java.lang.String MenugetString()

isEditable

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

getLabel

java.lang.String getLabel()