class Component : Object protected Graphics graphics public Component( ) public Graphics getGraphics( ) public bool getKeyState( uint key ) public void repaint( ) public void setGraphics( Graphics graphics ) public virtual void onClose( ) public virtual void onIdle( ) public virtual void onInit( ) public virtual void onKeyDown( uint key ) public virtual void onMouseButtonDown( int button ) public virtual void onMouseButtonUp( int button ) public virtual void onMouseMove( int posX, int posY ) public virtual void onPaint( ) public virtual void onSize( int sizeX, int sizeY ) public void setCloseCallback( void (static)( Component ) closeCallback ) public void setIdleCallback( void (static)( Component ) idleCallback ) public void setKeyDownCallback( void (static)( Component, uint ) keyDownCallback ) public void setMouseButtonDownCallback( void (static)( Component, uint ) mouseButtonDownCallback ) public void setMouseButtonUpCallback( void (static)( Component, uint ) mouseButtonUpCallback ) public void setMouseMoveCallback( void (static)( Component, int, int ) mouseMoveCallback ) public void setPaintCallback( void (static)( Component ) paintCallback ) public void setSizeCallback( void (static)( Component, int, int ) sizeCallback ) |