org.stellarium.ui.components
Class TabHeader

java.lang.Object
  extended by java.awt.event.KeyAdapter
      extended by org.stellarium.ui.components.StellariumComponent
          extended by org.stellarium.ui.components.CallbackComponent
              extended by org.stellarium.ui.components.Button
                  extended by org.stellarium.ui.components.LabeledButton
                      extended by org.stellarium.ui.components.TabHeader
All Implemented Interfaces:
java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener

public class TabHeader
extends LabeledButton

Everything to handle tabs


Nested Class Summary
 
Nested classes/interfaces inherited from class org.stellarium.ui.components.StellariumComponent
StellariumComponent.S_GUI_VALUE
 
Field Summary
protected  StellariumComponent assoc
           
 
Fields inherited from class org.stellarium.ui.components.LabeledButton
isBright, justification, label, LABEL_PAD
 
Fields inherited from class org.stellarium.ui.components.Button
BUTTON_HEIGHT, hideBorder, hideBorderMouseOver, hideTexture
 
Fields inherited from class org.stellarium.ui.components.CallbackComponent
isMouseOver, onMouseInOutCallback, onPressCallback
 
Fields inherited from class org.stellarium.ui.components.StellariumComponent
active, defaultPainter, desktop, focus, focusing, guiBaseColor, guiColorSchemeMember, guiTextColor, moveToFront, needNewTopEdit, painter, pos, scissor, size, type, visible
 
Constructor Summary
TabHeader(StellariumComponent c, java.lang.String _label)
           
 
Method Summary
 void draw()
           
(package private)  void setActive(boolean s)
           
 
Methods inherited from class org.stellarium.ui.components.LabeledButton
adjustSize, getLabel, justify, setBright, setColorScheme, setFont, setJustification, setLabel, setPainter, setTextColor
 
Methods inherited from class org.stellarium.ui.components.Button
mouseClicked, setHideBorder, setHideBorderMouseOver, setHideTexture
 
Methods inherited from class org.stellarium.ui.components.CallbackComponent
callbackOnClic, callbackOnMove, getActive, getFocus, getIsMouseOver, getPos, getPosx, getPosy, getSize, getSizeX, getSizeY, getVisible, mouseMoved, setFocus, setOnMouseInOutCallback, setOnPressCallback, setPos, setPos, setPosx, setPosy, setSize, setSize, setSizeX, setSizey, setTexture, setVisible
 
Methods inherited from class org.stellarium.ui.components.StellariumComponent
deleteScissor, disableScissor, enableScissor, getFont, getNeedNewEdit, getType, inFront, initScissor, isIn, keyPressed, mouseDragged, mouseEntered, mouseExited, mousePressed, mouseReleased, mouseWheelMoved, reshape, reshape, setBaseColor, setDefaultPainter, setGUIColorSchemeMember, setInFront, setNeedNewEdit, setOpaque
 
Methods inherited from class java.awt.event.KeyAdapter
keyReleased, keyTyped
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

assoc

protected StellariumComponent assoc
Constructor Detail

TabHeader

public TabHeader(StellariumComponent c,
                 java.lang.String _label)
Method Detail

draw

public void draw()
Overrides:
draw in class LabeledButton

setActive

void setActive(boolean s)
Overrides:
setActive in class LabeledButton