org.stellarium.ui.components
Class TextLabel

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.StelContainer
                  extended by org.stellarium.ui.components.TextLabel
All Implemented Interfaces:
java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener

public class TextLabel
extends StelContainer

A text bloc


Nested Class Summary
 
Nested classes/interfaces inherited from class org.stellarium.ui.components.StellariumComponent
StellariumComponent.S_GUI_VALUE
 
Field Summary
protected  java.lang.String label
           
 
Fields inherited from class org.stellarium.ui.components.StelContainer
childs
 
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
TextLabel()
           
TextLabel(java.lang.String someLabel)
           
TextLabel(java.lang.String someLabel, SFontIfc someFont)
           
 
Method Summary
 void adjustSize()
           
 void setLabel(java.lang.String _label)
           
 void setTextColor(SColor c)
           
 
Methods inherited from class org.stellarium.ui.components.StelContainer
addComponent, draw, Filleddraw, keyPressed, mouseClicked, mouseMoved, removeAllComponents, removeComponent, setColorScheme, setFocus
 
Methods inherited from class org.stellarium.ui.components.CallbackComponent
callbackOnClic, callbackOnMove, getActive, getFocus, getIsMouseOver, getPos, getPosx, getPosy, getSize, getSizeX, getSizeY, getVisible, setActive, setFont, 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, mouseDragged, mouseEntered, mouseExited, mousePressed, mouseReleased, mouseWheelMoved, reshape, reshape, setBaseColor, setDefaultPainter, setGUIColorSchemeMember, setInFront, setNeedNewEdit, setOpaque, setPainter
 
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

label

protected java.lang.String label
Constructor Detail

TextLabel

public TextLabel(java.lang.String someLabel)

TextLabel

public TextLabel(java.lang.String someLabel,
                 SFontIfc someFont)

TextLabel

public TextLabel()
Method Detail

setLabel

public void setLabel(java.lang.String _label)

adjustSize

public void adjustSize()

setTextColor

public void setTextColor(SColor c)
Overrides:
setTextColor in class StellariumComponent