org.stellarium.ui.components
Class StdTransBtWin

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

public class StdTransBtWin
extends StdBtWin

stdbtwin with transient (timeout) functionality


Nested Class Summary
 
Nested classes/interfaces inherited from class org.stellarium.ui.components.StellariumComponent
StellariumComponent.S_GUI_VALUE
 
Field Summary
protected  int timeLeft
           
protected  boolean timerOn
           
 
Fields inherited from class org.stellarium.ui.components.StdBtWin
hideBt, onHideBtCallback
 
Fields inherited from class org.stellarium.ui.components.StdWin
dragging, headerTex, oldpos, titleLabel
 
Fields inherited from class org.stellarium.ui.components.FramedContainer
frameSize, inside
 
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
StdTransBtWin(java.lang.String _title, int someTimeOut)
           
StdTransBtWin(java.lang.String _title, int someTimeOut, STexture _header_tex, SFontIfc _winfont, int headerSize)
           
 
Method Summary
 void setTimeout(int timeout)
           
 void update(int deltaTime)
           
 
Methods inherited from class org.stellarium.ui.components.StdBtWin
draw, onHideBt, setOnHideBtCallback
 
Methods inherited from class org.stellarium.ui.components.StdWin
getTitle, mouseClicked, mouseMoved, mouseReleased, setTitle
 
Methods inherited from class org.stellarium.ui.components.FramedContainer
addComponent, getSize, getSizeX, getSizeY, reshape, reshape, setFrameSize, setSize, setSize
 
Methods inherited from class org.stellarium.ui.components.StelContainer
Filleddraw, keyPressed, removeAllComponents, removeComponent, setColorScheme, setFocus
 
Methods inherited from class org.stellarium.ui.components.CallbackComponent
callbackOnClic, callbackOnMove, getActive, getFocus, getIsMouseOver, getPos, getPosx, getPosy, getVisible, setActive, setFont, setOnMouseInOutCallback, setOnPressCallback, setPos, setPos, setPosx, setPosy, 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, mouseWheelMoved, setBaseColor, setDefaultPainter, setGUIColorSchemeMember, setInFront, setNeedNewEdit, setOpaque, setPainter, setTextColor
 
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

timeLeft

protected int timeLeft

timerOn

protected boolean timerOn
Constructor Detail

StdTransBtWin

public StdTransBtWin(java.lang.String _title,
                     int someTimeOut,
                     STexture _header_tex,
                     SFontIfc _winfont,
                     int headerSize)

StdTransBtWin

public StdTransBtWin(java.lang.String _title,
                     int someTimeOut)
Method Detail

update

public void update(int deltaTime)

setTimeout

public void setTimeout(int timeout)