org.stellarium.ui.components
Class FramedContainer

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
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:
StdWin

 class FramedContainer
extends StelContainer

Container with a frame around it


Nested Class Summary
 
Nested classes/interfaces inherited from class org.stellarium.ui.components.StellariumComponent
StellariumComponent.S_GUI_VALUE
 
Field Summary
protected  Vector4i frameSize
           
protected  StelContainer 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
FramedContainer()
           
 
Method Summary
 void addComponent(StellariumComponent c)
           
 void draw()
           
 Vector2i getSize()
           
 int getSizeX()
           
 int getSizeY()
           
 void reshape(int x, int y, int w, int h)
           
 void reshape(Vector2i somePos, Vector2i someSize)
           
 void setFrameSize(int left, int right, int bottom, int top)
           
 void setSize(int w, int h)
           
 void setSize(Vector2i someSize)
           
 
Methods inherited from class org.stellarium.ui.components.StelContainer
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, 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, mouseReleased, 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

inside

protected StelContainer inside

frameSize

protected Vector4i frameSize
Constructor Detail

FramedContainer

public FramedContainer()
Method Detail

draw

public void draw()
Overrides:
draw in class StelContainer

reshape

public void reshape(Vector2i somePos,
                    Vector2i someSize)
Overrides:
reshape in class StellariumComponent

reshape

public void reshape(int x,
                    int y,
                    int w,
                    int h)
Overrides:
reshape in class StellariumComponent

setSize

public void setSize(Vector2i someSize)
Overrides:
setSize in class CallbackComponent

setSize

public void setSize(int w,
                    int h)
Overrides:
setSize in class CallbackComponent

setFrameSize

public void setFrameSize(int left,
                         int right,
                         int bottom,
                         int top)

addComponent

public void addComponent(StellariumComponent c)
Overrides:
addComponent in class StelContainer

getSizeX

public int getSizeX()
Overrides:
getSizeX in class CallbackComponent

getSizeY

public int getSizeY()
Overrides:
getSizeY in class CallbackComponent

getSize

public Vector2i getSize()
Overrides:
getSize in class CallbackComponent