org.stellarium.ui.components
Class StdBtWin

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
All Implemented Interfaces:
java.awt.event.KeyListener, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener
Direct Known Subclasses:
StdTransBtWin

public class StdBtWin
extends StdWin


Nested Class Summary
 
Nested classes/interfaces inherited from class org.stellarium.ui.components.StellariumComponent
StellariumComponent.S_GUI_VALUE
 
Field Summary
protected  Button hideBt
           
protected  StelCallback 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
StdBtWin(java.lang.String someTitle)
           
StdBtWin(java.lang.String someTitle, STexture someHeaderTex, SFontIfc someWinFont, int headerSize)
           
 
Method Summary
 void draw()
           
(package private)  void onHideBt()
           
 void setOnHideBtCallback(StelCallback c)
           
 
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

hideBt

protected Button hideBt

onHideBtCallback

protected StelCallback onHideBtCallback
Constructor Detail

StdBtWin

StdBtWin(java.lang.String someTitle,
         STexture someHeaderTex,
         SFontIfc someWinFont,
         int headerSize)

StdBtWin

public StdBtWin(java.lang.String someTitle)
Method Detail

draw

public void draw()
Overrides:
draw in class StdWin

onHideBt

void onHideBt()

setOnHideBtCallback

public void setOnHideBtCallback(StelCallback c)